17.03.2016, 16:52
So, i checked the https://sampwiki.blast.hk/wiki/OnPlayerK..._multiple_keys but I want to know just if Q is pressed doesn't matter which one is also pressed. So I have to check for each combination like if ((newkeys & KEY_LOOK_LEFT) && (newkeys & KEY_CROUCH)) ??
Or if ((newkeys & KEY_LOOK_LEFT) && (newkeys >=-128 ) ), where (newkeys >=-128 ) is for another key (doesnt matter which is)
because -128 is the lowest key value i guess
Am I right or ?
Or if ((newkeys & KEY_LOOK_LEFT) && (newkeys >=-128 ) ), where (newkeys >=-128 ) is for another key (doesnt matter which is)
because -128 is the lowest key value i guess
Am I right or ?