3d Text Label - 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)
+--- Thread: 3d Text Label (
/showthread.php?tid=584197)
How to make the label with there TEam Color??? -
Hemeei - 03.08.2015
How to make label with there TEam Color
PHP код:
NameTag[playerid] = Create3DTextLabel( playerName, GetPlayerColor(playerid), 0, 0, 0, NAME_DRAWDISTANCE, 0, 1 );
like that ? but not working
Re: 3d Text Label -
Hemeei - 03.08.2015
Still not working
new gColor = GetPlayerColor(playerid);
NameTag[playerid] = Create3DTextLabel( playerName, gColor , 0, 0, 0, NAME_DRAWDISTANCE, 0, 1 );
Re : 3d Text Label -
IntelexGamer - 03.08.2015
https://sampwiki.blast.hk/wiki/Create3DTextLabel
M8
Re: 3d Text Label -
Hemeei - 03.08.2015
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
Re: 3d Text Label -
MarvinPWN - 03.08.2015
PHP код:
SetPlayerColor(playerid,0xF50000FF);
NameTag[playerid] = Create3DTextLabel( playerName, GetPlayerColor(playerid), 0, 0, 0, NAME_DRAWDISTANCE, 0, 1 );
If you do it like this it will show red, won't it?
If so, you have to use SetPlayerColor before you use GetPlayerColor.