White nametag
#1

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
Reply
#2

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.
Reply
#3

HEX code is 0xFFFFFFAA i think
Reply
#4

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.
Reply
#5

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

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

Well, I was not sure lol, thanks for the tip
Reply
#7

White is 0xFFFFFFAA
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)