SA-MP Forums Archive
change player color - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: change player color (/showthread.php?tid=161359)



change player color - ted80 - 19.07.2010

does anybody know , how to change an other player his color whit a command?


Re: change player color - Jay. - 19.07.2010

Quote:
Originally Posted by ted80
Посмотреть сообщение
does anybody know , how to change an other player his color whit a command?

pawn Код:
SetPlayerColor(playerid,color);
?


Re: change player color - ScottCFR - 19.07.2010

pawn Код:
SetPlayerColor(playerid, COLOR_HERE);
All you gotta do is put that under a command.


Re: change player color - Scenario - 19.07.2010

Well, you could use variables. For example, if you wanted to have the option to change it to more than one color, you could create either more than one command, or you could use sscanf to add some variables.


Re: change player color - ted80 - 20.07.2010

not my color an other player his color with a command like: /changecolor [playerid]


Re: change player color - ted80 - 20.07.2010

does anyone no how to do that??


Re: change player color - Sir_bomber - 20.07.2010

Idk... eh... use https://sampwiki.blast.hk/wiki/SetPlayerColor ??