01.10.2009, 17:13
Ok, I have a ww3 game mode Im making and how do I make it so that
all the same players on same team are the same color? Thanks.
all the same players on same team are the same color? Thanks.
![Wink](images/smilies/wink.png)
if(GetPlayerTeam(playerid) == 1) { SetPlayerColor(playerid,COLOUR_BLUE); return 1; } else if(GetPlayerTeam(playerid) == 2) { SetPlayerColor(playerid,COLOUR_RED); return 1; }
Originally Posted by Desert
Heres an example
Under OnPlayerSpawn Код:
if(GetPlayerTeam(playerid) == 1) { SetPlayerColor(playerid,COLOUR_BLUE); return 1; } else if(GetPlayerTeam(playerid) == 2) { SetPlayerColor(playerid,COLOUR_RED); return 1; } |