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



Colors Helping - dimitri8 - 29.06.2015

hey, I would like to set on the command /o to announcem on ooc chat the administrator's level and his name, how can I set color only on the administrator's level?

Код:
format(string, sizeof(string), "(( Executive Administrator %s: %s ))", GetPlayerNameEx(playerid), params);
Thanks !


Re: Colors Helping - Darkwood17 - 29.06.2015

Use {RRGGBB} ?


Re: Colors Helping - dimitri8 - 29.06.2015

Quote:
Originally Posted by Darkwood17
Посмотреть сообщение
Use {RRGGBB} ?
But, can you give me an example how do I use this color on the line I showed?
[4574F5]


Re : Colors Helping - Terrorizt - 29.06.2015

This code:
Код:
format(string, sizeof(string), "(( {FF0000}Executive Administrator %s:{FFFFFF} %s ))", GetPlayerNameEx(playerid), params);
will out put: (( Executive Administrator PlayerName: message... ))
the black will be white IG.
Download SA-MP color picker from: https://colorpickersamp.codeplex.com/