SA-MP Forums Archive
[Question]: NewKeys - KeyList. - 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: [Question]: NewKeys - KeyList. (/showthread.php?tid=339266)



[Question]: NewKeys - KeyList. - GBLTeam - 02.05.2012

I need the full list of the all keys.

Код:
Like for key (2) = KEY_SUBMISSION
Like for key (Y) = KEY_NO
Like for key (N) = KEY_YES
Like for key (Space) = KEY_SPRINT
But i need for this keys (I) (O) (Q) ® (X) (V) ?



Re: [Question]: NewKeys - KeyList. - SuperViper - 03.05.2012

https://sampwiki.blast.hk/wiki/GetPlayerKeys


Re: [Question]: NewKeys - KeyList. - Basssiiie - 03.05.2012

The keys which you can use within Pawn are defined in the Controls setting of your game. If you use KEY_JUMP, it's probably the Left Shift key on your PC, but someone else might have changed his/her settings and binded the Jump key to for example Right Ctrl.

KEY_SPRINT isn't the Space key on every PC! Same goes for every other key.


Re: [Question]: NewKeys - KeyList. - GBLTeam - 03.05.2012

Can you tell me only this codes:

for the key "I"
for the key "O"
for the key "P"
for the key "Q"


Re: [Question]: NewKeys - KeyList. - JaKe Elite - 03.05.2012

There is no such key defined for key 'I/O/P/Q'


Re: [Question]: NewKeys - KeyList. - GBLTeam - 03.05.2012

Quote:
Originally Posted by Romel
Посмотреть сообщение
There is no such key defined for key 'I/O/P/Q'
KEY_LOOK_LEFT ?
KEY_LOOK_RIGHT ?


Re: [Question]: NewKeys - KeyList. - JaKe Elite - 03.05.2012

KEY_LOOK_LEFT - Vehicle Look Left (Q)


Re: [Question]: NewKeys - KeyList. - Faisal_khan - 03.05.2012

Thats for key E and Q not I,O,P.


Re: [Question]: NewKeys - KeyList. - MadeMan - 03.05.2012

IF you look left with key 'Q', then KEY_LOOK_LEFT = 'Q'

IF you look left with key 'I', then KEY_LOOK_LEFT = 'I'

It depends how you set your keys in options.