SA-MP Forums Archive
Hotkeys? - 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: Hotkeys? (/showthread.php?tid=234850)



Hotkeys? - DaneAMattie - 04.03.2011

Hello people,


Is it possible that when a user presses B that a dialog pops up with ShowPlayerDialog?


Re: Hotkeys? - Calgon - 04.03.2011

You can't detect whether a certain key was detected, but you can detect whether a key that GTA: SA uses was pressed, see here.


Re: Hotkeys? - DaneAMattie - 04.03.2011

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
You can't detect whether a certain key was detected, but you can detect whether a key that GTA: SA uses was pressed, see here.
oke but some players have sorted that function on another key so how do i make a client message or gametext with like the horn button for me its H but maybe for another person its N or something, so it sais something like this:

Your horn button is 'H'