SA-MP Forums Archive
Little Help - 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: Little Help (/showthread.php?tid=388505)



Little Help - Laure - 29.10.2012

Hello all i am trying to make an admintag that works on /tog admtag but whenever i do that it sends the client message that i have the tag on and below that You entered a wrong command and it dont send the client message that i have turned it off but says again i toggled it on.And the Admin Tag text comes far above the head i want it just Above the head where it shows players hp armor and name hiding them just showing the Tag.


Re: Little Help - Laure - 29.10.2012

Help Meh!?


Re: Little Help - SwisherSweet - 29.10.2012

deleted.


Re: Little Help - Laure - 29.10.2012

By the way you copied from a shit tutorial and it gives bunch of error so before too i didnt use it and tried to create upon myself anyway thank you for trying


Re: Little Help - Gaurav_Rawat - 29.10.2012

Just do this.
You must got a label already eh ?
Just change its coordinate
or let me do it

Код:
new Text3D:label[MAX_PLAYERS];
^on top
Now cmd
Код:
CMD:aduty(playerid,params[])
{
new Text3D:label = Create3DTextLabel("Admin ONDUTY!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
for(new i = 0; i < MAX_PLAYERS; i++) 
ShowPlayerNameTagForPlayer(playerid, i, false);
return 1;

}
Don't use the aduty i used..
Just the code in it ok !
Rep if i helped.!