Warning 213: tag mismatch
#1

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?
Reply
#2

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)