Resert 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)
+--- Thread: Resert Player Color (
/showthread.php?tid=305651)
Resert Player Color -
lamarr007 - 23.12.2011
Hi, iґm work on my gangwar mod in my server.
I have this in gangwar connect :
Код:
SetPlayerColor(playerid,0x33AA33AA);
Itґs green color for Grove.
But, if i type /exit, i want to the color of player was back (randomed color if you connect to server).
How can I do it ?
Re: Resert Player Color -
Mrki_Drakula - 23.12.2011
I don't get it, what do you want?
You're giving them green color for grove gang when they connect, right?
But, when they type /exit, and when they reconnect again, you want to load that color again, or to give the random another color?
Re: Resert Player Color -
lamarr007 - 23.12.2011
No, if player connect to server, he doesnґt in gangwar. If he type /gangwar and select gang, her color changed to gang color. I want, if player type /exit, her color will back as he connect.
Re: Resert Player Color -
Calgon - 23.12.2011
https://sampwiki.blast.hk/wiki/ColorFix
When they type "/exit", set their colour using the code on that page.