Label above an admins head - 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: Label above an admins head (
/showthread.php?tid=383369)
Label above an admins head -
Josh_Main - 07.10.2012
Hello. Ive been trying to script this all night but I keep having stupid problems. I wanna make a filterscript so when I type /ownertag21 a tag appears above my players head saying "International Gaming Roleplay Owner" in orange, and when I type /tagoff, the tag dissappears. If one of you could make me a small script for it, I'd appreciate it SO much
Thanks in advanced <3
Re: Label above an admins head -
Smally - 07.10.2012
Can you give us some variables of which your script uses - such as your admin variable?
Re: Label above an admins head -
JaKe Elite - 07.10.2012
Admin Variable?
AW: Label above an admins head -
Mellnik - 07.10.2012
This is easy:
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
https://sampwiki.blast.hk/wiki/DeletePlayer3DTextLabel
Try it
Re: Label above an admins head -
Josh_Main - 07.10.2012
Strcmp it is. It would probably better if I added in
Код HTML:
if(PlayerInfo[playerid][pAdmin] >= 999999)
That way other players can't use it.
Or would there a possible way to do
Код HTML:
/tag [your tag text here]
@Mellnik - I tried all that, It wasn't working for me
Re: Label above an admins head -
JaKe Elite - 07.10.2012
Josh, When 3D Text Label is attach to you.
You can't see it, only other players can.
Re: Label above an admins head -
Josh_Main - 07.10.2012
I know. I got another player to tell me what it said. It said something about a fucking car wash for 5$ lol