[FilterScript] Anti Bunny Hoop (Good for RP)
#2

Err.. Really?
So, why adding this:
pawn Code:
#define HOLDING(%0) ((newkeys & (%0)) == (%0))
#define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

public OnPlayerSpawn(playerid)
{
    ApplyAnimation(playerid, "GYMNASIUM", "gym_jog_falloff",4.1, 0, 1, 1, 0, 0);
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (HOLDING(oldkeys, KEY_SPRINT) && PRESSED(newkeys, KEY_JUMP)){
        ApplyAnimation(playerid, "GYMNASIUM", "gym_jog_falloff",4.1, 0, 1, 1, 0, 0);
    }
    return 1;
}
Into a Filterscript? It would have been better if you made a tutorial, or if you posted this in the snippets section, because for such small code, there is no Filterscript needed (You can use max. 14 FS's as I recall, so it would just take up space for people using much FS's).
Don't see my post as critisism, but as constructive criticism
Reply


Messages In This Thread
Anti Bunny Hoop (Good for RP) - by sconer - 14.04.2013, 09:24
Re: Anti Bunny Hoop (Good for RP) - by Jstylezzz - 14.04.2013, 09:29
Re: Anti Bunny Hoop (Good for RP) - by wups - 14.04.2013, 09:54
Re: Anti Bunny Hoop (Good for RP) - by Isolated - 14.04.2013, 10:02
Re: Anti Bunny Hoop (Good for RP) - by hwakinsRP - 17.04.2013, 07:35

Forum Jump:


Users browsing this thread: 3 Guest(s)