17.10.2011, 22:13
use this function,
pawn Код:
//top:
new zTeam[MAX_PLAYERS];//Or use your variable...
if(zTeam[playerid] == YOUR_TEAM)
{
//Your code here
}
else if(zTeam][playerid] == YOUR_TEAM)
{
//Another Team
}