OnPlayerKeyStateChange what the hell?
#1

Hey all!

You know I'm working on an AirBreak feature, but when I bind KEY_UP to Z+10 then it does nothing with W or arrow UP it works with Caps Lock
pawn Код:
if(newkeys & KEY_UP) {
        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
        }
    }
See. So I press Caps Lock then it works. xD
What the hell is this?

EDIT: If I bind the wrong keys then can you give me the right ones? :]
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: 1 Guest(s)