Anti DB as Passanger
#5

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_SPRINT)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            if(GetPlayerWeapon(playerid) != 29)
            {
                ApplyAnimation(playerid, "CARRY", "crry_prtial", 2.0, 0, 0, 0, 0, 0);
            }
            else if(GetPlayerWeapon(playerid) == 29)
            {
                return 1;
            }
        }
    }
    return 0;
}
Not tested In Game. No errors in my PC.
Reply


Messages In This Thread
Anti DB as Passanger - by SanAndreasVille - 23.01.2011, 21:21
Re: Anti DB as Passanger - by Marricio - 23.01.2011, 21:28
Re: Anti DB as Passanger - by SanAndreasVille - 23.01.2011, 21:36
Re: Anti DB as Passanger - by Jefff - 23.01.2011, 21:44
Re: Anti DB as Passanger - by Marricio - 23.01.2011, 21:47
Re: Anti DB as Passanger - by ricardo178 - 23.01.2011, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)