31.08.2016, 13:23
Well I really didn't understand what you actually meant to say, your poor choice of words I guess.
But here's the thing, if you need to check if player is holding 2 keys combined, you can first combine them using |, then check it with &
so you could check which key is being held with keymask2 so you could do different binds.
If thats not what you want please elaborate more or even put your current loop here so we could help you.
But here's the thing, if you need to check if player is holding 2 keys combined, you can first combine them using |, then check it with &
PHP код:
if(newkeys & (keymask2|keymask3))
If thats not what you want please elaborate more or even put your current loop here so we could help you.