Can I use While loop in OnPlayerKeyStateChange
#1

I wanna do something like when a playere is using KEY_FIRE something will happen
Can I do like while(newkeys & KEY_FIRE) ?
Reply
#2

You can detect if they're holding the key. Check the Wiki page.
Reply
#3

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
You can detect if they're holding the key. Check the Wiki page.
Yeah I have already figured it out after Wiki'ing KeyStateChange
Thanks anyways
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)