SA-MP Forums Archive
Clear animations,when player pressing the KEY_FIRE button. - 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: Clear animations,when player pressing the KEY_FIRE button. (/showthread.php?tid=389324)



Clear animations,when player pressing the KEY_FIRE button. - kadaradam - 01.11.2012

So,i'm wondering,how to clear the animations,when the player press the fire key while he is shooting.
The ClearAnimations and SetPlayerArmedWeapon(playerid, 0) functions dont work.
Thanks.


Re: Clear animations,when player pressing the KEY_FIRE button. - DaRk_RaiN - 01.11.2012

Try this
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange


Re: Clear animations,when player pressing the KEY_FIRE button. - kadaradam - 01.11.2012

I need the solution/function to clear the animation,not the callback.