Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
There is no way to detect numpad0 by default unless they have it as an available key. However you can give the player a list of available configurable keys to choose from and log it as a variable.
See:
wiki.sa-mp.com/wiki/Keys
Oh I misunderstood. You can't, however you can use the k string that is available to show the GameText string for the key that's set in their client, however you cannot actually get the key they have.
See:
wiki.sa-mp.com/wiki/GameTextForPlayer