19.05.2014, 11:11
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.
- 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.

