Help plx - 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: Help plx (
/showthread.php?tid=619576)
Help plx -
Shaheen - 19.10.2016
hi all,
I have going throught codes and now working to make a rank system for server.
so I got a problem now with 3dtextlabel..
PHP код:
if(GetPlayerScore(playerid) > 0 && GetPlayerScore(playerid) < 10)
{
new Text3D:label = Create3DTextLabel("Trainee Pilot",WHITE, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.4);
}
the problem is I cant see any 3d label on players head

with these score
hope will get replay soon,..
Re: Help plx -
Staden - 19.10.2016
well, I'm not a scripting professional or something but here it is:
Код:
if(GetPlayerScore(playerid) <= 10)
{
new Text3D:label = Create3DTextLabel("Trainee Pilot",WHITE, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.4);
}
Pretty much the same thing.. but ugh
also.. If I'm not wrong, you can't see your own label (Just saying incase you're testing it alone or something xD)
Re: Help plx -
nemanjasepa - 19.10.2016
You can't see label attached to you, but someone else can, don't worry about that