Detecting if a player is sprinting?
#1

pawn Код:
if(HOLDING(KEY_UP | KEY_SPRINT) && LLegBr[playerid] == 1 || RLegBr[playerid] == 1)
    {
        ApplyAnimation(playerid, "PED", "FALL_front", 4.0, 1, 0, 0, 0, 0,1);
    }
This is What I've got so far? it won't make them fall, but I don't understand how to detect fully, is this close?
Reply


Messages In This Thread
Detecting if a player is sprinting? - by Dokins - 16.02.2015, 14:14
Re: Detecting if a player is sprinting? - by CalvinC - 17.02.2015, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)