SA-MP Forums Archive
Hide Colors - 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: Hide Colors (/showthread.php?tid=322866)



Hide Colors - Ilya0101 - 03.03.2012

Is there a function that makes all colors single color like white?
Edit:WHen i started the script everyone who logs in has a random color,how do i disable that?


Re: Hide Colors - Chris' - 03.03.2012

Use SetPlayerColor on OnPlayerConnect or any other public function you like


Re: Hide Colors - SnG.Scot_MisCuDI - 03.03.2012

Under
pawn Код:
public OnPlayerConnect(playerid)
or/and

pawn Код:
public OnPlayerSpawn
Add
pawn Код:
SetPlayerColor(playerid, 0xFFFFFFFF);



Re: Hide Colors - Ilya0101 - 04.03.2012

Thanks