PROBLEM TIMER SYNC! CRASH
#2

I'm not aware of what exactly caused the crash with the SetTimer function but here's few things that you shouldn't have done them in that way:

- Don't use #pragma unused synctimer because you use that variable for storing the timer's ID.
- You set the timer as repeated and whenever it gets called, you set it over and over again to repeated (basically you get more timers running with that instead of 1 you need).
- You don't have to loop twice through the players - 1 loop and in fact, using foreach is recommended.
Reply


Messages In This Thread
PROBLEM TIMER SYNC! CRASH - by Metharon - 19.05.2014, 10:57
Re: PROBLEM TIMER SYNC! CRASH - by Konstantinos - 19.05.2014, 11:11
Re: PROBLEM TIMER SYNC! CRASH - by Metharon - 19.05.2014, 11:29

Forum Jump:


Users browsing this thread: 1 Guest(s)