[HELP]Need 3people to gangattack.
#2

Now GetPlayerZone isn't a native function, I don't know what you're using to check the gang zones.

pawn Код:
new count = 0;
for(new i; i < MAX_PLAYERS; i++)
{
if(GetPlayerTeam(playerid) == GetPlayerTeam(i) && GetPlayerZone(playerid) == GetPlayerZone(i))
{
count++;
}
}
if(count < 3) return SendClientMessage(playerid,COLOR_RED,"There aren't 3 homies in yo' turf fool!");
//Continue
Reply


Messages In This Thread
[HELP]Need 3people to gangattack. - by Lutsen - 20.06.2010, 11:53
Re: [HELP]Need 3people to gangattack. - by Hiddos - 20.06.2010, 12:02
Re: [HELP]Need 3people to gangattack. - by Joe_ - 20.06.2010, 12:04

Forum Jump:


Users browsing this thread: 1 Guest(s)