OnPlayerKeyStateChange what the hell?
#5

pawn Код:
new Keys,ud,lr;
    GetPlayerKeys(playerid,Keys,ud,lr);
    if(ud < 0) {
        if(AirBreak[playerid][enabled] == 1) {
            #if AIRBREAK_ALLOWED == true
                GetPlayerPos(playerid,AirBreak[playerid][ax],AirBreak[playerid][ay],AirBreak[playerid][az]);
                SetPlayerPos(playerid,AirBreak[playerid][ax],AirBreak[playerid][ay],AirBreak[playerid][az]+10);
            #endif
        }
    }
Thanks, now it works!
Reply


Messages In This Thread
OnPlayerKeyStateChange what the hell? - by Seven_of_Nine - 21.04.2011, 14:31
Re: OnPlayerKeyStateChange what the hell? - by Joe Staff - 21.04.2011, 14:35
Re: OnPlayerKeyStateChange what the hell? - by Seven_of_Nine - 21.04.2011, 14:39
Re: OnPlayerKeyStateChange what the hell? - by Joe Staff - 21.04.2011, 14:45
Re: OnPlayerKeyStateChange what the hell? - by Seven_of_Nine - 21.04.2011, 14:56

Forum Jump:


Users browsing this thread: 2 Guest(s)