Facing Problem with OnPlayerKeyStateChange
#3

You are checking for keypresses improperly.

pawn Код:
if(newkeys == KEY_HANDBRAKE)
That would only work if you only pressed that key an no others which can be useful in some cases you want to use this.

pawn Код:
if(newkeys & KEY_HANDBRAKE)
Reply


Messages In This Thread
Facing Problem with OnPlayerKeyStateChange - by Meow22 - 25.08.2014, 20:11
Re: Facing Problem with OnPlayerKeyStateChange - by jakejohnsonusa - 25.08.2014, 21:33
Re: Facing Problem with OnPlayerKeyStateChange - by Pottus - 25.08.2014, 21:37

Forum Jump:


Users browsing this thread: 1 Guest(s)