[HELP]Need help in KillTimer
#6

No problem reason was it was set to

pawn Код:
SetTimerEx("endspawnkillprotect", 5000, true, "i", playerid);
i changed it to

pawn Код:
SetTimerEx("endspawnkillprotect", 5000, false, "i", playerid);
if you set repeating to true means that it will be called repeatedly (only be stopped with KillTimer)
we set it to false so its only called the once (when its needed)

details here for future reference:

https://sampwiki.blast.hk/wiki/SetTimerEx
Reply


Messages In This Thread
[HELP]Need help in KillTimer - by qazwsx - 27.07.2013, 13:59
Re: [HELP]Need help in KillTimer - by Donvalley - 27.07.2013, 14:04
Re: [HELP]Need help in KillTimer - by ScRipTeRi - 27.07.2013, 14:11
Re: [HELP]Need help in KillTimer - by qazwsx - 27.07.2013, 14:23
Re: [HELP]Need help in KillTimer - by ScRipTeRi - 27.07.2013, 14:25
Re: [HELP]Need help in KillTimer - by Donvalley - 27.07.2013, 14:26

Forum Jump:


Users browsing this thread: 1 Guest(s)