SA-MP Forums Archive
Wave for 2 seconds then unfreeze? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Wave for 2 seconds then unfreeze? (/showthread.php?tid=334569)



Wave for 2 seconds then unfreeze? - Admigo - 15.04.2012

Heey all,

How can i wave 2 seconds and then unfreeze the player?
Because i am waving everytime and i cant move.
Код:
LoopingAnim(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 2000, 0);
How i can fix this?

Thanks Admigo


Re: Wave for 2 seconds then unfreeze? - Cjgogo - 15.04.2012

Make a timer of 2 seconds then use function ClearAnimations