15.10.2017, 06:54
It's simple, while selection of the class/team, put a value for the player for example:
For any other queries or issues, PM me. I can script the whole feature at a paid service. Thank you.
Код:
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 }