SA-MP Forums Archive
White nametag - 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: White nametag (/showthread.php?tid=223933)



White nametag - davelord - 10.02.2011

hey, i want to create when you join my server, you automaticly get a white coloured nametag, and can be only changed with a command


Re: White nametag - Mean - 10.02.2011

pawn Code:
public OnPlayerConnect( playerid )
{
    SetPlayerColor( playerid, YOUR_COLOR_WHITE_DEFINE );
    return 1;
}
I don't know the HEX code, but I bet you have it.


Re: White nametag - Max_Coldheart - 10.02.2011

HEX code is 0xFFFFFFAA i think


Re: White nametag - Mean - 11.02.2011

Quote:
Originally Posted by Max_Coldheart
View Post
HEX code is 0xFFFFFFAA i think
No, it can only have 6 letters after the 0x
So, 0xFFFFAA could be white.


Re: White nametag - SWEMike - 11.02.2011

Mean, SA-MP needs the alpha value (transparancy) so there are 8 numbers after 0x.

To get full white, write this
pawn Code:
0xFFFFFFFF



Re: White nametag - Mean - 11.02.2011

Well, I was not sure lol, thanks for the tip


Re: White nametag - Zack9764 - 11.02.2011

White is 0xFFFFFFAA