SA-MP Forums Archive
A way to check if someone is falling? - 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: A way to check if someone is falling? (/showthread.php?tid=342418)



A way to check if someone is falling? - milanosie - 13.05.2012

Like, I want /afk not available when someobody is falling trough the air,
How would I go by this?

Any plugin?


Re: A way to check if someone is falling? - Dolby - 13.05.2012

You can get the coordinate Z of player and compare.


Re: A way to check if someone is falling? - Basssiiie - 13.05.2012

Get his velocity along the Z coordinate, or check if he's doing the "fall" animation.


Re: A way to check if someone is falling? - milanosie - 13.05.2012

ow wow. why did I not think of that -.-

thanks