Text3D Variable resetting - 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: Text3D Variable resetting (
/showthread.php?tid=365062)
Text3D Variable resetting -
IstuntmanI - 01.08.2012
How I can reset a variable which have "Text3D:" in front of it ? With "INVALID_3DTEXT_ID", "-1", 0, it gives "tag mismatch" error.
When I create it:
Код:
new Text3D:Variable;
it's value is 0, but when I try to reset it:
the compiler give an error: "tag mismatch".
Re: Text3D Variable resetting -
AndreT - 01.08.2012
You would need to use
Variable = Text3D:0;
in such case
Re: Text3D Variable resetting -
Misiur - 01.08.2012
Variable = Text3D:INVALID_3DTEXT_ID;
Re: Text3D Variable resetting -
IstuntmanI - 01.08.2012
Quote:
Originally Posted by AndreT
You would need to use
Variable = Text3D:0;
in such case 
|
I should've thought about that.
I tried with _: before Variable, and with Text: (yes, lol, my wrong xD) at 0.
Thanks.
* Still have to spread some rep. xD