Same Team, Same Color?
#1

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.
Reply
#2

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;
}
Reply
#3

Quote:
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;
}
Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)