23.03.2018, 14:12
Quote:
I use some a few fast timer for animation callbacks, and maybe it will useful for me. i'll try it, thanks!
hmm, okay Code:
[2018/03/23 14:36:01] [Timer Fix] Cannot call function [EL: 1] [2018/03/23 14:36:01] [Timer Fix] Cannot call function [EL: 1] Code:
[2018/03/23 14:36:01] [Timer Fix] KillTimer: cannot find timer with id 0 |
Code:
if(IsValidTimer(timerid)) KillTimer(timerid);
create, please function...
exemple:
Code:
new timerid; public OnGameModeInit() { timerid = SetTimer("UpDate",1000, true); return true; } forward UpDate(); public UpDate() { if(IsValidTimer(timerid)) KillTimer(timerid); return true; }