Using GetPlayerKeys()...
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Yes, use the bitwise AND operator '&'.

pawn Код:
if(keys & KEY_CROUCH)
I've read about it at OnPlayerKeyStateChange() but never thought about using that here (cessil pointed it out for me on IRC)!

Still thanks for the help though
Reply


Messages In This Thread
Using GetPlayerKeys()... - by gamer931215 - 14.01.2012, 22:01
Re: Using GetPlayerKeys()... - by Vince - 14.01.2012, 22:39
Re: Using GetPlayerKeys()... - by gamer931215 - 14.01.2012, 22:45

Forum Jump:


Users browsing this thread: 1 Guest(s)