SA-MP Forums Archive
Gametext for player - Own 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gametext for player - Own colors (/showthread.php?tid=230396)



Gametext for player - Own colors - aqu - 23.02.2011

Hello,I want to make that when some one connects to my server,when he choosing skin by team,down there where shows team name.That team name text will be by team color.

As here is russian mafia:
Код:
GameTextForPlayer(playerid,"~n~~n~~n~~n~~n~~n~~n~~n~~n~Russian Mafia", 3000, 3);
I need to make that this text color will be this: 0x8B000080
I found on viki that here is ~g~ or ~y~,but I didn't find my color.I need that it will be like 0x8B000080 .

Any help ?


Re: Gametext for player - Own colors - BlackWolf120 - 23.02.2011

i dont think its possible to use custom colours yet beside the colours shown on wiki combined with GameText...
But i dont know for sure, ive just never seen this on a server or never heard about such a function before.


Re: Gametext for player - Own colors - MadeMan - 23.02.2011

Yes, you have to use ~g~ and ~y~ type of colors, but you can make colors lighter with ~h~


Re: Gametext for player - Own colors - LZLo - 23.02.2011

for more stuffs see wiki at: https://sampwiki.blast.hk/wiki/Colors_List