SetTimerEX Do not triger
#1

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

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

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

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.
Reply
#5

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)