gang colors
#4

In this way you should create a variable to save team.

pawn Код:
gTeam[MAX_PLAYERS];
I'd recommend also to define the teams.

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(...);
}
Reply


Messages In This Thread
gang colors - by iBots - 14.11.2013, 11:29
Re: gang colors - by Elie1996 - 14.11.2013, 14:59
Re: gang colors - by iBots - 16.11.2013, 19:56
AW: gang colors - by Skimmer - 16.11.2013, 20:01
Re: gang colors - by iBots - 16.11.2013, 20:06
AW: gang colors - by Skimmer - 16.11.2013, 20:11
Re: gang colors - by iBots - 17.11.2013, 11:16
Re: gang colors - by iBots - 17.11.2013, 13:18

Forum Jump:


Users browsing this thread: 1 Guest(s)