MAIN MENU
News
Downloads
Ocram's Stuff
Tutorials
Work In Progressive
Coming soon
Chat-Guestbook
Contact
Deutsch Deutsch | English English


Produktvergleich

My Smilies
Date: 18.10.2017
Time: 16:39:53
Optimized for 1024*768
Optimized for MS IE 6
© by ocram | 2004-2007
Tutrials
  Keypress Numbers by ocram

  After a few tests i discovered all Keypress Number for San Andreas.
  Here my result:


GTA SA Keypress Numbers by ocram

00E1: key_pressed 0 <number>

-------------------------------------------
- On Foot
-------------------------------------------
- 0 = Left/Right
- 1 = Forward/Fackward
- 2 = Special CTRL Left/Right
- 3 = Special CTRL Up/Down
- 4 = Action
- 5 = Previous Weapon/Target
- 6 = Aim Weapon
- 7 = Next Weapon/Target
- 8 = Group CTRL Forward
- 9 = Group CTRL Back
- 10 = Conversation - No
- 11 = Conversation - Yes
- 12 = (do not exist)
- 13 = Change Camera
- 14 = Jump
- 15 = Enter Vehicle
- 16 = Sprint
- 17 = Fire
- 18 = Crouch
- 19 = Look Behind
-------------------------------------------

~~~~~~~~~~~~~~~~~~~~~~~~~
~ In Car
~~~~~~~~~~~~~~~~~~~~~~~~~
~ 0 = Left/Right
~ 1 = steer Up/Back
~ 2 = Special CTRL Left/Right
~ 3 = Special CTRL Up/Down
~ 4 = Secondary Fire
~ 5 = Look Left
~ 6 = Hand Brake
~ 7 = Look Right
~ 8 = Next Radio Station
~ 9 = Previous Radio Station
~ 10 = Conversation - No
~ 11 = Trip Skip
~ 12 = (do not exist)
~ 13 = Change Camera
~ 14 = Brake/Reserve
~ 15 = Enter+Exit
~ 16 = Accelerate
~ 17 = Fire
~ 18 = Horn
~ 19 = Submission
~~~~~~~~~~~~~~~~~~~~~~~~~

It gives another Code in the original script:
"00E1: key_pressed <number2> <number>"
<number2> is in the PC version of SA always 0.
The PS2 version needed e.g. 1 to check the second controller buttons.


At last my code to discover the Key Numbers.

004F: create_thread ££key_test

:key_test
0001: wait 0 ms
00D6: if 0
0256: player $PLAYER_CHAR defined
004D: jump_if_false ££key_test
00D6: if 0
00E1: key_pressed 0 0
004D: jump_if_false ££key_test
0109: player $PLAYER_CHAR money += 1
0002: jump ££key_test

  Download keypress_numbers.txt

 Author: ocram
Tutorial Pages:   1  
Statistics
The last 5 DL's
Water Script
Binary-(De)Compiler
Modelpack
IPL-Mover
ocram District

The last 5 Tutorials
Putting models into SA
Radar Icons/Marker
Keypress Numbers
Stats
Create a Cullzone

All
all Downloads: 26
all Tutorials: 7
Tutorials VC: 4
Tutorials SA: 3

Visitors
074178
all Visitors

0001
Visitors Online

Cool other Sites
GTA Berlin
GTA Forums
Steve's GTA Page
moeron.de.vu
LazioFreak's GTA Page
Delfi's GTA Page
Patrick's GTA Page

ocram's GTA Page