Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // IsPlayerFalling.inc
- // IMI BAG PULA-N MA-TA KOREM & TUD0R
- #if defined _IsPlayerFalling_included
- #endinput
- #endif
- #define _IsPlayerFalling_included
- stock IsPlayerFalling(playerid)
- {
- if(GetPlayerAnimationIndex(playerid) == 1195 || GetPlayerAnimationIndex(playerid) == 1197 || GetPlayerAnimationIndex(playerid) == 1133 || GetPlayerAnimationIndex(playerid) == 1130)
- {
- new Float:Z;
- GetPlayerVelocity(playerid, Z, Z, Z);
- if(Z != 0)
- {
- return 1;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement