SA-MP Forums Archive
OnPlayerChangeAnim Help - 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: OnPlayerChangeAnim Help (/showthread.php?tid=462611)



OnPlayerChangeAnim Help - TranquiliZed - 07.09.2013

I want make a custom callback for OnPlayerChangeAnim. I just want to know how I would go about doing that. So when someone starts to shoot, it places text above then says %s is shooting. Any help is appreciated


Re: OnPlayerChangeAnim Help - TranquiliZed - 07.09.2013

Anyone?


Re: OnPlayerChangeAnim Help - Vince - 07.09.2013

Use the OnPlayerUpdate example and adjust to your needs. Though your custom callback will be called A LOT. There is an animation change when you start to walk, start to run, start to sprint, enter a car, etc, etc, etc.


Re : OnPlayerChangeAnim Help - mirou123 - 07.09.2013

Use OnPlayerTakeDamage I guess


Re: OnPlayerChangeAnim Help - Luis- - 07.09.2013

Bumping will not help.


Re: OnPlayerChangeAnim Help - TranquiliZed - 07.09.2013

It did help. Please only post responses to the question. Thank you