SA-MP Forums Archive
Is player in air - 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: Is player in air (/showthread.php?tid=508131)



Is player in air - Dusan01 - 20.04.2014

HI guys, how can i make via map andreas plugin to check is player standing on ground or is he in air?


AW: Is player in air - Mellnik - 20.04.2014

Get player pos + get Z of the players pos then compare Z.

Or try this function: https://sampwiki.blast.hk/wiki/GetPlayerAnimationIndex and check if the player has falling animation.