SetTimerEx problem
#1

Hello.

I have a little problem, and i'm desperate with this already - Everthing i tried failed, so i'm asking here for help. Here's the deal.

I do this in one of my custom functions -
Код:
SetTimerEx( "MovingCamera", MOVING_CAMERA_FPS, true, "i", playerid );
It's a 50 millisecond timer which moves camera around player during the tutorial, so it's critical that i kill it at some point. But the timer won't even start. However, if i do -

Код:
SetTimerEx( "MovingCamera", MOVING_CAMERA_FPS, true, "i", playerid ), SetTimerEx( "MovingCamera", MOVING_CAMERA_FPS, true, "i", playerid );
It works for some reason. Until the point where i got to kill it, then it won't stop. I tried debuging it with printf's and messages and the timer won't start if i do SetTimerEx just once. No errors, warnings, nothing.

I tried it with y_timers too, and it just won't start.

I think this is SetTimerEx bug, because even if do
Код:
MovingCamera( playerid ) { print( "It works!" ); return true; }
nothing happens.

Has anyone got any experience on this?
Reply


Messages In This Thread
SetTimerEx problem - by FTLOG - 28.12.2011, 17:39
Re: SetTimerEx problem - by coole210 - 28.12.2011, 18:41
Re: SetTimerEx problem - by FTLOG - 28.12.2011, 18:46
Re: SetTimerEx problem - by coole210 - 28.12.2011, 23:10
Re: SetTimerEx problem - by FTLOG - 29.12.2011, 11:42
Re: SetTimerEx problem - by MadeMan - 29.12.2011, 11:45
Re: SetTimerEx problem - by FTLOG - 29.12.2011, 12:39

Forum Jump:


Users browsing this thread: 1 Guest(s)