27.11.2014, 15:18
Read up on it here https://sampwiki.blast.hk/wiki/Keys and here https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange plus make sure you have this defined
Код:
#define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))