OnPlayerKeyStateChange
#1

Hello,
How could I make it so whenever the key KEY_ACTION is pressed, that it will do something.
Right now, if I have another key pressed, and I try to press the KEY_ACTION, it wouldn't work.
So basically I can only use that key if no other key is pressed. How can I bypass that?
Reply
#2

Код:
if(newkeys & KEY_ACTION)
{
	// code
}
Reply
#3

Quote:
Originally Posted by Counterafk
Посмотреть сообщение
Код:
if(newkeys & KEY_ACTION)
{
	// code
}
Doesn't work. This is what I have already.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)