Check if a player is on ground or in air.
#7

pawn Код:
stock IsPlayerFalling(playerid)           //true if player is falling with a closed parachute
{
    new index = GetPlayerAnimationIndex(playerid);
    if(index >= 958 && index <= 979 || index == 1130 || index == 1195 || index == 1132) return 1;
    return 0;
}
Reply


Messages In This Thread
Check if a player is on ground or in air. - by techg9 - 24.04.2013, 16:23
AW: Check if a player is on ground or in air. - by HurtLocker - 24.04.2013, 16:45
Re: AW: Check if a player is on ground or in air. - by techg9 - 24.04.2013, 16:57
AW: Check if a player is on ground or in air. - by HurtLocker - 24.04.2013, 17:02
Re: AW: Check if a player is on ground or in air. - by DaRk_RaiN - 24.04.2013, 17:02
Re: Check if a player is on ground or in air. - by Faisal_khan - 24.04.2013, 17:17
Re: Check if a player is on ground or in air. - by Pottus - 24.04.2013, 17:37
Re: Check if a player is on ground or in air. - by techg9 - 24.04.2013, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)