11.10.2013, 19:58
Under includes:
I'm not sure if you've already the teams etc. But you define the number like:
pawn Код:
#define TEAM_police value_here // CHANGEME!
pawn Код:
#define TEAM_A 0
#define TEAM_B 1
new
gTeam[ MAX_PLAYERS ]
;
// somewhere:
if( gTeam[ playerid ] == TEAM_A ) // if gTeam[ playerid ] is 1, then..