Detecting unlisted keys - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Detecting unlisted keys (
/showthread.php?tid=244128)
Detecting unlisted keys -
_Outbreak_ - 26.03.2011
In single player, CJ can respond to people talking to him with either Y (yes) or N (no).
Is it possible to detect such keys in SAMP? A well known cheat / mod uses keys such as B, M, F11, F12. So is there a way to detect any key pressed on the keyboard?
Re: Detecting unlisted keys -
Zh3r0 - 26.03.2011
Not possible...
Re: Detecting unlisted keys -
Mike Garber - 26.03.2011
I think it is.. I think I saw a FS/include/plugin using F2 as a key, now that key isn't listed anywhere..
Re: Detecting unlisted keys -
Calgon - 26.03.2011
I'm 99.9% positive nothing like that has been released on this forum.
You're just going to have to stick with OnPlayerKeyStateChange.