Hi, I'm trying to detect if player pressed N and H at the same time so I copied it exactly how it is in wiki, but it's not working.
This is what it looks like:
What's wrong here?
This is what it looks like:
Code:
//OnPlayerKeyStateChange...
if ((newkeys & (KEY_NO | KEY_CTRL_BACK)) == (KEY_NO | KEY_CTRL_BACK) && (oldkeys & (KEY_NO | KEY_CTRL_BACK)) != (KEY_NO | KEY_CTRL_BACK))