SA-MP Forums Archive
0.3 slight problem.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 0.3 slight problem.. (/showthread.php?tid=98400)



0.3 slight problem.. - _Vortex - 20.09.2009

I know this isnt a problem with 0.3, its a problem with my script.

I want "ADMIN" To show under a persons name, but only for level 1 and up. And its attatching to everyone..

http://pastebin.com/m15a0fbdf


Re: 0.3 slight problem.. - Zeex - 20.09.2009

I'm not sure, but I think you should use CreatePlayer3DTextLabel


Re: 0.3 slight problem.. - _Vortex - 20.09.2009

Oh yeah, I meant to use "CreatePlayer3DLable" but now I'm getting "tag mismatch" on this line:

Admin = CreatePlayer3DTextLabel(playerid,"ADMIN",COLOR_RED , X, Y, Z, 40.0);


Re: 0.3 slight problem.. - ilikepie2221 - 20.09.2009

Make sure you're using Float:'s in the right place.


Re: 0.3 slight problem.. - [NYRP]Mike. - 20.09.2009

pawn Код:
Admin = CreatePlayer3DTextLabel(playerid,"ADMIN",COLOR_RED,X,Y,Z,40.0);
You had spaces between X,Y,Z and no other place.

-Mike.


Re: 0.3 slight problem.. - _Vortex - 20.09.2009

Quote:
Originally Posted by [NYRP
Mike. ]
pawn Код:
Admin = CreatePlayer3DTextLabel(playerid,"ADMIN",COLOR_RED,X,Y,Z,40.0);
You had spaces between X,Y,Z and no other place.

-Mike.
Doesn't matter if you have spaces.

I've got it to compile, but its not showing under their name now, but if i kill myself, and go back to where i died, I see the lable.

http://pastebin.com/m50aa94b8