21.04.2011, 14:31
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![Huh?](images/smilies/confused.gif)
See. So I press Caps Lock then it works. xD
What the hell is this?![Cheesy](images/smilies/biggrin.png)
EDIT: If I bind the wrong keys then can you give me the right ones? :]
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
![Huh?](images/smilies/confused.gif)
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
}
}
What the hell is this?
![Cheesy](images/smilies/biggrin.png)
EDIT: If I bind the wrong keys then can you give me the right ones? :]