[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
#2

This is not an include, but a snippet.

Post it here: https://sampforum.blast.hk/showthread.php?tid=281
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)