20.12.2014, 22:15
I am setting a timer to play a sound, but it plays over 40 times, I added a: print("check"); and it prints over 40 times also.
I am setting this timer:
I have added print before and after setting the timer, to see if it sets the timer multiple times, but it doesn't...
Does anyone know why this happens?
the function:
edit:
it executes PlaySoundx 510 times..
I am setting this timer:
Код:
SetTimerEx("PlaySoundx", 10000, false, "i", playerid);
Does anyone know why this happens?
the function:
Код:
public PlaySoundx(playerid) { print("check"); PlayerPlaySound(playerid, 1054, 0.0, 0.0, 0.0); return 1; }
it executes PlaySoundx 510 times..