25.09.2016, 14:45
Your problem certainly doesn't lie inside the function that isn't getting called, but rather the one that is getting called.
That simple snippet has nothing to do with not getting called, and lemme assure you if server does actually to your SetTimerEx, your timer will for sure get called after the given time.
so your problem here is the function crashing before reaching that SetTimer.
One of the reasons could be stack overflow/underflow (don't quote me on this, don't remember the name). As you mentioned something looping over and over again, recursive functions do tend to cause that problem.
That simple snippet has nothing to do with not getting called, and lemme assure you if server does actually to your SetTimerEx, your timer will for sure get called after the given time.
so your problem here is the function crashing before reaching that SetTimer.
One of the reasons could be stack overflow/underflow (don't quote me on this, don't remember the name). As you mentioned something looping over and over again, recursive functions do tend to cause that problem.