enum loop, tag mismatch - 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: enum loop, tag mismatch (
/showthread.php?tid=577817)
enum loop, tag mismatch -
PizzaPuntjes - 14.06.2015
I am trying to destroy all TextDraws using a loop.
Код:
for(new i = 0; g_tds:i < g_tds; i ++)
TextDrawDestroy(Global_TD[g_tds:i]);
TextDrawDestroy gives me tag mismatch code, any solution on this?
Re: enum loop, tag mismatch -
GunZ75 - 14.06.2015
Just do TextDrawDestroy for each textdraw it takes more time but solves ur problem
Re: enum loop, tag mismatch -
PizzaPuntjes - 14.06.2015
#edit: fixed.