13.10.2014, 18:13
Well then you are checking for the key being pressed incorrectly.
Use this:
Then change the line in your code from "if(newkeys == KEY_YES)" to "if(PRESSED(KEY_YES))"
Use this:
pawn Код:
// PRESSED(keys)
#define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))