[Include] IsPlayerFalling
#1

This is a very simple include made by me (Krusher) which can be used if a player is falling or not.
It useful to check if a player is falling before he is trying to use anims.
This script is not 100% accurate, but is good.

How to use:

Just download the include from first link, and include it in your gamemode. - #include <IsPlayerFalling>

For example:
Код:
if(IsPlayerFalling(playerid)) return SCM(playerid, -1, "You are falling right now, you can't use this command.");
// your code that will be executed if player is NOT falling
Direct download: http://cheats.tw/krusher/IsPlayerFalling.zip
Pastebin: http://pastebin.com/wCBaT97n
Reply


Messages In This Thread
IsPlayerFalling - by wanted2013 - 09.02.2017, 14:13
Re: IsPlayerFalling - by Jelly23 - 09.02.2017, 14:24

Forum Jump:


Users browsing this thread: 1 Guest(s)