SA-MP Forums Archive
Warning 213: 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Warning 213: tag mismatch (/showthread.php?tid=185021)



Warning 213: tag mismatch - Memoryz - 22.10.2010

pawn Код:
new Text3D:clabel = Create3DTextLabel("[BEEP][BEEP][BEEP][BEEP]", COLOR_LIGHTRED, 0,0,0, 50.0, 0, 0);
Attach3DTextLabelToVehicle(clabel, vehicleid, 0.0, 0.0, 2.0);
SetTimerEx("DeleteLabel", 45000, false, "d",clabel);
Why do I get "warning 213: tag mismatch" on the SetTimerEx line and how can I fix it?


Re: Warning 213: tag mismatch - Calgon - 22.10.2010

Text3D is not an integer, use of 'd' suggests that you're parsing an integer (which you're not, Text3D is not an integer).


Re: Warning 213: tag mismatch - Jefff - 22.10.2010

pawn Код:
SetTimerEx("DeleteLabel", 45000, false, "d",_:clabel);



Re: Warning 213: tag mismatch - Memoryz - 22.10.2010

Than how may I run this code?

All I need is the ID of the textlabel to use it for the timer.


EDIT: Thanks Jeff, that worked