SA-MP Forums Archive
SetTimerEX Do not triger - 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: SetTimerEX Do not triger (/showthread.php?tid=407173)



SetTimerEX Do not triger - Azazelo - 12.01.2013

I have strange act with this line of code:

pawn Код:
//print("code is called");
SetTimerEx("SetVehicleToRespawn", 10000, false, "i", vehicleid);
//print("code is called");
But SetVehicleToRespawn(vehicleid) is never called ??


Re: SetTimerEX Do not triger - nmader - 12.01.2013

Have you forwarded SetVehicleToRespawn and then made a callback for it?


Re: SetTimerEX Do not triger - Azazelo - 12.01.2013

symbol already defined: "SetVehicleToRespawn"
When i try to forward?


Re: SetTimerEX Do not triger - nmader - 12.01.2013

Quote:
Originally Posted by Azazelo
Посмотреть сообщение
symbol already defined: "SetVehicleToRespawn"
When i try to forward?
Ah yes, that is because SetVehicleToRespawn is already a function, thus name it to something like VehicleRespawn and then under that public you do as you please.


Re: SetTimerEX Do not triger - Azazelo - 12.01.2013

Thank you i figure out just a sec after my post , but i will not got this without you help.
[SOLVED]


Re: SetTimerEX Do not triger - nmader - 12.01.2013

I'm glad you have figured your situation out. Best of luck with your current scripting project!