List of unsupported opcodes
Revision as of 19:04, 11 January 2015 by Spaceeinstein (talk | contribs) (SA includes opcodes not listed here previously)
This is a list of opcodes GTA III, Vice City, and San Andreas do not support. Unlike the unused opcodes, you can't use these ones at all as it will lead the game to crash or undesirable effects. Only opcodes that do not appear in all three games will have complete rows.
Opcode | Games | P | Parameter type | Brief description |
---|---|---|---|---|
003D | 2 | global var int, global var int | IS_INT_VAR_NOT_EQUAL_TO_NUMBER | |
003E | 2 | local var int, global var int | IS_INT_LVAR_NOT_EQUAL_TO_NUMBER | |
003F | 2 | global var int, global var int | IS_INT_VAR_NOT_EQUAL_TO_INT_VAR | |
0040 | 2 | local var int, local var int | IS_INT_LVAR_NOT_EQUAL_TO_INT_LVAR | |
0041 | 2 | global var int, local var int | IS_INT_VAR_NOT_EQUAL_TO_INT_LVAR | |
0047 | 2 | global var flt, flt | IS_FLOAT_VAR_NOT_EQUAL_TO_NUMBER | |
0048 | 2 | local var flt, flt | IS_FLOAT_LVAR_NOT_EQUAL_TO_NUMBER | |
0049 | 2 | global var flt, global var flt | IS_FLOAT_VAR_NOT_EQUAL_TO_FLOAT_VAR | |
004A | 2 | local var flt, local var flt | IS_FLOAT_LVAR_NOT_EQUAL_TO_FLOAT_LVAR | |
004B | 2 | global var flt, local var flt | IS_FLOAT_VAR_NOT_EQUAL_TO_FLOAT_LVAR | |
004C | GOTO_IF_TRUE | |||
0054 | GET_PLAYER_COORDINATES | |||
0055 | SET_PLAYER_COORDINATES | |||
0056 | IS_PLAYER_IN_AREA_2D | |||
0057 | IS_PLAYER_IN_AREA_3D | |||
009C | CHAR_WANDER_DIR | |||
009D | 1 | char handle | CHAR_WANDER_RANGE | |
009E | CHAR_FOLLOW_PATH | |||
009F | CHAR_SET_IDLE | |||
00A2 | IS_CHAR_STILL_ALIVE | |||
00AC | IS_CAR_STILL_ALIVE | |||
00B2 | 0 | SPECIAL_0 | ||
00B3 | 0 | SPECIAL_1 | ||
00B4 | 0 | SPECIAL_2 | ||
00B5 | 0 | SPECIAL_3 | ||
00B6 | 0 | SPECIAL_4 | ||
00B7 | 0 | SPECIAL_5 | ||
00B8 | 0 | SPECIAL_6 | ||
00B9 | 0 | SPECIAL_7 | ||
00BD | PRINT_SOON | |||
00C5 | RETURN_TRUE | |||
00C6 | RETURN_FALSE | |||
00C7 | 18 | VAR_INT | ||
00C8 | 18 | VAR_FLOAT | ||
00C9 | 18 | LVAR_INT | ||
00CA | 18 | LVAR_FLOAT | ||
00CB | 0 | { | ||
00CC | 0 | } | ||
00CD | 2 | int, var | REPEAT | |
00CE | 0 | ENDREPEAT | ||
00CF | 1 | int | IF | |
00D0 | 1 | int | IFNOT | |
00D1 | 0 | ELSE | ||
00D2 | 0 | ENDIF | ||
00D3 | 1 | int | WHILE | |
00D4 | 1 | int | WHILENOT | |
00D5 | 0 | ENDWHILE | ||
00DA | STORE_CAR_PLAYER_IS_IN | |||
00DC | IS_PLAYER_IN_CAR | |||
00DE | IS_PLAYER_IN_MODEL | |||
00E0 | IS_PLAYER_IN_ANY_CAR | |||
00E2 | GET_PAD_STATE | |||
00E3 | LOCATE_PLAYER_ANY_MEANS_2D | |||
00E4 | LOCATE_PLAYER_ON_FOOT_2D | |||
00E5 | LOCATE_PLAYER_IN_CAR_2D | |||
00E6 | LOCATE_STOPPED_PLAYER_ANY_MEANS_2D | |||
00E7 | LOCATE_STOPPED_PLAYER_ON_FOOT_2D | |||
00E8 | LOCATE_STOPPED_PLAYER_IN_CAR_2D | |||
00E9 | LOCATE_PLAYER_ANY_MEANS_CHAR_2D | |||
00EA | LOCATE_PLAYER_ON_FOOT_CHAR_2D | |||
00EB | LOCATE_PLAYER_IN_CAR_CHAR_2D | |||
00F5 | LOCATE_PLAYER_ANY_MEANS_3D | |||
00F6 | LOCATE_PLAYER_ON_FOOT_3D | |||
00F7 | LOCATE_PLAYER_IN_CAR_3D | |||
00F8 | LOCATE_STOPPED_PLAYER_ANY_MEANS_3D | |||
00F9 | LOCATE_STOPPED_PLAYER_ON_FOOT_3D | |||
00FA | LOCATE_STOPPED_PLAYER_IN_CAR_3D | |||
00FB | LOCATE_PLAYER_ANY_MEANS_CHAR_3D | |||
00FC | LOCATE_PLAYER_ON_FOOT_CHAR_3D | |||
00FD | LOCATE_PLAYER_IN_CAR_CHAR_3D | |||
010C | GIVE_REMOTE_CONTROLLED_CAR_TO_PLAYER | |||
0113 | ADD_AMMO_TO_PLAYER | |||
0115 | 3 | car handle, int, int | ADD_AMMO_TO_CAR | |
0116 | 1 | player handle | IS_PLAYER_STILL_ALIVE | |
011A | SET_CHAR_THREAT_SEARCH | |||
011B | 2 | char handle, int | SET_CHAR_THREAT_REACTION | |
011C | SET_CHAR_OBJ_NO_OBJ | |||
011D | 1 | char handle | ORDER_DRIVER_OUT_OF_CAR | |
011E | 2 | char handle, car handle | ORDER_CHAR_TO_DRIVE_CAR | |
011F | 4 | int, flt, flt, flt | ADD_PATROL_POINT | |
0120 | 2 | player handle, string | IS_PLAYER_IN_GANGZONE | |
0121 | IS_PLAYER_IN_ZONE | |||
0123 | HAS_CHAR_SPOTTED_PLAYER | |||
0124 | 2 | char handle, car handle | ORDER_CHAR_TO_BACKDOOR | |
0125 | 2 | char handle, int | ADD_CHAR_TO_GANG | |
0126 | IS_CHAR_OBJECTIVE_PASSED | |||
0127 | 2 | char handle, int | SET_CHAR_DRIVE_AGGRESSION | |
0128 | 2 | char handle, flt | SET_CHAR_MAX_DRIVESPEED | |
012B | 1 | char handle | MAKE_CHAR_DO_NOTHING | |
012C | 2 | char handle, int | SET_CHAR_INVINCIBLE | |
012D | 2 | player handle, int | SET_PLAYER_INVINCIBLE | |
012E | 3 | char handle, int, int | SET_CHAR_GRAPHIC_TYPE | |
012F | 3 | player handle, int, int | SET_PLAYER_GRAPHIC_TYPE | |
0130 | HAS_PLAYER_BEEN_ARRESTED | |||
0131 | 1 | char handle | STOP_CHAR_DRIVING | |
0132 | 1 | char handle | KILL_CHAR | |
0133 | 2 | char handle, int | SET_FAVOURITE_CAR_MODEL_FOR_CHAR | |
0134 | 2 | char handle, int | SET_CHAR_OCCUPATION | |
0135 | CHANGE_CAR_LOCK | |||
0136 | 4 | int, flt, flt, flt | SHAKE_CAM_WITH_POINT | |
0138 | 2 | car handle, int | IS_CAR_REMAP | |
0139 | 1 | car handle | HAS_CAR_JUST_SUNK | |
013A | 1 | car handle | SET_CAR_NO_COLLIDE | |
013B | IS_CAR_DEAD_IN_AREA_2D | |||
013C | IS_CAR_DEAD_IN_AREA_3D | |||
013D | 2 | car handle, car handle | IS_TRAILER_ATTACHED | |
013E | 2 | car handle, car handle | IS_CAR_ON_TRAILER | |
013F | 2 | car handle, int | HAS_CAR_GOT_WEAPON | |
0140 | 2 | car handle, vehicle_genb? | PARK | |
0141 | 0 | HAS_PARK_FINISHED | ||
0142 | 1 | car handle | KILL_ALL_PASSENGERS | |
0143 | 2 | car handle, int | SET_CAR_BULLETPROOF | |
0144 | 2 | car handle, int | SET_CAR_FLAMEPROOF | |
0145 | 2 | car handle, int | SET_CAR_ROCKETPROOF | |
0146 | 1 | car handle | IS_CARBOMB_ACTIVE | |
0147 | 1 | car handle | GIVE_CAR_ALARM | |
0148 | 2 | car handle, car handle | PUT_CAR_ON_TRAILER | |
0149 | IS_CAR_CRUSHED | |||
014A | 5 | int, flt, flt, flt, var | CREATE_GANG_CAR |
San Andreas
003D | 0156 | 022E | 032F | 0408 | 0511 |
003E | 0157 | 022F | 0333 | 040A | 0516 |
003F | 015C | 0230 | 0334 | 040E | 051F |
0040 | 015E | 0232 | 0336 | 040F | 0520 |
0041 | 0163 | 0233 | 033A | 0410 | 0527 |
0047 | 0170 | 0234 | 033B | 0411 | 0528 |
0048 | 0171 | 0238 | 033C | 0412 | 0529 |
0049 | 0178 | 0239 | 033D | 0413 | 052A |
004A | 017A | 023A | 0346 | 0415 | 052B |
004B | 017C | 023E | 0347 | 0419 | 052D |
004C | 017D | 023F | 034A | 041B | 052E |
0054 | 017E | 0240 | 034B | 041C | 052F |
0055 | 017F | 0242 | 034C | 041F | 0530 |
0056 | 0182 | 0243 | 0351 | 0420 | 0531 |
0057 | 0183 | 0246 | 0352 | 0421 | 0532 |
009C | 0192 | 024A | 0353 | 0422 | 0533 |
009D | 0193 | 024B | 0354 | 0426 | 0534 |
009E | 0194 | 024C | 0355 | 0427 | 0535 |
009F | 0195 | 024D | 0357 | 0429 | 0536 |
00A2 | 0196 | 024E | 0358 | 042A | 0537 |
00AC | 0197 | 0251 | 0359 | 0437 | 0538 |
00B2 | 0198 | 0252 | 035A | 0438 | 0539 |
00B3 | 0199 | 0255 | 035B | 0439 | 053A |
00B4 | 019A | 0295 | 035E | 043A | 053B |
00B5 | 019B | 029A | 0365 | 043B | 053C |
00B6 | 019C | 029C | 0367 | 043D | 053D |
00B7 | 019D | 029D | 0368 | 0442 | 0542 |
00B8 | 019E | 029E | 0369 | 0443 | 0543 |
00B9 | 019F | 029F | 036B | 0444 | 0544 |
00BD | 01A0 | 02A1 | 036C | 0447 | 0546 |
00DA | 01B1 | 02A2 | 036E | 044A | 0549 |
00DC | 01B3 | 02A6 | 036F | 044E | 0553 |
00DE | 01B8 | 02AD | 0370 | 044F | 0554 |
00E0 | 01BA | 02AE | 0371 | 0452 | 0558 |
00E3 | 01BE | 02AF | 0372 | 0455 | 0559 |
00E4 | 01BF | 02B0 | 0374 | 0456 | 055A |
00E5 | 01C6 | 02B1 | 0375 | 045E | 055C |
00E6 | 01C9 | 02B2 | 0377 | 045F | 0562 |
00E7 | 01CA | 02B3 | 0378 | 0461 | 0567 |
00E8 | 01CB | 02B4 | 0379 | 0462 | 056B |
00E9 | 01CC | 02B5 | 037A | 046A | 056F |
00EA | 01CD | 02B6 | 037B | 046B | 0571 |
00EB | 01CE | 02B7 | 037C | 046F | 0573 |
00F5 | 01CF | 02B8 | 037D | 0478 | 057C |
00F6 | 01D0 | 02C3 | 037F | 0479 | 0580 |
00F7 | 01D1 | 02C4 | 0380 | 047B | 0584 |
00F8 | 01D2 | 02C5 | 0385 | 047C | 0586 |
00F9 | 01D3 | 02C6 | 0386 | 047D | 0589 |
00FA | 01D4 | 02C7 | 0387 | 047E | 058B |
00FB | 01D5 | 02C8 | 0388 | 047F | 058F |
00FC | 01D6 | 02C9 | 0389 | 0483 | 0590 |
00FD | 01D7 | 02CD | 0398 | 0486 | 0593 |
0113 | 01D8 | 02D2 | 0399 | 0487 | 0598 |
0115 | 01D9 | 02D5 | 039A | 048D | 0599 |
0116 | 01DA | 02D7 | 039B | 048E | 05AB |
011A | 01DB | 02D9 | 039D | 0490 | 05AC |
011B | 01DC | 02DA | 03A0 | 0492 | 05AF |
011C | 01DD | 02DC | 03A5 | 0497 | 05B4 |
011D | 01DE | 02DE | 03A6 | 0498 | 0644 |
011E | 01DF | 02DF | 03AC | 0499 | 0645 |
011F | 01E0 | 02EF | 03AE | 049A | 0649 |
0120 | 01E1 | 02F0 | 03B2 | 049B | 0658 |
0121 | 01E2 | 02F1 | 03B3 | 049D | 0690 |
0123 | 01E6 | 02F4 | 03B4 | 04A0 | 0691 |
0124 | 01ED | 02F5 | 03B5 | 04A8 | 0692 |
0125 | 01EE | 02FB | 03B8 | 04AA | 0693 |
0126 | 01EF | 02FC | 03B9 | 04AC | 0694 |
0127 | 01F1 | 02FE | 03BB | 04C2 | 0695 |
0128 | 01F2 | 0300 | 03BE | 04C3 | 0696 |
0138 | 01F8 | 0301 | 03C1 | 04C6 | 06B8 |
0139 | 01FC | 0304 | 03C2 | 04C9 | 06CC |
013A | 01FD | 0305 | 03C6 | 04CA | 06CD |
013B | 01FE | 0306 | 03DB | 04CB | 06D3 |
013C | 01FF | 0307 | 03DD | 04CC | 06D4 |
013D | 0200 | 0309 | 03E2 | 04CD | 0753 |
013E | 0201 | 030A | 03E9 | 04CF | 0756 |
013F | 020E | 030B | 03EC | 04D4 | 0757 |
0140 | 020F | 030E | 03F1 | 04DC | 0768 |
0141 | 0210 | 030F | 03F2 | 04DE | 0769 |
0142 | 0211 | 0310 | 03F6 | 04E8 | 07B9 |
0143 | 0212 | 0311 | 03F7 | 04EC | 07D8 |
0144 | 0218 | 0312 | 03F8 | 04F2 | 07D9 |
0145 | 0219 | 0313 | 03F9 | 04F3 | 0802 |
0146 | 021A | 0314 | 03FA | 04F6 | 082B |
0147 | 021D | 0315 | 03FB | 04FB | 082C |
0148 | 021E | 0316 | 03FC | 04FD | 082D |
0149 | 021F | 031B | 03FF | 04FF | 082E |
014A | 0220 | 031C | 0401 | 0502 | 082F |
014D | 0222 | 0322 | 0402 | 0504 | 0854 |
0150 | 0225 | 0324 | 0403 | 0505 | 0865 |
0152 | 0228 | 0328 | 0404 | 050C | 09CD |
0153 | 022C | 032D | 0405 | 050D | 09CE |
0155 | 022D | 032E | 0406 | 0510 | 09DF |