03.05.2012, 16:58
There is a difference:
means you are pressing KEY_SPRINT and KEY_SUBMISSION together
means you are pressing KEY_SPRINT or KEY_SUBMISSION only
pawn Код:
if (newkeys & KEY_SPRINT && newkeys & KEY_SUBMISSION)
pawn Код:
if (newkeys & KEY_SPRINT || newkeys & KEY_SUBMISSION)