16.11.2013, 20:01
In this way you should create a variable to save team.
I'd recommend also to define the teams.
pawn Код:
gTeam[MAX_PLAYERS];
pawn Код:
#define TEAM_HITMAN 1
#define TEAM_ROBBER 2
#define TEAM_ADMIN 3
pawn Код:
gTeam[playerid] = TEAM_ROBBER;
pawn Код:
if(gTeam[playerid] == TEAM_ROBBER)
{
SetPlayerColor(...);
}