cOLOURS - 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: cOLOURS (
/showthread.php?tid=210590)
cOLOURS -
NuggaN_ - 13.01.2011
Well, if my friends connect to my localhost server, and when they write in the chat, their nickname is in colour. So, every players gets a random colour and his nickname is colorized. How do I turn this off, also by the tablist? I want give for special groups colours, rest has to be white. For example cops get blue colorized names. And Civilans, gangs etc. white.
Please tell me,
GreetZ
Re: cOLOURS -
Toreno - 13.01.2011
under OnPlayerSpawn
pawn Код:
SetPlayerColor(playerid, COLOR..);
Re: cOLOURS -
AzTeCaS - 13.01.2011
pawn Код:
SetPlayerColour(playerid,COLOR_What Color u want);
Re: cOLOURS -
Toreno - 13.01.2011
Quote:
Originally Posted by AzTeCaS
pawn Код:
SetPlayerColour(playerid,COLOR_What Color u want);
|
Not exaclty, to do that... he needs to modify a #define.
for EXAMPLE:
pawn Код:
#define COLOR_LIGHTRED 0xFF6347AA