Detecting Player Key Config
#2

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
Reply


Messages In This Thread
Detecting Player Key Config - by PSYCHOBABYKILLA - 28.08.2015, 01:28
Re: Detecting Player Key Config - by Abagail - 28.08.2015, 01:34
Re: Detecting Player Key Config - by PSYCHOBABYKILLA - 28.08.2015, 01:42
Re: Detecting Player Key Config - by Redirect Left - 28.08.2015, 01:48
Re: Detecting Player Key Config - by PSYCHOBABYKILLA - 28.08.2015, 01:54

Forum Jump:


Users browsing this thread: 1 Guest(s)