MAIN MENU
News
Downloads
Ocram's Stuff
Tutorials
Work In Progressive
Coming soon
Chat-Guestbook
Kontakt
Deutsch Deutsch | English English
Meine Smilies
Datum: 23.03.2017
Uhrzeit: 13:11:28
Optimiert für 1024*768
Optimiert für MS IE 6
© by ocram | 2004-2007
Tutorials
  Keypress Numbers by ocram

  Nach einigen Tests habe ich mal alle Keypress Number für San Andreas herausgesucht.
  Hier sind meine Ergebnisse:


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
~~~~~~~~~~~~~~~~~~~~~~~~~

Es gibt auch einen anderen Code im Original Script:
"00E1: key_pressed <number2> <number>"
<number2> ist in der PC Version von SA standartmäßig 0.
In der PS2 Version wurde z.B. 1 benutzt um den zweiten Kontroller abzufragen.


Zum Schluss noch den Code den ich verwendet habe um die Key Numbers herauszufinden.

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

 Autor: ocram
Tutorial Pages:   1  
Statistiken
Die letzten 5 DL's
Water Script
Binary-(De)Compiler
Modelpack
IPL-Mover
ocram District

Die letzten 5 Tutorials
Putting models into SA
Radar Icons/Marker
Keypress Numbers
Stats
Erstellen einer Cullzone

Insgesamt
Anzahl d. Downloads: 26
alle Tutorials: 7
Tutorials VC: 4
Tutorials SA: 3

Besucher
060759
Besucher insgesamt

0002
Besucher 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