SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 10/02/2011, 06:41 PM   #1
davelord
Huge Clucker
 
Join Date: Aug 2010
Posts: 350
Reputation: 7
Default White nametag

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
davelord is offline  
Old 10/02/2011, 07:09 PM   #2
Mean
High-roller
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,726
Reputation: 229
Default Re: White nametag

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.
__________________
I'm pretty much the creator of the PUB: macro used in many scripts today, therefore I'm a legitimate genius.

Ground breaking stuff
Quote:
Originally Posted by ******
I've met Mean on a few occasions in real life, a true genius and a 400 pound all-muscle gorilla alpha male. He has had a great influence on my life.
Quote:
Originally Posted by Kalcor
I don't know where I'd be today without Mean. He has helped me through some tough times in my life. He always brings a smile to my face. Such a positive lad!
Mean is offline  
Old 10/02/2011, 07:59 PM   #3
Max_Coldheart
Guest
 
Posts: n/a
Default Re: White nametag

HEX code is 0xFFFFFFAA i think
 
Old 11/02/2011, 09:24 PM   #4
Mean
High-roller
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,726
Reputation: 229
Default Re: White nametag

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.
Mean is offline  
Old 11/02/2011, 09:48 PM   #5
SWEMike
Big Clucker
 
SWEMike's Avatar
 
Join Date: Mar 2010
Location: Sweden
Posts: 144
Reputation: 29
Default Re: White nametag

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

To get full white, write this
pawn Code:
0xFFFFFFFF
__________________
SWEMike is offline  
Old 11/02/2011, 09:55 PM   #6
Mean
High-roller
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,726
Reputation: 229
Default Re: White nametag

Well, I was not sure lol, thanks for the tip
__________________
I'm pretty much the creator of the PUB: macro used in many scripts today, therefore I'm a legitimate genius.

Ground breaking stuff
Quote:
Originally Posted by ******
I've met Mean on a few occasions in real life, a true genius and a 400 pound all-muscle gorilla alpha male. He has had a great influence on my life.
Quote:
Originally Posted by Kalcor
I don't know where I'd be today without Mean. He has helped me through some tough times in my life. He always brings a smile to my face. Such a positive lad!
Mean is offline  
Old 11/02/2011, 11:17 PM   #7
Zack9764
Huge Clucker
 
Zack9764's Avatar
 
Join Date: Jun 2008
Posts: 279
Reputation: 1
Default Re: White nametag

White is 0xFFFFFFAA
__________________
Zack9764 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nametag Font Olebetti General 1 14/11/2010 12:13 AM
[Include] [INC] NameTag Fro1sha Релизы/Releases 2 06/05/2010 06:51 AM
NameTag FreeSoul Help Archive 1 28/05/2009 06:42 AM


All times are GMT. The time now is 10:38 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.