List of opcodes

From GTAMods Wiki
Revision as of 01:24, 28 January 2010 by Spaceeinstein (talk | contribs) (creating test list)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a list of all opcodes, including nops and unsupported ones, in GTA III, Vice City, and San Andreas.

Opcode P Parameter type Games Brief description Notes
0000 0 nop GTA III Vice City San Andreas no operation special use in CLEO
0001 1 int GTA III Vice City San Andreas wait
0002 1 label GTA III Vice City San Andreas jump
0003 1 int GTA III Vice City San Andreas shake camera
0004 2 global, int GTA III Vice City San Andreas set global to integer
0005 2 global, float GTA III Vice City San Andreas set global to float
0006 2 local, int GTA III Vice City San Andreas set local to integer
0007 2 local, float GTA III Vice City San Andreas set local to float
0008 2 global, int GTA III Vice City San Andreas add global to integer
0009 2 global, float GTA III Vice City San Andreas add global to float
000A 2 local, int GTA III Vice City San Andreas add local to integer
000B 2 local, float GTA III Vice City San Andreas add local to float
000C 2 global, int GTA III Vice City San Andreas subtract global to integer
000D 2 global, float GTA III Vice City San Andreas subtract global to float
000E 2 local, int GTA III Vice City San Andreas subtract local to integer
000F 2 local, float GTA III Vice City San Andreas subtract local to float
0010 2 global, int GTA III Vice City San Andreas multiply global to integer
0011 2 global, float GTA III Vice City San Andreas multiply global to float
0012 2 local, int GTA III Vice City San Andreas multiply local to integer not used in GTA III and Vice City