mercredi 2 avril 2014

Timer and endless loop

Hey guys! I'm using a timer

Code:



SetTimerEx("KillingDisabled",false, 100000, "d", playerid);


on onplayerentercheckpoint, and what it does is ignoring the timer of 100 seconds and going instantly to the public KillingDisabled(playerid).



Within KillingDisabled I'm calling an other timer which is 4 seconds, configured exactly the same as above, but that 1 also bugs(called directly and endlessly). I got no idea why it actually repeats itself and ignores the time set, I've never experienced something like this, it basically bugs like a repeating loop, yet there is no loop..




Aucun commentaire:

Enregistrer un commentaire