26.02.2018, 04:25
Holy shit. Why in gods name are you redefining SendClientMessage(); as SCM?
Your gTeam needs to be global since it looks like you're using it as an indication of the players team (i feel you've copied and pasted this from somewhere. You've used hungarian notation yet, you're not using it globally).
Under where you're setting the team:
Team checking:
Your gTeam needs to be global since it looks like you're using it as an indication of the players team (i feel you've copied and pasted this from somewhere. You've used hungarian notation yet, you're not using it globally).
pawn Код:
new gTeam[MAX_PLAYERS];
pawn Код:
gTeam[playerid] = some_team_id;
pawn Код:
if(gTeam[playerid] == someval)