05.10.2013, 18:59
continue; skips it and it goes to the next i. If the player is not (!) connected OR the player is not (!) cop, then skip it.
Else.. do your code - send the message.
NOTE: You may use something like gTeam[playerid] for cops, it depends on your script. Let's say, it's that case and the team is 2 for cops. It'd be: if( !IsPlayerConnected( i ) || gTeam[ i ] != 2 ) continue;
Else.. do your code - send the message.
NOTE: You may use something like gTeam[playerid] for cops, it depends on your script. Let's say, it's that case and the team is 2 for cops. It'd be: if( !IsPlayerConnected( i ) || gTeam[ i ] != 2 ) continue;