List of opcodes (GTAMA)

From GTAMods Wiki
Revision as of 20:34, 18 August 2011 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

This is a list of all opcodes, including nops and unsupported ones, in GTAMA syntax for GTA III, Vice City, and San Andreas. The list is based on the opcode definition list by CyQ.

Opcode Games P Syntax Notes
0000 GTA III Vice City San Andreas 0 nop no operation
0001 GTA III Vice City San Andreas 1 wait [int]
0002 GTA III Vice City San Andreas 1 jump @[label]
0003 GTA III Vice City San Andreas 1 shake_cam [int]
0004 GTA III Vice City San Andreas 2 setgi [global var], [int]
0005 GTA III Vice City San Andreas 2 setgf [global var], [flt]
0006 GTA III Vice City San Andreas 2 setli [local var], [int]
0007 GTA III Vice City San Andreas 2 setlf [local var], [flt]
0008 GTA III Vice City San Andreas 2 addgi [global var], [int]
0009 GTA III Vice City San Andreas 2 addgf [global var], [flt]
000A GTA III Vice City San Andreas 2 addli [local var], [int]
000B GTA III Vice City San Andreas 2 addlf [local var], [flt]
000C GTA III Vice City San Andreas 2 subgi [global var], [int]
000D GTA III Vice City San Andreas 2 subgf [global var], [flt]
000E GTA III Vice City San Andreas 2 subli [local var], [int]
000F GTA III Vice City San Andreas 2 sublf [local var], [flt]
0010 GTA III Vice City San Andreas 2 mulgi [global var], [int]
0011 GTA III Vice City San Andreas 2 mulgf [global var], [flt]
0012 GTA III Vice City San Andreas 2 mulli [local var], [int]
0013 GTA III Vice City San Andreas 2 mullf [local var], [flt]
0014 GTA III Vice City San Andreas 2 divgi [global var], [int]
0015 GTA III Vice City San Andreas 2 divgf [global var], [flt]
0016 GTA III Vice City San Andreas 2 divli [local var], [int]
0017 GTA III Vice City San Andreas 2 divlf [local var], [flt]
0018 GTA III Vice City San Andreas 2 gtgi [global var], [int]
0019 GTA III Vice City San Andreas 2 gtli [local var], [int]
001A GTA III Vice City San Andreas 2 gtig [int], [global var]
001B GTA III Vice City San Andreas 2 gtil [int], [local var]
001C GTA III Vice City San Andreas 2 gtgg [global var int], [global var int]
001D GTA III Vice City San Andreas 2 gtll [local var int], [local var int]
001E GTA III Vice City San Andreas 2 gtgl [global var int], [local var int]
001F GTA III Vice City San Andreas 2 gtlg [local var int], [global var int]
0020 GTA III Vice City San Andreas 2 gtgf [global var], [flt]
0021 GTA III Vice City San Andreas 2 gtlf [local var], [flt]
0022 GTA III Vice City San Andreas 2 gtfg [flt], [global var]
0023 GTA III Vice City San Andreas 2 gtfl [float], [local var]
0024 GTA III Vice City San Andreas 2 gtggf [global var flt], [global var flt]
0025 GTA III Vice City San Andreas 2 gtllf [local var flt], [local var flt]
0026 GTA III Vice City San Andreas 2 gtglf [global var flt], [local var flt]
0027 GTA III Vice City San Andreas 2 gtlgf [float], [global var]
0028 GTA III Vice City San Andreas 2 gtegi [global var], [int]
0029 GTA III Vice City San Andreas 2 gteli [local var], [int]
002A GTA III Vice City San Andreas 2 gteig [int], [global var]
002B GTA III Vice City San Andreas 2 gteil [int], [local var]
002C GTA III Vice City San Andreas 2 gtegg [global var int], [global var int]
002D GTA III Vice City San Andreas 2 gtell [local var int], [local var int]
002E GTA III Vice City San Andreas 2 gtegl [global var int], [local var int]
002F GTA III Vice City San Andreas 2 gtelg [local var int], [global var int]
0030 GTA III Vice City San Andreas 2 gtegf [global var], [float]
0031 GTA III Vice City San Andreas 2 gtelf [local var], [float]
0032 GTA III Vice City San Andreas 2 gtefg [float], [global var]
0033 GTA III Vice City San Andreas 2 gtefl [float], [local var]
0034 GTA III Vice City San Andreas 2 gteggf [global var flt], [global var flt]
0035 GTA III Vice City San Andreas 2 gtellf [local var flt], [local var flt]
0036 GTA III Vice City San Andreas 2 gteglf [global var flt], [local var flt]
0037 GTA III Vice City San Andreas 2 gtelgf [local var flt], [global var flt]
0038 GTA III Vice City San Andreas 2 egi [global var], [int]
0039 GTA III Vice City San Andreas 2 eli [local var], [int]
003A GTA III Vice City San Andreas 2 egg [global var int], [global var int]
003B GTA III Vice City San Andreas 2 ell [local var int], [local var int]
003C GTA III Vice City San Andreas 2 egl [global var int], [local var int]
003D unsupported -
003E unsupported -
003F unsupported -
0040 unsupported -
0041 unsupported -
0042 GTA III Vice City San Andreas 2 egf [global var], [float]
0043 GTA III Vice City San Andreas 2 elf [local var], [float]
0044 GTA III Vice City San Andreas 2 eggf [global var flt], [global var flt]
0045 GTA III Vice City San Andreas 2 ellf [local var flt], [local var flt]
0046 GTA III Vice City San Andreas 2 eglf [global var flt], [local var flt]
0047 unsupported -
0048 unsupported -
0049 unsupported -
004A unsupported -
004B unsupported -
004E GTA III Vice City San Andreas 0 end_thread
004F GTA III Vice City San Andreas -1 create_thread @[label]
0050 GTA III Vice City San Andreas 1 gosub @[label]
0051 GTA III Vice City San Andreas 0 return
0052 GTA III 6 no operation
0053 GTA III Vice City San Andreas 5 create_player [int], [float], [float], [float], [var]
0054 GTA III Vice City 4 get_player_coords [player handle], [var], [var], [var]
0055 GTA III Vice City 4 put_player_at [player handle], [int], [int], [int]
0056 GTA III Vice City 6 is_player_in_rect [player handle], [float], [float], [float], [float], [int]
0057 GTA III Vice City 8 is_player_in_cube [player handle], [float], [float], [float], [float], [float], [float], [int]
0058 GTA III Vice City San Andreas 2 addgg [global var int], [global var int]
0059 GTA III Vice City San Andreas 2 addggf [global var flt], [global var flt]
005A GTA III Vice City San Andreas 2 addll [local var int], [local var int]
005B GTA III Vice City San Andreas 2 addllf [local var flt], [local var flt]
005C GTA III Vice City San Andreas 2 addlg [local var int], [global var int]
005D GTA III Vice City San Andreas 2 addlgf [local var flt], [global var flt]
005E GTA III Vice City San Andreas 2 addgl [global var int], [local var int]
005F GTA III Vice City San Andreas 2 addglf [global var flt], [local var flt]
0060 GTA III Vice City San Andreas 2 subgg [global var int], [global var int]
0061 GTA III Vice City San Andreas 2 subggf [global var flt], [global var flt]
0062 GTA III Vice City San Andreas 2 subll [local var int], [local var int]
0063 GTA III Vice City San Andreas 2 subllf [local var flt], [local var flt]
0064 GTA III Vice City San Andreas 2 sublg [local var int], [global var int]
0065 GTA III Vice City San Andreas 2 sublgf [local var flt], [global var flt]
0066 GTA III Vice City San Andreas 2 subgl [global var int], [local var int]
0067 GTA III Vice City San Andreas 2 subglf [global var flt], [local var flt]
0068 GTA III Vice City San Andreas 2 mulgg [global var int], [global var int]
0069 GTA III Vice City San Andreas 2 mulggf [global var flt], [global var flt]
006A GTA III Vice City San Andreas 2 mulll [local var int], [local var int]
006B GTA III Vice City San Andreas 2 mulllf [local var flt], [local var flt]
006C GTA III Vice City San Andreas 2 mullg [local var var int], [flt var int]
006D GTA III Vice City San Andreas 2 mullgf [global var var int], [flt var int]
006E GTA III Vice City San Andreas 2 mulgl [global var int], [local var int]
006F GTA III Vice City San Andreas 2 mulglf [global var flt], [local var flt]
0070 GTA III Vice City San Andreas 2 divgg [global var int], [global var int]
0071 GTA III Vice City San Andreas 2 divggf [global var flt], [global var flt]
0072 GTA III Vice City San Andreas 2 divll [local var int], [local var int]
0073 GTA III Vice City San Andreas 2 divllf [local var flt], [local var flt]
0074 GTA III Vice City San Andreas 2 divlg [local var int], [global var int]
0075 GTA III Vice City San Andreas 2 divlgf [local var flt], [global var flt]
0076 GTA III Vice City San Andreas 2 divgl [global var int], [local var int]
0077 GTA III Vice City San Andreas 2 divglf [global var flt], [local var flt]
0078 GTA III Vice City San Andreas 2 addgf_time [global var], [flt]
0079 GTA III Vice City San Andreas 2 addlf_time [local var], [flt]
007A GTA III Vice City San Andreas 2 addggf_time [global var flt], [global var flt]
007B GTA III Vice City San Andreas 2 addllf_time [local var flt], [local var flt]
007C GTA III Vice City San Andreas 2 addglf_time [global var flt], [local var flt]
007D GTA III Vice City San Andreas 2 addlgf_time [local var flt], [global var flt]
007E GTA III Vice City San Andreas 2 subgf_time [global var], [flt]
007F GTA III Vice City San Andreas 2 sublf_time [local var], [flt]
0080 GTA III Vice City San Andreas 2 subggf_time [global var flt], [global var flt]
0081 GTA III Vice City San Andreas 2 subllf_time [local var flt], [local var flt]
0082 GTA III Vice City San Andreas 2 subglf_time [global var flt], [local var flt]
0083 GTA III Vice City San Andreas 2 sublgf_time [local var flt], [global var flt]
0084 GTA III Vice City San Andreas 2 setgg [global var int], [global var int]
0085 GTA III Vice City San Andreas 2 setll [local var int], [local var int]
0086 GTA III Vice City San Andreas 2 setggf [global var flt], [global var flt]
0087 GTA III Vice City San Andreas 2 setllf [local var flt], [local var flt]
0088 GTA III Vice City San Andreas 2 setglf [global var flt], [local var flt]
0089 GTA III Vice City San Andreas 2 setlgf [local var flt], [global var flt]
008A GTA III Vice City San Andreas 2 setglg [global var int], [local var int]
008B GTA III Vice City San Andreas 2 setlg [local var int], [global var int]
008C GTA III Vice City San Andreas 2 setgigf [global var int], [global var flt]
008D GTA III Vice City San Andreas 2 setgfgi [global var flt], [global var int]
008E GTA III Vice City San Andreas 2 setlilf [local var int], [global var flt]
008F GTA III Vice City San Andreas 2 setlfli [local var flt], [global var int]
0090 GTA III Vice City San Andreas 2 setgilf [global var int], [local var flt]
0091 GTA III Vice City San Andreas 2 setgfli [global var float], [local var int]
0092 GTA III Vice City San Andreas 2 setligf [local var int], [local var flt]
0093 GTA III Vice City San Andreas 2 setlfgi [local var flt], [local var int]
0094 GTA III Vice City San Andreas 1 absg [int]
0095 GTA III Vice City San Andreas 1 absl [int]
0096 GTA III Vice City San Andreas 1 absgf [flt]
0097 GTA III Vice City San Andreas 1 abslf [flt]
0098 GTA III Vice City San Andreas 1 randf_0to1 [flt]
0099 GTA III Vice City San Andreas 1 randi_0to65535 [int]

References