Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

A little help :)

$
0
0
Hello guys, I made territory attack command and i need to check if defender team have enough members (4)!

Here is the simple code:
Quote:

if(strcmp(cmd, "/GangWar", true) == 0)
{
for (new i = 0; i < MAX_TERRITORIES; i++)
{
if(TerritoryInfo[i][TerritoryOwner] != TEAM_CIVIL) TerritoryDefender = TerritoryInfo[i][TerritoryOwner];
}
//>>>>>>>>>>>>>>>>>Here i want to check if there is 6 members from TerritoryDefender<<<<<<<<<<<<<<<<<<<<<<<<
for (new i = 0; i < MAX_TERRITORIES; i++)
{
//ect.
}
}
Can you help me please. I will REP+ you!

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>