SetPlayerColor Query
#3

It's simple, while selection of the class/team, put a value for the player for example:
Код:
new playerteam[MAX_PLAYERS];

//While selecting the team
playerteam[playerid] = 1; //for yellow
playerteam[playerid] = 2; // for blue 

/* Select any color you wish to and set their value.*/

//OnPlayerSpawn
if(playerteam[playerid] == 1)
{
       SetPlayerColor(playerid,x); // X = the color code of yellow
}
else if(playerteam[playerid] == 2)
{
       SetPlayerColor(playerid,x); // X = color code of blue
}
For any other queries or issues, PM me. I can script the whole feature at a paid service. Thank you.
Reply


Messages In This Thread
SetPlayerColor Query - by Prokill911 - 14.10.2017, 22:34
Re: SetPlayerColor Query - by Kraeror - 15.10.2017, 06:48
Re: SetPlayerColor Query - by fuckingcruse - 15.10.2017, 06:54

Forum Jump:


Users browsing this thread: 1 Guest(s)