IsPlayerRunning
#3

pawn Код:
stock IsPlayerRunning(playerid)
{
    new
        keys,
        ud,
        lr;

    GetPlayerKeys(playerid, keys, ud, lr);
   
    if(keys & KEY_WALK)
        return false;

    if(ud == 0 && lr == 0)
        return false;

    return true;
}
Something like that should suffice. Not tested.
Reply


Messages In This Thread
IsPlayerRunning - by zgintasz - 30.04.2012, 12:01
Re: IsPlayerRunning - by 2KY - 30.04.2012, 12:53
Re: IsPlayerRunning - by Vince - 30.04.2012, 13:03
Re: IsPlayerRunning - by zgintasz - 30.04.2012, 13:05
Re: IsPlayerRunning - by Finn - 30.04.2012, 14:05
Re: IsPlayerRunning - by SuperViper - 30.04.2012, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)