Deleting 3dtextlabels - 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: Deleting 3dtextlabels (
/showthread.php?tid=378852)
Deleting 3dtextlabels -
jop9888 - 19.09.2012
Hee all,
Today i was trying to delete some 3dtextlabels which worked out fine, but somehow pawno doesn't allow me te redefine the varabiable back to 0
i tried:
Delete3DTextLabel(AFK[playerid]);
AFK[playerid] = 0;
it says Tag Mismatch on the redefenition, when i dont redefine it everything works out fine, but the 3DTexts get mixed up really bad because i can't redefine them..
anyone knows how to properly redefine these 3DTextLabels??
Thanks in advance,
Jop9888
Re: Deleting 3dtextlabels - HuSs3n - 19.09.2012
you can try this
pawn Код:
Delete3DTextLabel(AFK[playerid]);
AFK[playerid]=Text3D:INVALID_3DTEXT_ID;
Re: Deleting 3dtextlabels -
jop9888 - 19.09.2012
This doesn't give me any errors, but are you sure this works properly??