How to check if a player is holding 2 buttons?
#1

Hello,

Could you tell my how can i check if a player is holding down two buttons, like LMB + RMB (aiming) ?

Thank you.
Reply
#2

OnPlayerKeyStateChange and KEY_RMB I think not sure
Reply
#3

I know that, but how to check for 2 of them holding at the same time.
Reply
#4

the wiki tells you how
Reply
#5

pawn Код:
if((newkeys & KEY...) && (newkeys & KEY...))
Try that
Reply
#6

>>>How to check for multiple keys<<<
Reply
#7

Thx.
Reply
#8

why the fuck would you use OnPlayerStateChange? That is one stupid fucking answer.
Reply
#9

Quote:
Originally Posted by Steven82
why the fuck would you use OnPlayerStateChange? That is one stupid fucking answer.
I don't see any such answer here
Reply
#10

Quote:
Originally Posted by Steven82
why the fuck would you use OnPlayerStateChange? That is one stupid fucking answer.
Yours is one stupid fucking answer, they said OnPlayerKEYStateChange. Wake up before you flame others, retard.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)