25.07.2009, 22:33
You can get the player's color by using GetPlayerColor. Add this under your includes/defines:
Then add this on OnPlayerSpawn:
Now you've got a backup of the old color. Then you can use something like SetPlayerColor(playerid, playercolor); in some command to get the old color back.
pawn Код:
new playercolor;
Then add this on OnPlayerSpawn:
pawn Код:
playercolor = GetPlayerColor(playerid);
Now you've got a backup of the old color. Then you can use something like SetPlayerColor(playerid, playercolor); in some command to get the old color back.

