Key combination - 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)
+--- Thread: Key combination (
/showthread.php?tid=401277)
Key combination - Jarnu - 22.12.2012
Is it possible to get key combination of CTRL + 9 ? because there is a crasher which uses that key combination but i want to disable usage of CTRL + 9 . (not NUM 9).
Re: Key combination -
Lordzy - 22.12.2012
wiki.sa-mp.com/wiki/GetPlayerKeys
wiki.sa-mp.com/wiki/OnPlayerKeyStateChange
Only the keys provided at those can be detected. And also you can't just detect CTRL+9 because it won't do anything if those aren't any SAMP game key configs for the player. Could be possible with plugins, I think.