3d Text Label
#1

How to make label with there TEam Color

PHP код:
NameTag[playerid] = Create3DTextLabelplayerNameGetPlayerColor(playerid), 000NAME_DRAWDISTANCE0); 
like that ? but not working
Reply
#2

Still not working

new gColor = GetPlayerColor(playerid);
NameTag[playerid] = Create3DTextLabel( playerName, gColor , 0, 0, 0, NAME_DRAWDISTANCE, 0, 1 );
Reply
#3

https://sampwiki.blast.hk/wiki/Create3DTextLabel
M8
Reply
#4

Quote:

Create3DTextLabel("I'm at the coordinates:\n30.0, 40.0, 50.0", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);

I dont want One Color only
Reply
#5

PHP код:
SetPlayerColor(playerid,0xF50000FF);
NameTag[playerid] = Create3DTextLabelplayerNameGetPlayerColor(playerid), 000NAME_DRAWDISTANCE0); 
If you do it like this it will show red, won't it?
If so, you have to use SetPlayerColor before you use GetPlayerColor.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)