13.02.2016, 12:51
This is the problem. Unless you are using that callback properly, no changes anywhere else will do anything.
You'll wanna paste up the section of code that defines PRESSED in OnPlayerKeyStateChange.
If you look around on faults with that callback, the most common is using simply "newkeys", and not both of them.
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Look carefully in the section regarding "How NOT to check for a key" and below that.
Still though, paste up your OnPlayerKeyStateChange if you are still stumped.
You'll wanna paste up the section of code that defines PRESSED in OnPlayerKeyStateChange.
If you look around on faults with that callback, the most common is using simply "newkeys", and not both of them.
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Look carefully in the section regarding "How NOT to check for a key" and below that.
Still though, paste up your OnPlayerKeyStateChange if you are still stumped.
