failed creating a auto color saver/loader - 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: failed creating a auto color saver/loader (
/showthread.php?tid=577090)
failed creating a auto color saver/loader -
suni - 08.06.2015
i cant get it done. it return black.
can someone show me a example?
when i change my name to red, i disconnect then i rejoin with the color black
Re: failed creating a auto color saver/loader -
Konstantinos - 08.06.2015
If you use GetPlayerColor without setting the color before, it will return 0 (black). There's a fix in "Important Note" box:
https://sampwiki.blast.hk/wiki/GetPlayerColor
If that is not the issue, post the saving/loading part.
Re: failed creating a auto color saver/loader -
suni - 08.06.2015
sorry but i removed them all
Re: failed creating a auto color saver/loader -
suni - 08.06.2015
where to put GetPlayerColor(playerid)