10.07.2016, 11:52
good work but why you included foreach i dont see the usage of foreach in that script i can see a for loop
i think you forgot to change them to foreach loop
PHP Code:
for(new i = 0; i < MAX_PLAYERS; i++ )
{
if( IsPlayerConnected(i) && gTeam[playerid] == gTeam[i] )
SendClientMessage( i, -1 , string );
}