Difference between revisions of "List of opcodes"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
This is a list of all opcodes, including nops and unsupported ones, in [[GTA III]], [[Vice City]], and [[San Andreas]]. Brief descriptions and notes are added to the list for quick and easy access to information. | This is a list of all opcodes, including nops and unsupported ones, in [[GTA III]], [[Vice City]], and [[San Andreas]]. Brief descriptions and notes are added to the list for quick and easy access to information. | ||
+ | |||
{| {{prettytable}} class="sortable" | {| {{prettytable}} class="sortable" | ||
! width="30px" |Opcode | ! width="30px" |Opcode | ||
Line 16: | Line 17: | ||
|[[0003]] ||1 ||int || {{Icon|trilogy}} ||shake camera || | |[[0003]] ||1 ||int || {{Icon|trilogy}} ||shake camera || | ||
|- | |- | ||
− | |[[0004]] ||2 || | + | |[[0004]] ||2 ||global var, int || {{Icon|trilogy}} ||set global to int ({{Hint|G|global variable}} = {{Hint|I|integer value}}) || |
|- | |- | ||
− | |[[0005]] ||2 || | + | |[[0005]] ||2 ||global var, flt || {{Icon|trilogy}} ||set global to float ({{Hint|G|global variable}} = {{Hint|F|floating-point value}}) || |
|- | |- | ||
− | |[[0006]] ||2 || | + | |[[0006]] ||2 ||local var, int || {{Icon|trilogy}} ||set local to int ({{Hint|L|local variable}} = {{Hint|I|integer value}})) || |
|- | |- | ||
− | |0007 ||2 || | + | |0007 ||2 ||local var, flt || {{Icon|trilogy}} ||set local to float ({{Hint|L|local variable}} = {{Hint|F|floating-point value}})) ||unused in GTA III |
|- | |- | ||
− | |0008 ||2 || | + | |0008 ||2 ||global var, int || {{Icon|trilogy}} ||add global to int (G += I) || |
|- | |- | ||
− | |0009 ||2 || | + | |0009 ||2 ||global var, flt || {{Icon|trilogy}} ||add global to float (G += F) || |
|- | |- | ||
− | |000A ||2 || | + | |000A ||2 ||local var, int || {{Icon|trilogy}} ||add local to int (L += I) ||unused in GTA III |
|- | |- | ||
− | |000B ||2 || | + | |000B ||2 ||local var, flt || {{Icon|trilogy}} ||add local to float (L += F) ||unused in GTA III |
|- | |- | ||
|000C ||2 ||int, int || {{Icon|trilogy}} ||subtract global to int (G -= I) || | |000C ||2 ||int, int || {{Icon|trilogy}} ||subtract global to int (G -= I) || | ||
Line 132: | Line 133: | ||
|003D ||0 || || ||unsupported || | |003D ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |003E ||0 || || ||unsupported || |
+ | |- | ||
+ | |003F ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0040 ||0 || || ||unsupported || | ||
|- | |- | ||
|0041 ||0 || || ||unsupported || | |0041 ||0 || || ||unsupported || | ||
Line 148: | Line 153: | ||
|0047 ||0 || || ||unsupported || | |0047 ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |0048 ||0 || || ||unsupported || |
+ | |- | ||
+ | |0049 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |004A ||0 || || ||unsupported || | ||
|- | |- | ||
|004B ||0 || || ||unsupported || | |004B ||0 || || ||unsupported || | ||
Line 166: | Line 175: | ||
|0052 ||? || || {{Icon|3}} ||? || | |0052 ||? || || {{Icon|3}} ||? || | ||
|- | |- | ||
− | |0053 ||5 ||int, float, float, float, player handle || {{Icon|trilogy}} ||create player ||parameters rearranged in | + | |0053 ||5 ||int, float, float, float, player handle || {{Icon|trilogy}} ||create player ||parameters rearranged in SB |
|- | |- | ||
|0054 ||4 ||player handle, var, var, var || {{Icon|3}} {{Icon|VC}} ||get player coordinates || | |0054 ||4 ||player handle, var, var, var || {{Icon|3}} {{Icon|VC}} ||get player coordinates || | ||
Line 308: | Line 317: | ||
|0099 ||1 ||int || {{Icon|trilogy}} ||generate random int in range 0 to 65535 || | |0099 ||1 ||int || {{Icon|trilogy}} ||generate random int in range 0 to 65535 || | ||
|- | |- | ||
− | |[[009A]] ||6 ||int, int, | + | |[[009A]] ||6 ||int, int, flt, flt, flt, char handle || {{Icon|trilogy}} ||create char ||parameters rearranged in SB |
|- | |- | ||
|009B ||1 ||char handle || {{Icon|trilogy}} ||delete char || | |009B ||1 ||char handle || {{Icon|trilogy}} ||delete char || | ||
Line 316: | Line 325: | ||
|009D ||0 || || ||unsupported || | |009D ||0 || || ||unsupported || | ||
|- | |- | ||
− | |009E ||6 ||char handle, | + | |009E ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} ||set char path ||unused in GTA III |
|- | |- | ||
|009F ||1 ||char handle || {{Icon|3}} {{Icon|VC}} ||set char objective to -1 || | |009F ||1 ||char handle || {{Icon|3}} {{Icon|VC}} ||set char objective to -1 || | ||
Line 322: | Line 331: | ||
|[[00A0]] ||4 ||char, var, var, var || {{Icon|trilogy}} ||get char coordinates || | |[[00A0]] ||4 ||char, var, var, var || {{Icon|trilogy}} ||get char coordinates || | ||
|- | |- | ||
− | |[[00A1]] ||4 ||char, | + | |[[00A1]] ||4 ||char, flt, flt, flt || {{Icon|trilogy}} ||set char at coordinates || |
|- | |- | ||
|00A2 ||1 ||char handle || {{Icon|3}} ||check char alive || | |00A2 ||1 ||char handle || {{Icon|3}} ||check char alive || | ||
|- | |- | ||
− | |00A3 ||6 ||char handle, | + | |00A3 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} ||check char is in 2D area || |
|- | |- | ||
− | |00A4 ||8 ||char handle, | + | |00A4 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} ||check char is in 3D area || |
|- | |- | ||
− | |[[00A5]] ||5 ||int, | + | |[[00A5]] ||5 ||int, flt, flt, flt, car handle || {{Icon|trilogy}} ||create car ||parameters rearranged in SB |
|- | |- | ||
|00A6 ||1 ||car handle || {{Icon|trilogy}} ||delete car || | |00A6 ||1 ||car handle || {{Icon|trilogy}} ||delete car || | ||
|- | |- | ||
− | |00A7 ||4 ||car handle, | + | |00A7 ||4 ||car handle, flt, flt, flt || {{Icon|trilogy}} ||car drive to coordinate || |
|- | |- | ||
|00A8 ||1 ||car handle || {{Icon|trilogy}} ||set car to psycho driver || | |00A8 ||1 ||car handle || {{Icon|trilogy}} ||set car to psycho driver || | ||
Line 342: | Line 351: | ||
|00AA ||4 ||car handle, var, var, var || {{Icon|trilogy}} ||get car coordinates || | |00AA ||4 ||car handle, var, var, var || {{Icon|trilogy}} ||get car coordinates || | ||
|- | |- | ||
− | |00AB ||4 ||car handle, | + | |00AB ||4 ||car handle, flt, flt, flt || {{Icon|trilogy}} ||set car at coordinates || |
|- | |- | ||
|00AC ||1 ||car handle || {{Icon|3}} ||check car is on land || | |00AC ||1 ||car handle || {{Icon|3}} ||check car is on land || | ||
|- | |- | ||
− | |00AD ||2 ||car handle, | + | |00AD ||2 ||car handle, flt || {{Icon|trilogy}} ||set car speed || |
|- | |- | ||
|00AE ||2 ||car handle, int || {{Icon|trilogy}} ||set car traffic behavior || | |00AE ||2 ||car handle, int || {{Icon|trilogy}} ||set car traffic behavior || | ||
Line 352: | Line 361: | ||
|00AF ||2 ||car handle, int || {{Icon|trilogy}} ||set car driver behavior || | |00AF ||2 ||car handle, int || {{Icon|trilogy}} ||set car driver behavior || | ||
|- | |- | ||
− | |00B0 ||6 ||car handle, | + | |00B0 ||6 ||car handle, flt, flt, flt, flt, int || {{Icon|trilogy}} ||check car is in 2D area || |
|- | |- | ||
− | |00B1 ||8 ||car handle, | + | |00B1 ||8 ||car handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} ||check car is in 3D area || |
|- | |- | ||
|00B2 ||0 || || ||unsupported || | |00B2 ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |00B3 ||0 || || ||unsupported || |
+ | |- | ||
+ | |00B4 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00B5 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00B6 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00B7 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00B8 ||0 || || ||unsupported || | ||
|- | |- | ||
|00B9 ||0 || || ||unsupported || | |00B9 ||0 || || ||unsupported || | ||
Line 378: | Line 397: | ||
|00C1 ||3 ||int, int, var || {{Icon|trilogy}} ||get minutes to time of day ||parameters rearranged in SB | |00C1 ||3 ||int, int, var || {{Icon|trilogy}} ||get minutes to time of day ||parameters rearranged in SB | ||
|- | |- | ||
− | |00C2 ||4 || | + | |00C2 ||4 ||flt, flt, flt, flt || {{Icon|trilogy}} ||check is sphere on screen || |
|- | |- | ||
|00C3 ||0 || || {{Icon|3}} {{Icon|VC}} ||enter debug mode || | |00C3 ||0 || || {{Icon|3}} {{Icon|VC}} ||enter debug mode || | ||
Line 390: | Line 409: | ||
|00C7 ||0 || || ||unsupported || | |00C7 ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |00C8 ||0 || || ||unsupported || |
+ | |- | ||
+ | |00C9 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00CA ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00CB ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00CC ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00CD ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00CE ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00CF ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00D0 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00D1 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00D2 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00D3 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |00D4 ||0 || || ||unsupported || | ||
|- | |- | ||
|00D5 ||0 || || ||unsupported || | |00D5 ||0 || || ||unsupported || | ||
Line 420: | Line 463: | ||
|00E2 ||2 ||int, int, var || {{Icon|trilogy}} ||get key is pressing ||unused in GTA III, Vice City, and San Andreas | |00E2 ||2 ||int, int, var || {{Icon|trilogy}} ||get key is pressing ||unused in GTA III, Vice City, and San Andreas | ||
|- | |- | ||
− | |00E3 ||6 ||player handle, | + | |00E3 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} ||check player is in 2D area ||parameters rearranged in SB |
|- | |- | ||
− | |00E4 ||6 ||player handle, | + | |00E4 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} ||check player is in 2D area on foot ||parameters rearranged in SB |
|- | |- | ||
− | |00E5 ||6 ||player handle, | + | |00E5 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} ||check player is in 2D area in car ||parameters rearranged in SB |
|- | |- | ||
− | |00E6 ||6 ||player handle, | + | |00E6 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} ||check player is stopped in 2D area ||unused in Vice City, parameters rearranged in SB |
|- | |- | ||
− | |00E7 ||6 ||player handle, | + | |00E7 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00E8 ||6 ||player handle, | + | |00E8 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||unused in Vice City, parameters rearranged in SB |
|- | |- | ||
− | |00E9 ||5 ||player handle, char handle, | + | |00E9 ||5 ||player handle, char handle, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00EA ||5 ||player handle, char handle, | + | |00EA ||5 ||player handle, char handle, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00EB ||5 ||player handle, char handle, | + | |00EB ||5 ||player handle, char handle, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00EC ||6 ||char handle, | + | |00EC ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00ED ||6 ||char handle, | + | |00ED ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00EE ||6 ||char handle, | + | |00EE ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00EF ||6 ||char handle, | + | |00EF ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in Vice City, parameters rearranged in SB |
|- | |- | ||
− | |00F0 ||6 ||char handle, | + | |00F0 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00F1 ||6 ||char handle, | + | |00F1 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in Vice City and San Andreas, parameters rearranged in SB |
|- | |- | ||
− | |00F2 ||5 ||char handle, char handle, | + | |00F2 ||5 ||char handle, char handle, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III |
|- | |- | ||
− | |00F3 ||5 ||char handle, char handle, | + | |00F3 ||5 ||char handle, char handle, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III |
|- | |- | ||
− | |00F4 ||5 ||char handle, char handle, | + | |00F4 ||5 ||char handle, char handle, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III and Vice City |
|- | |- | ||
− | |00F5 ||8 ||player handle, | + | |00F5 ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00F6 ||8 ||player handle, | + | |00F6 ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00F7 ||8 ||player handle, | + | |00F7 ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00F8 ||8 ||player handle, | + | |00F8 ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00F9 ||8 ||player handle, | + | |00F9 ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00FA ||8 ||player handle, | + | |00FA ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00FB ||6 ||player handle, char handle, | + | |00FB ||6 ||player handle, char handle, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00FC ||6 ||player handle, char handle, | + | |00FC ||6 ||player handle, char handle, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00FD ||6 ||player handle, char handle, | + | |00FD ||6 ||player handle, char handle, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |00FE ||8 ||char handle, | + | |00FE ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |[[00FF]] ||8 ||char handle, | + | |[[00FF]] ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |0100 ||8 ||char handle, | + | |0100 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III |
|- | |- | ||
− | |0101 ||8 ||char handle, | + | |0101 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III |
|- | |- | ||
− | |0102 ||8 ||char handle, | + | |0102 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III |
|- | |- | ||
− | |0103 ||8 ||char handle, | + | |0103 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in Vice City |
|- | |- | ||
− | |0104 ||6 ||char handle, char handle, | + | |0104 ||6 ||char handle, char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III |
|- | |- | ||
− | |0105 ||6 ||char handle, char handle, | + | |0105 ||6 ||char handle, char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III and Vice City |
|- | |- | ||
− | |0106 ||6 ||char handle, char handle, | + | |0106 ||6 ||char handle, char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III and Vice City |
|- | |- | ||
− | |0107 ||5 || int, | + | |0107 ||5 || int, flt, flt, flt, object handle || {{Icon|trilogy}} ||create object ||parameters rearranged in SB |
|- | |- | ||
|0108 ||1 || object handle || {{Icon|trilogy}} ||delete object || | |0108 ||1 || object handle || {{Icon|trilogy}} ||delete object || | ||
Line 502: | Line 545: | ||
|010B ||2 ||player handle, var || {{Icon|trilogy}} ||get player money value ||unused in GTA III | |010B ||2 ||player handle, var || {{Icon|trilogy}} ||get player money value ||unused in GTA III | ||
|- | |- | ||
− | |[[010C]] ||5 ||player handle, | + | |[[010C]] ||5 ||player handle, flt, flt, flt, flt || {{Icon|3}} {{Icon|VC}} ||give rc buggy to player || |
|- | |- | ||
|[[010D]] ||2 ||player handle, int || {{Icon|trilogy}} ||set player wanted level || | |[[010D]] ||2 ||player handle, int || {{Icon|trilogy}} ||set player wanted level || | ||
Line 538: | Line 581: | ||
|011D ||0 || || ||unsupported || | |011D ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |011E ||0 || || ||unsupported || |
+ | |- | ||
+ | |011F ||0 || || ||unsupported || | ||
|- | |- | ||
|0120 ||0 || || ||unsupported || | |0120 ||0 || || ||unsupported || | ||
|- | |- | ||
− | |0121 || | + | |0121 ||2 ||player handle, string || {{Icon|3}} {{Icon|VC}} ||check player is in zone || |
|- | |- | ||
|0122 ||1 ||player handle || {{Icon|trilogy}} ||check player pressing horn || | |0122 ||1 ||player handle || {{Icon|trilogy}} ||check player pressing horn || | ||
Line 560: | Line 605: | ||
|[[0129]] ||4 ||car handle, char handle, int, var || {{Icon|trilogy}} ||create char inside car ||parameters rearranged in SB | |[[0129]] ||4 ||car handle, char handle, int, var || {{Icon|trilogy}} ||create char inside car ||parameters rearranged in SB | ||
|- | |- | ||
− | |012A ||4 ||player handle, | + | |012A ||4 ||player handle, flt, flt, flt || {{Icon|trilogy}} ||warp player from car to coord || |
|- | |- | ||
|012B ||0 || || ||unsupported || | |012B ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |012C ||0 || || ||unsupported || |
+ | |- | ||
+ | |012D ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |012E ||0 || || ||unsupported || | ||
|- | |- | ||
|012F ||0 || || ||unsupported || | |012F ||0 || || ||unsupported || | ||
Line 572: | Line 621: | ||
|0131 ||0 || || ||unsupported || | |0131 ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |0132 ||0 || || ||unsupported || |
+ | |- | ||
+ | |0133 ||0 || || ||unsupported || | ||
|- | |- | ||
|0134 ||0 || || ||unsupported || | |0134 ||0 || || ||unsupported || | ||
Line 584: | Line 635: | ||
|0138 ||0 || || ||unsupported || | |0138 ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |0139 ||0 || || ||unsupported || |
|- | |- | ||
|013A ||0 || || ||unsupported || | |013A ||0 || || ||unsupported || | ||
Line 594: | Line 645: | ||
|013D ||0 || || ||unsupported || | |013D ||0 || || ||unsupported || | ||
|- | |- | ||
− | | | + | |013E ||0 || || ||unsupported || |
+ | |- | ||
+ | |013F ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0140 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0141 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0142 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0143 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0144 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0145 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0146 ||0 || || ||unsupported || | ||
+ | |- | ||
+ | |0147 ||0 || || ||unsupported || | ||
|- | |- | ||
|0148 ||0 || || ||unsupported || | |0148 ||0 || || ||unsupported || | ||
Line 602: | Line 671: | ||
|014A ||0 || || ||unsupported || | |014A ||0 || || ||unsupported || | ||
|- | |- | ||
− | |[[014B]] ||13 || | + | |[[014B]] ||13 ||flt, flt, flt, flt, int, int, int, int, int, int, int, int, parked car handle || {{Icon|trilogy}} ||create parked car generator ||parameters rearranged in SB |
|- | |- | ||
|[[014C]] ||2 ||parked car handle, int || {{Icon|trilogy}} ||switch car generator || | |[[014C]] ||2 ||parked car handle, int || {{Icon|trilogy}} ||switch car generator || | ||
Line 612: | Line 681: | ||
|014F ||1 ||int || {{Icon|trilogy}} ||stop timer || | |014F ||1 ||int || {{Icon|trilogy}} ||stop timer || | ||
|- | |- | ||
− | |0150 || | + | |0150 ||2 ||global var, int || {{Icon|3}} {{Icon|VC}} ||display onscreen counter ||unused in GTA III and Vice City |
|- | |- | ||
|0151 ||1 ||int || {{Icon|trilogy}} ||remove status text || | |0151 ||1 ||int || {{Icon|trilogy}} ||remove status text || | ||
Line 638: | Line 707: | ||
|[[015C]] ||11 ||string, int, int, int, int, int, int, int, int, int, int || {{Icon|3}} {{Icon|VC}} ||set zone gang info ||13 parameters in Vice City | |[[015C]] ||11 ||string, int, int, int, int, int, int, int, int, int, int || {{Icon|3}} {{Icon|VC}} ||set zone gang info ||13 parameters in Vice City | ||
|- | |- | ||
− | |015D ||1 || | + | |015D ||1 ||flt || {{Icon|trilogy}} ||set gamespeed || |
|- | |- | ||
|015E ||1 ||car handle || {{Icon|3}} ||check car wheels on ground || | |015E ||1 ||car handle || {{Icon|3}} ||check car wheels on ground || | ||
|- | |- | ||
− | |015F ||6 || | + | |015F ||6 ||flt, flt, flt, flt, flt, flt || {{Icon|trilogy}} ||set camera position || |
|- | |- | ||
− | |0160 ||4 || | + | |0160 ||4 ||flt, flt, flt, int || {{Icon|trilogy}} ||point camera || |
|- | |- | ||
|0161 ||4 ||car handle, int, int, blip handle || {{Icon|trilogy}} ||add blip to car ||parameters rearranged in SB | |0161 ||4 ||car handle, int, int, blip handle || {{Icon|trilogy}} ||add blip to car ||parameters rearranged in SB | ||
Line 658: | Line 727: | ||
|0166 ||2 ||blip handle, int || {{Icon|3}} {{Icon|VC}} ||change blip brightness || | |0166 ||2 ||blip handle, int || {{Icon|3}} {{Icon|VC}} ||change blip brightness || | ||
|- | |- | ||
− | |0167 ||6 || | + | |0167 ||6 ||flt, flt, flt, int, int, blip handle || {{Icon|trilogy}} ||add blip to coordinate ||parameters rearranged in SB |
|- | |- | ||
|0168 ||2 ||blip handle, int || {{Icon|trilogy}} ||change blip scale || | |0168 ||2 ||blip handle, int || {{Icon|trilogy}} ||change blip scale || | ||
Line 668: | Line 737: | ||
|016B ||0 || || {{Icon|trilogy}} ||check is fading || | |016B ||0 || || {{Icon|trilogy}} ||check is fading || | ||
|- | |- | ||
− | |016C ||4 || | + | |016C ||4 ||flt, flt, flt, flt || {{Icon|trilogy}} ||add hospital restart || |
|- | |- | ||
− | |016D ||4 || | + | |016D ||4 ||flt, flt, flt, flt || {{Icon|trilogy}} ||add police restart || |
|- | |- | ||
− | |016E ||4 || | + | |016E ||4 ||flt, flt, flt, flt || {{Icon|trilogy}} ||override restart || |
|- | |- | ||
− | |016F ||10 ||int, | + | |016F ||10 ||int, flt, flt, flt, flt, flt, int, int, int, int || {{Icon|3}} ||create particle || |
|- | |- | ||
|[[0170]] ||2 ||player handle, var || {{Icon|3}} {{Icon|VC}} ||get player heading ||unused in GTA III, parameters rearranged in SB | |[[0170]] ||2 ||player handle, var || {{Icon|3}} {{Icon|VC}} ||get player heading ||unused in GTA III, parameters rearranged in SB | ||
|- | |- | ||
− | |[[0171]] ||2 ||player handle, | + | |[[0171]] ||2 ||player handle, flt || {{Icon|3}} {{Icon|VC}} ||set player heading || |
|- | |- | ||
|[[0172]] ||2 ||char handle, var || {{Icon|trilogy}} ||get char heading ||parameters rearranged in SB | |[[0172]] ||2 ||char handle, var || {{Icon|trilogy}} ||get char heading ||parameters rearranged in SB | ||
|- | |- | ||
− | |[[0173]] ||2 ||char handle, | + | |[[0173]] ||2 ||char handle, flt || {{Icon|trilogy}} ||set char heading || |
|- | |- | ||
|0174 ||2 ||car handle, var || {{Icon|trilogy}} ||get car heading ||parameters rearranged in SB | |0174 ||2 ||car handle, var || {{Icon|trilogy}} ||get car heading ||parameters rearranged in SB | ||
|- | |- | ||
− | |0175 ||2 ||car handle, | + | |0175 ||2 ||car handle, flt || {{Icon|trilogy}} ||set car heading || |
|- | |- | ||
|[[0176]] ||2 ||object handle, var || {{Icon|trilogy}} ||get object heading ||parameters rearranged in SB | |[[0176]] ||2 ||object handle, var || {{Icon|trilogy}} ||get object heading ||parameters rearranged in SB | ||
|- | |- | ||
− | |0177 ||2 ||object handle, | + | |0177 ||2 ||object handle, flt || {{Icon|trilogy}} ||set object heading || |
|- | |- | ||
|0178 ||2 ||player handle, object handle || {{Icon|3}} ||check player has picked up object || | |0178 ||2 ||player handle, object handle || {{Icon|3}} ||check player has picked up object || | ||
Line 696: | Line 765: | ||
|0179 ||2 ||char handle, object handle || {{Icon|3}} ||check char has picked up object ||unused in GTA III | |0179 ||2 ||char handle, object handle || {{Icon|3}} ||check char has picked up object ||unused in GTA III | ||
|- | |- | ||
− | |017A ||3 ||player handle, int, int || {{Icon|3}} {{Icon|VC}} || || | + | |017A ||3 ||player handle, int, int || {{Icon|3}} {{Icon|VC}} ||set player weapon ammo || |
|- | |- | ||
|017B ||3 || || {{Icon|3}} || ||unused in GTA III | |017B ||3 || || {{Icon|3}} || ||unused in GTA III | ||
Line 710: | Line 779: | ||
|[[0180]] ||1 ||var || {{Icon|trilogy}} ||set on mission flag || | |[[0180]] ||1 ||var || {{Icon|trilogy}} ||set on mission flag || | ||
|- | |- | ||
− | |0181 ||2 || || {{Icon| | + | |0181 ||2 ||nop || {{Icon|trilogy}} ||no operation || |
|- | |- | ||
|0182 ||2 || || {{Icon|3}} || || | |0182 ||2 || || {{Icon|3}} || || | ||
Line 726: | Line 795: | ||
|0188 ||2 ||object handle, blip handle || {{Icon|trilogy}} ||add blip to object || | |0188 ||2 ||object handle, blip handle || {{Icon|trilogy}} ||add blip to object || | ||
|- | |- | ||
− | |0189 ||2 ||blip handle, | + | |0189 ||2 ||blip handle, flt, flt, flt || {{Icon|3}} {{Icon|VC}} ||add blip with sphere to coordinate ||unused in GTA III |
|- | |- | ||
− | |018A ||2 ||blip handle, | + | |018A ||2 ||blip handle, flt, flt, flt || {{Icon|trilogy}} ||add blip to coordinate || |
|- | |- | ||
|018B ||2 ||blip handle, int || {{Icon|trilogy}} ||change blip display || | |018B ||2 ||blip handle, int || {{Icon|trilogy}} ||change blip display || | ||
|- | |- | ||
− | |[[018C]] ||4 ||int, | + | |[[018C]] ||4 ||int, flt, flt, flt || {{Icon|trilogy}} ||play sound || |
|- | |- | ||
− | |018D ||5 ||int, | + | |018D ||5 ||int, flt, flt, flt, sound handle || {{Icon|3}} {{Icon|VC}} ||create sound ||parameters rearranged in SB |
|- | |- | ||
|018E ||1 ||sound handle || {{Icon|trilogy}} ||stop sound || | |018E ||1 ||sound handle || {{Icon|trilogy}} ||stop sound || | ||
Line 754: | Line 823: | ||
|0196 ||? || || {{Icon|3}} ||? || | |0196 ||? || || {{Icon|3}} ||? || | ||
|- | |- | ||
− | |0197 ||6 ||player handle, | + | |0197 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |0198 ||6 ||player handle, | + | |0198 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |0199 ||6 ||player handle, | + | |0199 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |019A ||6 ||player handle, | + | |019A ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |019B ||6 ||player handle, | + | |019B ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |019C ||8 ||player handle, | + | |019C ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |019D ||8 ||player handle, | + | |019D ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |019E ||8 ||player handle, | + | |019E ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |019F ||8 ||player handle, | + | |019F ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |01A0 ||8 ||player handle, | + | |01A0 ||8 ||player handle, flt, flt, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01A1 ||6 ||char handle, | + | |01A1 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |01A2 ||6 ||char handle, | + | |01A2 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |01A3 ||6 ||char handle, | + | |01A3 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01A4 ||6 ||char handle, | + | |01A4 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |01A5 ||6 ||char handle, | + | |01A5 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |01A6 ||8 ||char handle, | + | |01A6 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |01A7 ||8 ||char handle, | + | |01A7 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |01A8 ||8 ||char handle, | + | |01A8 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01A9 ||8 ||char handle, | + | |01A9 ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |01AA ||8 ||char handle, | + | |01AA ||8 ||char handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01AB ||6 ||car handle, | + | |01AB ||6 ||car handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01AC ||8 ||car handle, | + | |01AC ||8 ||car handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01AD ||6 ||car handle, | + | |01AD ||6 ||car handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01AE ||6 ||car handle, | + | |01AE ||6 ||car handle, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01AF ||8 ||car handle, | + | |01AF ||8 ||car handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
− | |01B0 ||8 ||car handle, | + | |01B0 ||8 ||car handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
|01B1 ||3 ||player handle, int, int || {{Icon|3}} {{Icon|VC}} ||give player weapon || | |01B1 ||3 ||player handle, int, int || {{Icon|3}} {{Icon|VC}} ||give player weapon || | ||
Line 828: | Line 897: | ||
|[[01BB]] ||4 ||object handle, var, var, var || {{Icon|trilogy}} ||get object coordinates || | |[[01BB]] ||4 ||object handle, var, var, var || {{Icon|trilogy}} ||get object coordinates || | ||
|- | |- | ||
− | |01BC ||4 ||object handle, | + | |01BC ||4 ||object handle, flt, flt, flt || {{Icon|trilogy}} ||set object at coordinates || |
|- | |- | ||
|01BD ||1 ||var || {{Icon|trilogy}} ||current time in ms || | |01BD ||1 ||var || {{Icon|trilogy}} ||current time in ms || | ||
|- | |- | ||
− | |01BE ||4 ||char handle, | + | |01BE ||4 ||char handle, flt, flt, flt || {{Icon|3}} {{Icon|VC}} ||task look at coord || |
|- | |- | ||
|01BF ||0 || || ||unsupported || | |01BF ||0 || || ||unsupported || | ||
Line 884: | Line 953: | ||
|01D7 ||0 || || ||unsupported || | |01D7 ||0 || || ||unsupported || | ||
|- | |- | ||
− | |01D8 ||2 || || {{Icon|3}} {{Icon|VC}} || || | + | |01D8 ||2 ||char handle, object handle || {{Icon|3}} {{Icon|VC}} ||task char attack object || |
|- | |- | ||
− | |01D9 ||2 || || {{Icon|3}} {{Icon|VC}} || || | + | |01D9 ||2 ||char handle, car handle || {{Icon|3}} {{Icon|VC}} ||task char attack car || |
|- | |- | ||
|01DA ||0 || || ||unsupported || | |01DA ||0 || || ||unsupported || | ||
Line 896: | Line 965: | ||
|01DD ||0 || || ||unsupported || | |01DD ||0 || || ||unsupported || | ||
|- | |- | ||
− | |01DE ||2 || || {{Icon| | + | |01DE ||2 ||char handle, char handle || {{Icon|3}} {{Icon|VC}} ||tie char to char || |
|- | |- | ||
− | |01DF ||2 || || {{Icon|3}} {{Icon|VC}} ||tie char to player || | + | |01DF ||2 ||char handle, player handle || {{Icon|3}} {{Icon|VC}} ||tie char to player || |
|- | |- | ||
− | |01E0 ||1 || || {{Icon|3}} {{Icon|VC}} ||clear | + | |01E0 ||1 ||char handle || {{Icon|3}} {{Icon|VC}} ||clear tie || |
|- | |- | ||
− | |01E1 ||3 || || {{Icon|3}} {{Icon|VC}} ||set char follow route || | + | |01E1 ||3 ||char handle, int, int || {{Icon|3}} {{Icon|VC}} ||set char follow route || |
|- | |- | ||
− | |01E2 ||4 || || {{Icon|3}} {{Icon|VC}} || || | + | |01E2 ||4 ||int, flt, flt, flt || {{Icon|3}} {{Icon|VC}} ||add point to route || |
|- | |- | ||
|01E3 ||4 ||string, int, int, int || {{Icon|trilogy}} ||print text with number big || | |01E3 ||4 ||string, int, int, int || {{Icon|trilogy}} ||print text with number big || | ||
Line 914: | Line 983: | ||
|01E6 ||4 || || {{Icon|3}} || ||unused in GTA III | |01E6 ||4 || || {{Icon|3}} || ||unused in GTA III | ||
|- | |- | ||
− | |01E7 ||6 || | + | |01E7 ||6 ||flt, flt, flt, flt, flt, flt || {{Icon|trilogy}} ||switch roads off || |
|- | |- | ||
− | |01E8 ||6 || | + | |01E8 ||6 ||flt, flt, flt, flt, flt, flt || {{Icon|trilogy}} ||switch roads on || |
|- | |- | ||
|01E9 ||2 ||car handle, var || {{Icon|trilogy}} ||get number of passengers ||parameters rearranged in SB | |01E9 ||2 ||car handle, var || {{Icon|trilogy}} ||get number of passengers ||parameters rearranged in SB | ||
Line 922: | Line 991: | ||
|01EA ||2 ||car handle, var || {{Icon|trilogy}} ||get maximum number of passengers ||parameters rearranged in SB | |01EA ||2 ||car handle, var || {{Icon|trilogy}} ||get maximum number of passengers ||parameters rearranged in SB | ||
|- | |- | ||
− | |01EB ||1 || | + | |01EB ||1 ||flt || {{Icon|trilogy}} ||set car density multiplier || |
|- | |- | ||
|01EC ||2 ||car handle, int || {{Icon|trilogy}} ||set car heavy ||unused in GTA III | |01EC ||2 ||car handle, int || {{Icon|trilogy}} ||set car heavy ||unused in GTA III | ||
Line 928: | Line 997: | ||
|01ED ||1 ||char handle || {{Icon|3}} {{Icon|VC}} ||reset char flag || | |01ED ||1 ||char handle || {{Icon|3}} {{Icon|VC}} ||reset char flag || | ||
|- | |- | ||
− | |01EE ||10 || | + | |01EE ||10 ||flt, flt, flt, flt, flt, flt, flt, flt, flt, flt || {{Icon|3}} ||activate crane || |
|- | |- | ||
− | |01EF ||2 || | + | |01EF ||2 ||flt, flt || {{Icon|3}} ||deactivate crane || |
|- | |- | ||
|[[01F0]] ||1 ||int || {{Icon|trilogy}} ||set max wanted level || | |[[01F0]] ||1 ||int || {{Icon|trilogy}} ||set max wanted level || | ||
Line 938: | Line 1,007: | ||
|01F2 ||0 || || ||unsupported || | |01F2 ||0 || || ||unsupported || | ||
|- | |- | ||
− | |01F3 ||1 || || {{Icon|trilogy}} || || | + | |01F3 ||1 ||car handle || {{Icon|trilogy}} ||check car is airbourne || |
|- | |- | ||
− | |01F4 ||1 || || {{Icon|trilogy}} || || | + | |01F4 ||1 ||car handle || {{Icon|trilogy}} ||check car is flipped || |
|- | |- | ||
|01F5 ||2 || || {{Icon|trilogy}} || ||parameters rearranged in SB | |01F5 ||2 || || {{Icon|trilogy}} || ||parameters rearranged in SB | ||
Line 980: | Line 1,049: | ||
|0207 ||6 || || {{Icon|trilogy}} || ||unused in GTA III | |0207 ||6 || || {{Icon|trilogy}} || ||unused in GTA III | ||
|- | |- | ||
− | |0208 ||2 || | + | |0208 ||2 ||flt, flt, var || {{Icon|trilogy}} ||generate random float in range ||parameters rearranged in SB |
|- | |- | ||
|0209 ||2 ||int, int, var || {{Icon|trilogy}} ||generate random int in range ||parameters rearranged in SB | |0209 ||2 ||int, int, var || {{Icon|trilogy}} ||generate random int in range ||parameters rearranged in SB | ||
Line 1,002: | Line 1,071: | ||
|0212 ||0 || || ||unsupported || | |0212 ||0 || || ||unsupported || | ||
|- | |- | ||
− | |[[0213]] ||6 ||int, int, | + | |[[0213]] ||6 ||int, int, flt, flt, flt, var || {{Icon|trilogy}} ||create pickup ||parameters rearranged in SB |
|- | |- | ||
|0214 ||1 ||pickup handle || {{Icon|trilogy}} ||check has pickup been collected || | |0214 ||1 ||pickup handle || {{Icon|trilogy}} ||check has pickup been collected || | ||
Line 1,014: | Line 1,083: | ||
|0218 ||4 || || {{Icon|3}} || || | |0218 ||4 || || {{Icon|3}} || || | ||
|- | |- | ||
− | |0219 ||10 || | + | |0219 ||10 ||flt, flt, flt, flt, flt, flt, flt, flt, int, int || {{Icon|3}} {{Icon|VC}}||create garage ||parameters rearranged in SB |
|- | |- | ||
|021A ||0 || || ||unsupported || | |021A ||0 || || ||unsupported || | ||
|- | |- | ||
− | |021B ||2 || || {{Icon|trilogy}} || || | + | |021B ||2 ||garage ID, car handle || {{Icon|trilogy}} ||set target car for mission garage || |
|- | |- | ||
− | |021C ||1 || || {{Icon|3}} {{Icon|VC}} || || | + | |021C ||1 ||garage ID || {{Icon|3}} {{Icon|VC}} ||check car is in garage area || |
|- | |- | ||
|021D ||1 ||int || {{Icon|3}} ||set free bomb shop || | |021D ||1 ||int || {{Icon|3}} ||set free bomb shop || | ||
Line 1,084: | Line 1,153: | ||
|023B ||2 ||char handle, object handle || {{Icon|trilogy}} ||check char is touching object ||unused in GTA III | |023B ||2 ||char handle, object handle || {{Icon|trilogy}} ||check char is touching object ||unused in GTA III | ||
|- | |- | ||
− | |[[023C]] ||2 ||int, string || {{Icon|trilogy}} ||load special actor || | + | |[[023C]] ||2 ||int, string || {{Icon|trilogy}} ||load special actor ||parameters rearranged in SB in Sn Andreas |
|- | |- | ||
|[[023D]] ||1 ||string || {{Icon|trilogy}} ||check special actor loaded || | |[[023D]] ||1 ||string || {{Icon|trilogy}} ||check special actor loaded || | ||
Line 1,100: | Line 1,169: | ||
|0243 ||2 || || {{Icon|3}} {{Icon|VC}} || || | |0243 ||2 || || {{Icon|3}} {{Icon|VC}} || || | ||
|- | |- | ||
− | |0244 ||3 || | + | |0244 ||3 ||flt, flt, flt || {{Icon|trilogy}} ||set cutscene position || |
|- | |- | ||
|0245 ||2 ||char handle, int || {{Icon|trilogy}} ||set char walk style || | |0245 ||2 ||char handle, int || {{Icon|trilogy}} ||set char walk style || | ||
Line 1,112: | Line 1,181: | ||
|[[0249]] ||1 ||int || {{Icon|trilogy}} ||mark model as no longer needed || | |[[0249]] ||1 ||int || {{Icon|trilogy}} ||mark model as no longer needed || | ||
|- | |- | ||
− | |[[024A]] ||3 || | + | |[[024A]] ||3 ||flt, flt, var || {{Icon|3}} {{Icon|VC}} ||get phone || |
|- | |- | ||
|024B ||2 || || {{Icon|3}} || ||unused in GTA III | |024B ||2 || || {{Icon|3}} || ||unused in GTA III | ||
Line 1,122: | Line 1,191: | ||
|[[024E]] ||1 ||phone (object?) handle || {{Icon|3}} {{Icon|VC}} ||disable phone || | |[[024E]] ||1 ||phone (object?) handle || {{Icon|3}} {{Icon|VC}} ||disable phone || | ||
|- | |- | ||
− | |[[024F]] ||9 || | + | |[[024F]] ||9 ||flt, flt, flt, flt, int, int, int, int, int || {{Icon|trilogy}} ||create corona || |
|- | |- | ||
− | |0250 ||6 || | + | |0250 ||6 ||flt, flt, flt, int, int, int || {{Icon|3}} ||create light || |
|- | |- | ||
|0251 ||0 || || ||unsupported || | |0251 ||0 || || ||unsupported || | ||
Line 1,134: | Line 1,203: | ||
|0254 ||0 || || {{Icon|trilogy}} ||restore current time ||unused in GTA III | |0254 ||0 || || {{Icon|trilogy}} ||restore current time ||unused in GTA III | ||
|- | |- | ||
− | |0255 ||4 || | + | |0255 ||4 ||flt, flt, flt, flt || {{Icon|3}} ||set critical mission restart || |
|- | |- | ||
|[[0256]] ||1 ||player handle || {{Icon|trilogy}} ||check player is defined || | |[[0256]] ||1 ||player handle || {{Icon|trilogy}} ||check player is defined || | ||
Line 1,164: | Line 1,233: | ||
|029A ||0 || || ||unsupported || | |029A ||0 || || ||unsupported || | ||
|- | |- | ||
− | |029B ||5 ||int, | + | |029B ||5 ||int, flt, flt, flt, object handle || {{Icon|trilogy}} || ||parameters rearranged in SB |
|- | |- | ||
|029C ||1 ||car handle || {{Icon|3}} ||check car stopped || | |029C ||1 ||car handle || {{Icon|3}} ||check car stopped || | ||
Line 1,178: | Line 1,247: | ||
|02A1 ||2 ||int, int || {{Icon|3}} || || | |02A1 ||2 ||int, int || {{Icon|3}} || || | ||
|- | |- | ||
− | |02A2 ||5 ||int, int, | + | |02A2 ||5 ||int, int, flt, flt, flt || {{Icon|3}} || || |
|- | |- | ||
|[[02A3]] ||1 ||int || {{Icon|trilogy}} ||set widescreen borders || | |[[02A3]] ||1 ||int || {{Icon|trilogy}} ||set widescreen borders || | ||
Line 1,242: | Line 1,311: | ||
|02C1 ||6 || || {{Icon|trilogy}} || ||parameters rearranged in SB | |02C1 ||6 || || {{Icon|trilogy}} || ||parameters rearranged in SB | ||
|- | |- | ||
− | |02C2 ||4 ||car handle, | + | |02C2 ||4 ||car handle, flt, flt, flt || {{Icon|trilogy}} ||set car drive to coordinates || |
|- | |- | ||
|02C3 ||1 || || {{Icon|3}} || || | |02C3 ||1 || || {{Icon|3}} || || | ||
Line 1,266: | Line 1,335: | ||
|02CD ||2 || || {{Icon|3}} {{Icon|VC}} || || | |02CD ||2 || || {{Icon|3}} {{Icon|VC}} || || | ||
|- | |- | ||
− | |[[02CE]] ||4 || | + | |[[02CE]] ||4 ||flt, flt, flt, var || {{Icon|trilogy}} ||get ground z for 3D coord ||parameters rearranged in SB |
|- | |- | ||
− | |02CF ||4 || | + | |02CF ||4 ||flt, flt, flt, var || {{Icon|trilogy}} ||create fire ||parameters rearranged in SB |
|- | |- | ||
|02D0 ||1 ||fire handle || {{Icon|trilogy}} ||check fire is extinguished || | |02D0 ||1 ||fire handle || {{Icon|trilogy}} ||check fire is extinguished || | ||
Line 1,276: | Line 1,345: | ||
|02D2 ||2 || || {{Icon|3}} ||? || | |02D2 ||2 || || {{Icon|3}} ||? || | ||
|- | |- | ||
− | |02D3 ||4 ||car handle, | + | |02D3 ||4 ||car handle, flt, flt, flt || {{Icon|trilogy}} ||set car drive to coord ignore paths || |
|- | |- | ||
|02D4 ||1 ||car handle || {{Icon|trilogy}} ||turn off car engine || | |02D4 ||1 ||car handle || {{Icon|trilogy}} ||turn off car engine || | ||
|- | |- | ||
− | |02D5 ||6 ||player handle, | + | |02D5 ||6 ||player handle, flt, flt, flt, flt, int || {{Icon|3}} {{Icon|VC}} ||check player is shooting in area || |
|- | |- | ||
− | |02D6 ||6 ||char handle, | + | |02D6 ||6 ||char handle, flt, flt, flt, flt, int || {{Icon|SA}} ||check char is shooting in area || |
|- | |- | ||
|02D7 ||2 ||player handle, int || {{Icon|3}} {{Icon|VC}} ||get current player weapon || | |02D7 ||2 ||player handle, int || {{Icon|3}} {{Icon|VC}} ||get current player weapon || | ||
Line 1,296: | Line 1,365: | ||
|02DC ||? || || {{Icon|3}} ||? || | |02DC ||? || || {{Icon|3}} ||? || | ||
|- | |- | ||
− | |02DD ||5 ||string, | + | |02DD ||5 ||string, flt, flt, flt, var || {{Icon|trilogy}} ||get random char in area || |
|- | |- | ||
|02DE ||1 ||player handle || {{Icon|3}} {{Icon|VC}} ||check char is in taxi || | |02DE ||1 ||player handle || {{Icon|3}} {{Icon|VC}} ||check char is in taxi || | ||
Line 1,304: | Line 1,373: | ||
|02E0 ||1 ||char handle || {{Icon|trilogy}} ||check char is aggressive || | |02E0 ||1 ||char handle || {{Icon|trilogy}} ||check char is aggressive || | ||
|- | |- | ||
− | |02E1 ||5 || | + | |02E1 ||5 ||flt, flt, flt, int, var || {{Icon|trilogy}} ||create money pickup ||parameters rearranged in SB |
|- | |- | ||
|02E2 ||2 ||char handle, int || {{Icon|trilogy}} ||set char accuracy || | |02E2 ||2 ||char handle, int || {{Icon|trilogy}} ||set char accuracy || | ||
Line 1,326: | Line 1,395: | ||
|02EB ||0 || || {{Icon|trilogy}} ||cam restore jumpcut || | |02EB ||0 || || {{Icon|trilogy}} ||cam restore jumpcut || | ||
|- | |- | ||
− | |02EC ||3 || | + | |02EC ||3 ||flt, flt, flt || {{Icon|3}} {{Icon|VC}} ||put hidden package || |
|- | |- | ||
|02ED ||1 ||int || {{Icon|trilogy}} ||set total hidden packages || | |02ED ||1 ||int || {{Icon|trilogy}} ||set total hidden packages || | ||
|- | |- | ||
− | |02EE ||6 || | + | |02EE ||6 ||flt, flt, flt, flt, flt, flt || {{Icon|3}} ||check projectile is in area || |
|- | |- | ||
− | |02EF ||6 || | + | |02EF ||6 ||flt, flt, flt, flt, flt, flt || {{Icon|3}} ||remove projectile in area || |
|- | |- | ||
|02F0 ||? || || {{Icon|3}} ||? || | |02F0 ||? || || {{Icon|3}} ||? || | ||
|- | |- | ||
− | |02F1 ||3 || | + | |02F1 ||3 ||flt, flt, flt || {{Icon|3}} ||create exploding barrel || |
|- | |- | ||
|02F2 ||2 ||char handle, int || {{Icon|trilogy}} ||check char is model || | |02F2 ||2 ||char handle, int || {{Icon|trilogy}} ||check char is model || | ||
Line 1,346: | Line 1,415: | ||
|02F5 ||2 || || {{Icon|3}} ||set head anim || | |02F5 ||2 || || {{Icon|3}} ||set head anim || | ||
|- | |- | ||
− | |02F6 ||2 || || {{Icon|trilogy}} ||get cosine ||unused in GTA III, parameters rearranged in SB | + | |02F6 ||2 ||float, var || {{Icon|trilogy}} ||get cosine ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |02F7 ||2 || || {{Icon|trilogy}} ||get sine ||unused in GTA III, parameters rearranged in SB | + | |02F7 ||2 ||float, var || {{Icon|trilogy}} ||get sine ||unused in GTA III, parameters rearranged in SB |
|- | |- | ||
− | |02F8 ||2 ||car handle, var || {{Icon|trilogy}} ||get car z angle | + | |02F8 ||2 ||car handle, var || {{Icon|trilogy}} ||get car z angle sine || |
|- | |- | ||
− | |02F9 ||2 ||car handle, var || {{Icon|trilogy}} ||get car z angle | + | |02F9 ||2 ||car handle, var || {{Icon|trilogy}} ||get car z angle cosine || |
|- | |- | ||
|[[02FA]] ||2 ||garage ID, int || {{Icon|trilogy}} ||change garage type || | |[[02FA]] ||2 ||garage ID, int || {{Icon|trilogy}} ||change garage type || | ||
|- | |- | ||
− | |02FB ||10 || | + | |02FB ||10 ||flt, flt, flt, flt, flt, flt, flt, flt, flt, flt || {{Icon|3}} ||create crusher crane || |
|- | |- | ||
|02FC ||5 ||string, int, int, int, int || {{Icon|3}} ||print text with 2 numbers big ||unused in GTA III | |02FC ||5 ||string, int, int, int, int || {{Icon|3}} ||print text with 2 numbers big ||unused in GTA III | ||
Line 1,432: | Line 1,501: | ||
|0320 ||2 ||char handle, player handle || {{Icon|3}} {{Icon|VC}} || || | |0320 ||2 ||char handle, player handle || {{Icon|3}} {{Icon|VC}} || || | ||
|- | |- | ||
− | |0321 ||1 ||char handle || {{Icon| | + | |0321 ||1 ||char handle || {{Icon|trilogy}} ||set char to die || |
|- | |- | ||
|0322 ||1 ||player handle || {{Icon|3}} {{Icon|VC}} ||set player to die || | |0322 ||1 ||player handle || {{Icon|3}} {{Icon|VC}} ||set player to die || | ||
|- | |- | ||
− | |0323 ||2 ||car handle, int || {{Icon| | + | |0323 ||2 ||car handle, int || {{Icon|trilogy}} || || |
|- | |- | ||
|[[0324]] ||3 ||string, int, int || {{Icon|3}} {{Icon|VC}} ||set pedgroup info || | |[[0324]] ||3 ||string, int, int || {{Icon|3}} {{Icon|VC}} ||set pedgroup info || | ||
|- | |- | ||
− | |[[0325]] ||2 ||car handle, fire handle || {{Icon| | + | |[[0325]] ||2 ||car handle, fire handle || {{Icon|trilogy}} ||start car fire ||parameters rearranged in SB |
|- | |- | ||
− | |0326 ||2 ||char handle, fire handle || {{Icon| | + | |0326 ||2 ||char handle, fire handle || {{Icon|trilogy}} ||start char fire ||parameters rearranged in SB |
|- | |- | ||
− | |0327 ||6 ||int, | + | |0327 ||6 ||int, flt, flt, flt, flt, char handle || {{Icon|trilogy}} ||get random char in area ||parameters rearranged in SB |
|- | |- | ||
|0328 ||? || || {{Icon|3}} ||? || | |0328 ||? || || {{Icon|3}} ||? || | ||
Line 1,450: | Line 1,519: | ||
|0329 ||1 ||garage ID || {{Icon|3}} {{Icon|VC}} ||check garage respray done || | |0329 ||1 ||garage ID || {{Icon|3}} {{Icon|VC}} ||check garage respray done || | ||
|- | |- | ||
− | |032A ||1 || || {{Icon| | + | |032A ||1 || || {{Icon|trilogy}} || || |
|- | |- | ||
− | |032B ||7 || || {{Icon| | + | |032B ||7 || || {{Icon|trilogy}} ||create weapon pickup ||parameters rearranged in SB |
|- | |- | ||
|032C ||2 || || {{Icon|3}} {{Icon|VC}} || || | |032C ||2 || || {{Icon|3}} {{Icon|VC}} || || | ||
Line 1,462: | Line 1,531: | ||
|032F ||0 || || ||unsupported || | |032F ||0 || || ||unsupported || | ||
|- | |- | ||
− | |[[0330]] ||2 ||player handle, int || {{Icon| | + | |[[0330]] ||2 ||player handle, int || {{Icon|trilogy}} ||set player never gets tired || |
|- | |- | ||
− | |0331 ||2 ||player handle, int || {{Icon| | + | |0331 ||2 ||player handle, int || {{Icon|trilogy}} ||set player fast reload || |
|- | |- | ||
− | |[[0332]] ||2 ||char handle, int || {{Icon| | + | |[[0332]] ||2 ||char handle, int || {{Icon|trilogy}} ||set char bleeding || |
|- | |- | ||
|0333 ||? || || {{Icon|3}} ||? || | |0333 ||? || || {{Icon|3}} ||? || | ||
Line 1,472: | Line 1,541: | ||
|0334 ||? || || {{Icon|3}} ||? || | |0334 ||? || || {{Icon|3}} ||? || | ||
|- | |- | ||
− | |0335 ||1 ||int || {{Icon| | + | |0335 ||1 ||int || {{Icon|trilogy}} ||set free resprays || |
|- | |- | ||
|0336 ||2 ||player handle, int || {{Icon|3}} {{Icon|VC}} || || | |0336 ||2 ||player handle, int || {{Icon|3}} {{Icon|VC}} || || | ||
|- | |- | ||
− | |0337 ||2 ||char handle, int || {{Icon| | + | |0337 ||2 ||char handle, int || {{Icon|trilogy}} ||set char visibility || |
|- | |- | ||
|0338 ||2 ||car handle, int ||{{Icon|SA}} ||set car visibility || | |0338 ||2 ||car handle, int ||{{Icon|SA}} ||set car visibility || | ||
|- | |- | ||
− | |0339 ||11 || | + | |0339 ||11 ||flt, flt, flt, flt, flt, flt, int, int, int, int, int || {{Icon|trilogy}} ||check anything in area || |
|- | |- | ||
|033A ||0 || || {{Icon|3}} || || | |033A ||0 || || {{Icon|3}} || || | ||
Line 1,490: | Line 1,559: | ||
|033D ||? || || {{Icon|3}} ||? || | |033D ||? || || {{Icon|3}} ||? || | ||
|- | |- | ||
− | |[[033E]] ||3 ||string, int, int || {{Icon| | + | |[[033E]] ||3 ||string, int, int || {{Icon|trilogy}} ||text draw || |
|- | |- | ||
− | |033F ||2 || | + | |033F ||2 ||flt, flt || {{Icon|trilogy}} ||set text draw size || |
|- | |- | ||
− | |0340 ||4 ||int, int, int, int || {{Icon| | + | |0340 ||4 ||int, int, int, int || {{Icon|trilogy}} ||set text draw colors || |
|- | |- | ||
− | |0341 ||1 ||int || {{Icon| | + | |0341 ||1 ||int || {{Icon|trilogy}} || || |
|- | |- | ||
− | |0342 ||1 ||int || {{Icon| | + | |0342 ||1 ||int || {{Icon|trilogy}} ||set text draw centered || |
|- | |- | ||
− | |0343 ||1 || | + | |0343 ||1 ||flt || {{Icon|trilogy}} ||set text draw line width || |
|- | |- | ||
|0344 ||1 || || {{Icon|3}} {{Icon|SA}} || || | |0344 ||1 || || {{Icon|3}} {{Icon|SA}} || || | ||
|- | |- | ||
− | |0345 ||1 ||int || {{Icon| | + | |0345 ||1 ||int || {{Icon|trilogy}} ||set text draw background || |
|- | |- | ||
|0346 ||4 || || {{Icon|3}} || || | |0346 ||4 || || {{Icon|3}} || || | ||
Line 1,510: | Line 1,579: | ||
|0347 ||1 || || {{Icon|3}} || || | |0347 ||1 || || {{Icon|3}} || || | ||
|- | |- | ||
− | |0348 ||1 ||int || {{Icon| | + | |0348 ||1 ||int || {{Icon|trilogy}} || || |
|- | |- | ||
|[[0349]] ||1 ||int || {{Icon|3}} {{Icon|SA}} ||set text draw font || | |[[0349]] ||1 ||int || {{Icon|3}} {{Icon|SA}} ||set text draw font || | ||
Line 1,520: | Line 1,589: | ||
|034C ||0 || || {{Icon|3}} || || | |034C ||0 || || {{Icon|3}} || || | ||
|- | |- | ||
− | |034D ||4 ||object handle, | + | |034D ||4 ||object handle, flt, flt, int || {{Icon|trilogy}} || ||IF and SET |
|- | |- | ||
− | |034E ||8 ||object handle, | + | |034E ||8 ||object handle, flt, flt, flt, flt, flt, flt, int || {{Icon|trilogy}} || ||IF and SET |
|- | |- | ||
− | |034F ||1 ||char handle || {{Icon| | + | |034F ||1 ||char handle || {{Icon|trilogy}} || || |
|- | |- | ||
− | |0350 ||2 ||char handle, int || {{Icon| | + | |0350 ||2 ||char handle, int || {{Icon|trilogy}} ||set char maintain position when attacked || |
|- | |- | ||
|0351 ||0 || || {{Icon|3}} ||check gore is enabled || | |0351 ||0 || || {{Icon|3}} ||check gore is enabled || | ||
Line 1,550: | Line 1,619: | ||
|035B ||4 || || {{Icon|3}} || || | |035B ||4 || || {{Icon|3}} || || | ||
|- | |- | ||
− | |035C ||5 ||object handle, car handle, | + | |035C ||5 ||object handle, car handle, flt, flt, flt || {{Icon|trilogy}} ||place object relative to car || |
|- | |- | ||
− | |035D ||1 ||object handle || {{Icon| | + | |035D ||1 ||object handle || {{Icon|trilogy}} ||make object targettable ||two parameters in San Andreas |
|- | |- | ||
|035E ||2 ||player handle, int || {{Icon|3}} {{Icon|VC}} ||add armour to player || | |035E ||2 ||player handle, int || {{Icon|3}} {{Icon|VC}} ||add armour to player || | ||
|- | |- | ||
− | |035F ||2 ||char handle, int || {{Icon| | + | |035F ||2 ||char handle, int || {{Icon|trilogy}} ||add armour to char || |
|- | |- | ||
− | |[[0360]] ||1 ||garage ID || {{Icon| | + | |[[0360]] ||1 ||garage ID || {{Icon|trilogy}} ||open garage || |
|- | |- | ||
− | |[[0361]] ||1 ||garage ID || {{Icon| | + | |[[0361]] ||1 ||garage ID || {{Icon|trilogy}} ||close garage || |
|- | |- | ||
− | |0362 ||4 ||char handle, | + | |0362 ||4 ||char handle, flt, flt, flt || {{Icon|trilogy}} ||warp char from car to coord || |
|- | |- | ||
− | |0363 ||6 || | + | |0363 ||6 ||flt, flt, flt, flt, int, int || {{Icon|trilogy}} ||set object model visibility || |
|- | |- | ||
|0364 ||2 ||char handle, char handle ||{{Icon|SA}} ||check has char spotted char || | |0364 ||2 ||char handle, char handle ||{{Icon|SA}} ||check has char spotted char || | ||
Line 1,570: | Line 1,639: | ||
|0365 ||1 ||char handle || {{Icon|3}} {{Icon|VC}} || || | |0365 ||1 ||char handle || {{Icon|3}} {{Icon|VC}} || || | ||
|- | |- | ||
− | |0366 ||1 ||object handle || {{Icon| | + | |0366 ||1 ||object handle || {{Icon|trilogy}} ||check has object been damaged || |
|- | |- | ||
|0367 ||9 || || {{Icon|3}} || || | |0367 ||9 || || {{Icon|3}} || || | ||
|- | |- | ||
− | |0368 ||10 || | + | |0368 ||10 ||flt, flt, flt, flt, flt, flt, flt, flt, flt, flt || {{Icon|3}} ||create ev crane || |
|- | |- | ||
|0369 ||2 ||player handle, car handle || {{Icon|3}} {{Icon|VC}} || || | |0369 ||2 ||player handle, car handle || {{Icon|3}} {{Icon|VC}} || || | ||
Line 1,602: | Line 1,671: | ||
|0375 ||4 || || {{Icon|3}} || || | |0375 ||4 || || {{Icon|3}} || || | ||
|- | |- | ||
− | |0376 ||4 || | + | |0376 ||4 ||flt, flt, flt, var || {{Icon|trilogy}} ||create random char ||parameters rearranged in SB |
|- | |- | ||
|0377 ||1 ||char handle || {{Icon|3}} {{Icon|VC}} || || | |0377 ||1 ||char handle || {{Icon|3}} {{Icon|VC}} || || | ||
Line 1,618: | Line 1,687: | ||
|037D ||5 || || {{Icon|3}} || || | |037D ||5 || || {{Icon|3}} || || | ||
|- | |- | ||
− | |037E ||6 || | + | |037E ||6 ||flt, flt, flt, flt, flt, flt || {{Icon|3}} {{Icon|VC}} ||check sniper bullet is in area || |
|- | |- | ||
|037F ||0 || || {{Icon|3}} || || | |037F ||0 || || {{Icon|3}} || || | ||
Line 1,642: | Line 1,711: | ||
|0389 ||7 || || {{Icon|3}} || || | |0389 ||7 || || {{Icon|3}} || || | ||
|- | |- | ||
− | |038A ||6 || | + | |038A ||6 ||flt, flt, flt, flt, flt, flt || {{Icon|trilogy}} ||check any cars in area || |
|- | |- | ||
|038B ||0 || || {{Icon|trilogy}} ||load requested models || | |038B ||0 || || {{Icon|trilogy}} ||load requested models || | ||
|- | |- | ||
− | |038C ||4 ||object handle, | + | |038C ||4 ||object handle, flt, flt, flt || {{Icon|trilogy}} ||scatter object || |
|- | |- | ||
− | |038D ||9 ||int, | + | |038D ||9 ||int, flt, flt, flt, flt, int, int, int, int, || {{Icon|trilogy}} ||draw texture ||unused in GTA III and Vice City |
|- | |- | ||
− | |038E ||8 || | + | |038E ||8 ||flt, flt, flt, flt, int, int, int, int || {{Icon|trilogy}} ||draw rectangle ||unused in GTA III and Vice City |
|- | |- | ||
− | |[[038F]] ||2 ||int, string || {{Icon|trilogy}} ||get texture from txd ||unused in GTA III and Vice City | + | |[[038F]] ||2 ||int, string || {{Icon|trilogy}} ||get texture from txd ||unused in GTA III and Vice City , parameters rearranged in SB in San Andreas |
|- | |- | ||
|0390 ||1 ||string || {{Icon|trilogy}} ||load txd ||unused in GTA III and Vice City | |0390 ||1 ||string || {{Icon|trilogy}} ||load txd ||unused in GTA III and Vice City | ||
+ | |- | ||
+ | |0391 ||0 || || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |0392 ||2 ||object handle, int || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |0393 ||? || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |0394 ||1 ||int || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |0395 ||5 ||int, float, float, float, float || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |0396 ||1 ||global var || {{Icon|trilogy}} ||freeze onscreen timer || | ||
+ | |- | ||
+ | |0397 ||2 ||car handle, int || {{Icon|trilogy}} ||switch car siren || | ||
+ | |- | ||
+ | |0398 ||7 ||float, float, float, float, float, float, float || {{Icon|3}} || || | ||
+ | |- | ||
+ | |0399 ||7 ||float, float, float, float, float, float, float || {{Icon|3}} || || | ||
+ | |- | ||
+ | |039A ||7 ||float, float, float, float, float, float, float || {{Icon|3}} || || | ||
+ | |- | ||
+ | |039B ||7 ||float, float, float, float, float, float, float || {{Icon|3}} || || | ||
+ | |- | ||
+ | |039C ||2 ||car handle, int || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |039D ||12 || || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB | ||
+ | |- | ||
+ | |039E ||2 ||char handle, int || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |039F ||3 ||car handle, float, float || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03A0 ||3 ||car handle, float, float || {{Icon|3}} ||check car is picked up by crane || | ||
+ | |- | ||
+ | |03A1 ||4 ||float, float, float, float || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03A2 ||2 ||car handle, int || {{Icon|trilogy}} ||set car action || | ||
+ | |- | ||
+ | |03A3 ||1 ||char handle || {{Icon|trilogy}} ||check char is male || | ||
+ | |- | ||
+ | |[[03A4]] ||1 ||string || {{Icon|trilogy}} ||name thread || | ||
+ | |- | ||
+ | |03A5 ||3 ||garage ID, int, int || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03A6 ||3 ||var, var, var || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03A7 ||1 ||nop || {{Icon|trilogy}} ||no operation || | ||
+ | |- | ||
+ | |03A8 ||1 ||nop || {{Icon|trilogy}} ||no operation || | ||
+ | |- | ||
+ | |03A9 ||0 ||nop || {{Icon|trilogy}} ||no operation || | ||
+ | |- | ||
+ | |03AA ||3 ||float, float, float || {{Icon|3}} {{Icon|VC}} ||play suspect last seen || | ||
+ | |- | ||
+ | |03AB ||2 ||car handle, int || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03AC ||1 ||int || {{Icon|3}} {{Icon|VC}} || || | ||
+ | |- | ||
+ | |03AD ||1 ||int || {{Icon|3}} {{Icon|VC}} || || | ||
+ | |- | ||
+ | |03AE ||6 ||float, float, float, float, float, float || {{Icon|3}} {{Icon|VC}} || || | ||
+ | |- | ||
+ | |03AF ||1 ||int || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |[[03B0]] ||1 ||garage ID || {{Icon|trilogy}} ||check garage is open || | ||
+ | |- | ||
+ | |03B1 ||1 ||garage ID || {{Icon|trilogy}} ||check garage is closed || | ||
+ | |- | ||
+ | |03B2 ||0 || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03B3 ||0 || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03B4 ||0 || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03B5 ||0 || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03B6 ||6 ||flt, flt, flt, flt, int, int || {{Icon|trilogy}} ||swap nearest building model || | ||
+ | |- | ||
+ | |03B7 ||1 ||int || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03B8 ||1 ||player handle || {{Icon|3}} {{Icon|VC}} || || | ||
+ | |- | ||
+ | |03B9 ||1 || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03BA ||6 ||flt, flt, flt, flt, flt, flt || {{Icon|trilogy}} ||clear area of cars || | ||
+ | |- | ||
+ | |03BB ||1 ||garage ID || {{Icon|3}} {{Icon|VC}} ||set garage door to swing open || | ||
+ | |- | ||
+ | |03BC ||5 || || {{Icon|trilogy}} || ||parameters rearranged in SB | ||
+ | |- | ||
+ | |03BD ||1 || || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03BE ||? || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03BF ||2 ||player handle, int || {{Icon|trilogy}} ||set everyone ignore player || | ||
+ | |- | ||
+ | |03C0 ||2 ||char handle, var || {{Icon|trilogy}} || ||parameters rearranged in SB | ||
+ | |- | ||
+ | |03C1 ||2 ||player handle, var || {{Icon|3}} {{Icon|VC}} || ||parameters rearranged in SB | ||
+ | |- | ||
+ | |03C2 ||1 || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03C3 ||3 ||global var, int, string || {{Icon|trilogy}} ||display onscreen timer || | ||
+ | |- | ||
+ | |03C4 ||3 ||global var, int, string || {{Icon|trilogy}} ||display onscreen counter || | ||
+ | |- | ||
+ | |[[03C5]] ||4 ||flt, flt, flt, flt || {{Icon|trilogy}} ||create random car for car park || | ||
+ | |- | ||
+ | |03C6 ||1 || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03C7 ||1 ||float || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03C8 ||0 || || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03C9 ||1 || || {{Icon|3}} || || | ||
+ | |- | ||
+ | |03CA ||1 ||object handle || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03CB ||3 ||flt, flt, flt || {{Icon|trilogy}} || || | ||
+ | |- | ||
+ | |03CC ||3 ||car handle, flt, int || {{Icon|trilogy}} ||add stuck car check || | ||
+ | |- | ||
+ | |03CD ||1 ||car handle || {{Icon|trilogy}} ||remove stuck car check || | ||
+ | |- | ||
+ | |03CE ||1 ||car handle || {{Icon|trilogy}} ||check car is stuck || | ||
+ | |- | ||
+ | |03CF ||2 || || {{Icon|trilogy}} || ||parameters rearranged in SB | ||
|} | |} | ||
+ | Some abbreviations and phrases used in this list: | ||
+ | ;int: integer value | ||
+ | ;flt: floating-point value | ||
+ | ;var: variable to store a value or handle, either global or local unless specified | ||
+ | ;char: character including actor and ped, apart from the player and special actor | ||
+ | ;car: vehicle including car, bike, helicopter, plane, etc. unless specified | ||
+ | ;unused in...: opcode was never used in the game but is usable | ||
+ | ;parameters rearranged...: opcodes' parameters were rearranged from their original order mainly for sake of readability | ||
==Reference== | ==Reference== |
Revision as of 20:38, 4 March 2010
This is a list of all opcodes, including nops and unsupported ones, in GTA III, Vice City, and San Andreas. Brief descriptions and notes are added to the list for quick and easy access to information.
Opcode | P | Parameter type | Games | Brief description | Notes |
---|---|---|---|---|---|
0000 | 0 | nop | no operation | special use in CLEO | |
0001 | 1 | int | wait | ||
0002 | 1 | label | jump to label | ||
0003 | 1 | int | shake camera | ||
0004 | 2 | global var, int | set global to int (G = I) | ||
0005 | 2 | global var, flt | set global to float (G = F) | ||
0006 | 2 | local var, int | set local to int (L = I)) | ||
0007 | 2 | local var, flt | set local to float (L = F)) | unused in GTA III | |
0008 | 2 | global var, int | add global to int (G += I) | ||
0009 | 2 | global var, flt | add global to float (G += F) | ||
000A | 2 | local var, int | add local to int (L += I) | unused in GTA III | |
000B | 2 | local var, flt | add local to float (L += F) | unused in GTA III | |
000C | 2 | int, int | subtract global to int (G -= I) | ||
000D | 2 | float, float | subtract global to float (G -= F) | ||
000E | 2 | int, int | subtract local to int (L -= I) | unused in GTA III | |
000F | 2 | float, float | subtract local to float (L -= F) | unused in GTA III | |
0010 | 2 | int, int | multiply global to int (G *= I) | ||
0011 | 2 | float, float | multiply global to float (G *= F) | ||
0012 | 2 | int, int | multiply local to int (L *= I) | unused in GTA III and Vice City | |
0013 | 2 | float, float | multiply local to float (L *= F) | unused in GTA III and Vice City | |
0014 | 2 | int, int | divide global to int (G /= I) | ||
0015 | 2 | float, float | divide global to float (G /= F) | ||
0016 | 2 | int, int | divide local to int (L /= I) | unused in GTA III and Vice City | |
0017 | 2 | float, float | divide local to float (L /= F) | unused in GTA III and Vice City | |
0018 | 2 | int, int | check global greater than int (G > I) | ||
0019 | 2 | int, int | check local greater than int (L > I) | ||
001A | 2 | int, int | check int greater than global (I > G) | ||
001B | 2 | int, int | check int greater than local (I > L) | ||
001C | 2 | int, int | check global int greater than global int (G > G int) | ||
001D | 2 | int, int | check local int greater than local int (L > L int) | unused in GTA III and Vice City | |
001E | 2 | int, int | check global int greater than local int (G > L int) | unused in GTA III | |
001F | 2 | int, int | check local int greater than global int (L > G int) | ||
0020 | 2 | float, float | check global greater than float (G > F) | ||
0021 | 2 | float, float | check local greater than float (L > F) | unused in GTA III | |
0022 | 2 | float, float | check float greater than global (F > G) | ||
0023 | 2 | float, float | check float greater than local (F > L) | unused in GTA III | |
0024 | 2 | float, float | check global float greater than global float (G > G float) | ||
0025 | 2 | float, float | check local float greater than local float (L > L float) | unused in GTA III and Vice City | |
0026 | 2 | float, float | check global float greater than local float (G > L float) | unused in GTA III and Vice City | |
0027 | 2 | float, float | check local float greater than global float (L > G float) | unused in GTA III | |
0028 | 2 | int, int | check global greater than or equal to int (G >= I) | ||
0029 | 2 | int, int | check local greater than or equal to int (L >= I) | ||
002A | 2 | int, int | check int greater than or equal to global (I >= G) | ||
002B | 2 | int, int | check int greater than or equal to local (I >= L) | unused in Vice City | |
002C | 2 | int, int | check global int greater than or equal to global int (G >= G int) | unused in GTA III and Vice City | |
002D | 2 | int, int | check local int greater than or equal to local int (L >= L int) | unused in GTA III and Vice City | |
002E | 2 | int, int | check global int greater than or equal to local int (G >= L int) | unused in GTA III and Vice City | |
002F | 2 | int, int | check local int greater than or equal to local int (L >= G int) | unused in GTA III | |
0030 | 2 | float, float | check global greater than or equal to float (G >= F) | unused in GTA III | |
0031 | 2 | float, float | check local greater than or equal to float (L >= F) | unused in GTA III and Vice City | |
0032 | 2 | float, float | check float greater than or equal to global (F >= G) | unused in GTA III | |
0033 | 2 | float, float | check float greater than or equal to local (F >= L) | unused in GTA III and Vice City | |
0034 | 2 | float, float | check global float greater than or equal to global float (G >= G float) | unused in GTA III and Vice City | |
0035 | 2 | float, float | check local float greater than or equal to local float (L >= L float) | unused in GTA III and Vice City | |
0036 | 2 | float, float | check global float greater than or equal to local float (G >= L float) | unused in GTA III and Vice City | |
0037 | 2 | float, float | check local float greater than or equal to global float (L >= G float) | unused in GTA III and Vice City | |
0038 | 2 | int, int | check global equal to integer (G == I) | ||
0039 | 2 | int, int | check local equal to integer (L == I) | ||
003A | 2 | int, int | check global integer equal to global integer (G == G int) | ||
003B | 2 | int, int | check local integer equal to local integer (L == L int) | unused in GTA III and Vice City | |
003C | 2 | int, int | check global integer equal to local integer (G == L int) | unused in GTA III and Vice City | |
003D | 0 | unsupported | |||
003E | 0 | unsupported | |||
003F | 0 | unsupported | |||
0040 | 0 | unsupported | |||
0041 | 0 | unsupported | |||
0042 | 2 | float, float | check global equal to float (G == F) | ||
0043 | 2 | float, float | check local equal to float (L == F) | unused in GTA III | |
0044 | 2 | float, float | check global float equal to global float (G == G float) | unused in GTA III and Vice City | |
0045 | 2 | float, float | check local float equal to local float (L == L float) | unused in GTA III and Vice City | |
0046 | 2 | float, float | check global float equal to local float (G == L float) | unused in GTA III, Vice City, and San Andreas | |
0047 | 0 | unsupported | |||
0048 | 0 | unsupported | |||
0049 | 0 | unsupported | |||
004A | 0 | unsupported | |||
004B | 0 | unsupported | |||
004C | 1 | label | jump to label if true | unused in GTA III | |
004D | 1 | label | jump to label if false | ||
004E | 0 | end thread | |||
004F | -1 | label | create thread | ||
0050 | 1 | label | gosub | ||
0051 | 0 | return | |||
0052 | ? | ? | |||
0053 | 5 | int, float, float, float, player handle | create player | parameters rearranged in SB | |
0054 | 4 | player handle, var, var, var | get player coordinates | ||
0055 | 4 | player handle, int, int, int | set player at coordinates | ||
0056 | 6 | player handle, float, float, float, float, int | check player is in 2D area | parameters rearranged in SB | |
0057 | 8 | player handle, float, float, float, float, float, float, int | check player is in 3D area | parameters rearranged in SB | |
0058 | 2 | int, int | add global integer to global integer (G += G int) | ||
0059 | 2 | float, float | add global float to global float (G += G float) | ||
005A | 2 | int, int | add local integer to local integer (L += L int) | unused in GTA III and Vice City | |
005B | 2 | float, float | add local float to local float (L += L float) | unused in GTA III and Vice City | |
005C | 2 | int, int | add local integer to global integer (L += G int) | unused in GTA III and Vice City | |
005D | 2 | float, float | add local float to global float (L += G float) | unused in GTA III and Vice City | |
005E | 2 | int, int | add global integer to local integer (G += L int) | unused in GTA III and Vice City | |
005F | 2 | float, float | add global float to local float (G += L float) | unused in GTA III and Vice City | |
0060 | 2 | int, int | subtract global integer to global integer (G -= G int) | ||
0061 | 2 | float, float | subtract global float to global float (G -= G float) | ||
0062 | 2 | int, int | subtract local integer to local integer (L -= L int) | unused in GTA III and Vice City | |
0063 | 2 | float, float | subtract local float to local float (L -= L float) | unused in GTA III and Vice City | |
0064 | 2 | int, int | subtract local integer to global integer (L -= G int) | unused in GTA III and Vice City | |
0065 | 2 | float, float | subtract local float to global float (L -= G float) | unused in GTA III and Vice City | |
0066 | 2 | int, int | subtract global integer to local integer (G -= L int) | unused in GTA III and Vice City | |
0067 | 2 | float, float | subtract global float to local float (G -= L float) | unused in GTA III | |
0068 | 2 | global, global | multiply global int to global int (G *= G int) | ||
0069 | 2 | global, global | multiply global float to global float (G *= G float) | ||
006A | 2 | local, local | multiply local int to local int (L *= L int) | unused in GTA III and Vice City | |
006B | 2 | local, local | multiply int float to int float (L *= L float) | unused in GTA III and Vice City | |
006C | 2 | local, float | multiply local to float (L *= F) | unused in GTA III, Vice City, and San Andreas | |
006D | 2 | global, float | multiply global to float (G *= F) | unused in GTA III and Vice City | |
006E | 2 | global, local | multiply global int to local int (G *= L int) | unused in GTA III and Vice City | |
006F | 2 | global, local | multiply global float to local float (G *= L float) | unused in GTA III and Vice City | |
0070 | 2 | global, global | divide global int by global int (G /= G int) | unused in San Andreas | |
0071 | 2 | global, global | divide global float by global float (G /= G float) | ||
0072 | 2 | local, local | divide local int by local int (L /= L int) | unused in GTA III and Vice City | |
0073 | 2 | local, local | divide local float by local float (L /= L float) | unused in GTA III and Vice City | |
0074 | 2 | local, global | divide local int by global int (L /= G int) | unused in GTA III and Vice City | |
0075 | 2 | local, global | divide local float by global float (L /= G float) | unused in GTA III and Vice City | |
0076 | 2 | global, local | divide global int by local int (G /= L int) | unused in GTA III, Vice City, and San Andreas | |
0077 | 2 | global, local | divide global float by local float (G /= L float) | unused in GTA III | |
0078 | 2 | unused in GTA III | |||
0079 | 2 | unused in GTA III and Vice City | |||
007A | 2 | unused in GTA III and Vice City | |||
007B | 2 | unused in GTA III and Vice City | |||
007C | 2 | unused in GTA III, Vice City, and San Andreas | |||
007D | 2 | unused in GTA III and Vice City | |||
007E | 2 | unused in GTA III and Vice City | |||
007F | 2 | unused in GTA III and Vice City | |||
0080 | 2 | unused in GTA III and Vice City | |||
0081 | 2 | unused in GTA III and Vice City | |||
0082 | 2 | unused in GTA III and Vice City | |||
0083 | 2 | unused in GTA III and Vice City | |||
0084 | 2 | global, global | set global integer equal to global integer (G = G int) | ||
0085 | 2 | local, local | set local integer equal to local integer (L = L int) | unused in GTA III | |
0086 | 2 | global, global | set global float equal to global float (G = G float) | ||
0087 | 2 | local, local | set local float equal to local float (L = L float) | unused in GTA III | |
0088 | 2 | global, local | set global float equal to local float (G = L float) | unused in GTA III | |
0089 | 2 | local, global | set local float equal to global float (L = G float) | unused in GTA III | |
008A | 2 | global, local | set global integer equal to local integer (G = L int) | unused in GTA III | |
008B | 2 | local, global | set local integer equal to global integer (L = G int) | unused in GTA III | |
008C | 2 | int, float | convert global float to global int | ||
008D | 2 | float, int | convert global int to global float | ||
008E | 2 | int, float | convert local float to global int | unused in GTA III and Vice City | |
008F | 2 | float, int | convert local int to global float | unused in GTA III and Vice City | |
0090 | 2 | int, float | convert global float to local int | unused in GTA III and Vice City | |
0091 | 2 | float, int | convert global int to local float | unused in GTA III and Vice City | |
0092 | 2 | int, float | convert local float to local int | unused in GTA III and Vice City | |
0093 | 2 | float, int | convert local int to local float | unused in GTA III and Vice City | |
0094 | 1 | int | absolute value of global int | unused in GTA III and Vice City | |
0095 | 1 | int | absolute value of local int | unused in GTA III and Vice City | |
0096 | 1 | float | absolute value of global float | unused in GTA III and Vice City | |
0097 | 1 | float | absolute value of local float | unused in GTA III and Vice City | |
0098 | 1 | float | generate random float in range 0 to 1 | unused in GTA III, Vice City, and San Andreas | |
0099 | 1 | int | generate random int in range 0 to 65535 | ||
009A | 6 | int, int, flt, flt, flt, char handle | create char | parameters rearranged in SB | |
009B | 1 | char handle | delete char | ||
009C | 2 | char handle, int | set char to wander path | ||
009D | 0 | unsupported | |||
009E | 6 | char handle, flt, flt, flt, flt, int | set char path | unused in GTA III | |
009F | 1 | char handle | set char objective to -1 | ||
00A0 | 4 | char, var, var, var | get char coordinates | ||
00A1 | 4 | char, flt, flt, flt | set char at coordinates | ||
00A2 | 1 | char handle | check char alive | ||
00A3 | 6 | char handle, flt, flt, flt, flt, int | check char is in 2D area | ||
00A4 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | check char is in 3D area | ||
00A5 | 5 | int, flt, flt, flt, car handle | create car | parameters rearranged in SB | |
00A6 | 1 | car handle | delete car | ||
00A7 | 4 | car handle, flt, flt, flt | car drive to coordinate | ||
00A8 | 1 | car handle | set car to psycho driver | ||
00A9 | 1 | car handle | reset car from psycho driver | ||
00AA | 4 | car handle, var, var, var | get car coordinates | ||
00AB | 4 | car handle, flt, flt, flt | set car at coordinates | ||
00AC | 1 | car handle | check car is on land | ||
00AD | 2 | car handle, flt | set car speed | ||
00AE | 2 | car handle, int | set car traffic behavior | ||
00AF | 2 | car handle, int | set car driver behavior | ||
00B0 | 6 | car handle, flt, flt, flt, flt, int | check car is in 2D area | ||
00B1 | 8 | car handle, flt, flt, flt, flt, flt, flt, int | check car is in 3D area | ||
00B2 | 0 | unsupported | |||
00B3 | 0 | unsupported | |||
00B4 | 0 | unsupported | |||
00B5 | 0 | unsupported | |||
00B6 | 0 | unsupported | |||
00B7 | 0 | unsupported | |||
00B8 | 0 | unsupported | |||
00B9 | 0 | unsupported | |||
00BA | 3 | string, int, int | print text big | ||
00BB | 3 | string, int, int | print text | ||
00BC | 3 | string, int, int | print text now | ||
00BD | 3 | string, int, int | print medium priority text | ||
00BE | 0 | clear all text | |||
00BF | 2 | var, var | get time of day | ||
00C0 | 2 | int, int | set time of day | ||
00C1 | 3 | int, int, var | get minutes to time of day | parameters rearranged in SB | |
00C2 | 4 | flt, flt, flt, flt | check is sphere on screen | ||
00C3 | 0 | enter debug mode | |||
00C4 | 0 | exit debug mode | |||
00C5 | 0 | true | |||
00C6 | 0 | false | |||
00C7 | 0 | unsupported | |||
00C8 | 0 | unsupported | |||
00C9 | 0 | unsupported | |||
00CA | 0 | unsupported | |||
00CB | 0 | unsupported | |||
00CC | 0 | unsupported | |||
00CD | 0 | unsupported | |||
00CE | 0 | unsupported | |||
00CF | 0 | unsupported | |||
00D0 | 0 | unsupported | |||
00D1 | 0 | unsupported | |||
00D2 | 0 | unsupported | |||
00D3 | 0 | unsupported | |||
00D4 | 0 | unsupported | |||
00D5 | 0 | unsupported | |||
00D6 | 1 | int | if | ||
00D7 | 1 | label | create thread | like 004F but only one parameter | |
00D8 | 0 | mission cleanup | |||
00D9 | 2 | char handle, var | get char's car | parameters rearranged in SB | |
00DA | 2 | player handle, var | get player's car | parameters rearranged in SB | |
00DB | 2 | char handle, car handle | check char is in car | ||
00DC | 2 | player handle, car handle | check player is in car | ||
00DD | 2 | char handle, int | check char is in car model | unused in GTA III | |
00DE | 2 | player handle, int | check player is in car model | ||
00DF | 1 | char handle | check char is in any car | ||
00E0 | 1 | player handle | check player is in any car | ||
00E1 | 2 | int, int | check key is pressing | ||
00E2 | 2 | int, int, var | get key is pressing | unused in GTA III, Vice City, and San Andreas | |
00E3 | 6 | player handle, flt, flt, flt, flt, int | check player is in 2D area | parameters rearranged in SB | |
00E4 | 6 | player handle, flt, flt, flt, flt, int | check player is in 2D area on foot | parameters rearranged in SB | |
00E5 | 6 | player handle, flt, flt, flt, flt, int | check player is in 2D area in car | parameters rearranged in SB | |
00E6 | 6 | player handle, flt, flt, flt, flt, int | check player is stopped in 2D area | unused in Vice City, parameters rearranged in SB | |
00E7 | 6 | player handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00E8 | 6 | player handle, flt, flt, flt, flt, int | unused in Vice City, parameters rearranged in SB | ||
00E9 | 5 | player handle, char handle, flt, flt, int | parameters rearranged in SB | ||
00EA | 5 | player handle, char handle, flt, flt, int | parameters rearranged in SB | ||
00EB | 5 | player handle, char handle, flt, flt, int | parameters rearranged in SB | ||
00EC | 6 | char handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00ED | 6 | char handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00EE | 6 | char handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00EF | 6 | char handle, flt, flt, flt, flt, int | unused in Vice City, parameters rearranged in SB | ||
00F0 | 6 | char handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00F1 | 6 | char handle, flt, flt, flt, flt, int | unused in Vice City and San Andreas, parameters rearranged in SB | ||
00F2 | 5 | char handle, char handle, flt, flt, int | unused in GTA III | ||
00F3 | 5 | char handle, char handle, flt, flt, int | unused in GTA III | ||
00F4 | 5 | char handle, char handle, flt, flt, int | unused in GTA III and Vice City | ||
00F5 | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00F6 | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00F7 | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00F8 | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00F9 | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00FA | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00FB | 6 | player handle, char handle, flt, flt, flt, int | parameters rearranged in SB | ||
00FC | 6 | player handle, char handle, flt, flt, flt, int | parameters rearranged in SB | ||
00FD | 6 | player handle, char handle, flt, flt, flt, int | parameters rearranged in SB | ||
00FE | 8 | char handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
00FF | 8 | char handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
0100 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | unused in GTA III | ||
0101 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | unused in GTA III | ||
0102 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | unused in GTA III | ||
0103 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | unused in Vice City | ||
0104 | 6 | char handle, char handle, flt, flt, flt, flt, int | unused in GTA III | ||
0105 | 6 | char handle, char handle, flt, flt, flt, flt, int | unused in GTA III and Vice City | ||
0106 | 6 | char handle, char handle, flt, flt, flt, flt, int | unused in GTA III and Vice City | ||
0107 | 5 | int, flt, flt, flt, object handle | create object | parameters rearranged in SB | |
0108 | 1 | object handle | delete object | ||
0109 | 2 | player handle, int | add player money | ||
010A | 2 | player handle, int | check money is greater than value | ||
010B | 2 | player handle, var | get player money value | unused in GTA III | |
010C | 5 | player handle, flt, flt, flt, flt | give rc buggy to player | ||
010D | 2 | player handle, int | set player wanted level | ||
010E | 2 | player handle, int | set player minimum wanted level | ||
010F | 2 | player handle, int | check player wanted level greater than value | ||
0110 | 1 | player handle | clear player wanted level | ||
0111 | 1 | int | set wasted busted check | ||
0112 | 0 | check player wasted or busted | only works in missions | ||
0113 | 3 | player handle, int, int | add ammo to player weapon | unused in GTA III | |
0114 | 3 | char handle, int, int | add ammo to char weapon | unused in GTA III | |
0115 | 0 | unsupported | |||
0116 | 0 | unsupported | |||
0117 | 1 | player handle | check player dead | ||
0118 | 1 | char handle | check char dead | ||
0119 | 1 | car handle | check car dead | ||
011A | 2 | char handle, int | |||
011B | 0 | unsupported | |||
011C | 1 | char handle | |||
011D | 0 | unsupported | |||
011E | 0 | unsupported | |||
011F | 0 | unsupported | |||
0120 | 0 | unsupported | |||
0121 | 2 | player handle, string | check player is in zone | ||
0122 | 1 | player handle | check player pressing horn | ||
0123 | 2 | char handle, player handle | check char spotting player | ||
0124 | 0 | unsupported | special use for memory hacking in Vice City[1] | ||
0125 | 0 | unsupported | special use for memory hacking in Vice City[1] | ||
0126 | 1 | char handle | check char is walking | ||
0127 | 0 | unsupported | |||
0128 | 0 | unsupported | |||
0129 | 4 | car handle, char handle, int, var | create char inside car | parameters rearranged in SB | |
012A | 4 | player handle, flt, flt, flt | warp player from car to coord | ||
012B | 0 | unsupported | |||
012C | 0 | unsupported | |||
012D | 0 | unsupported | |||
012E | 0 | unsupported | |||
012F | 0 | unsupported | |||
0130 | 1 | player handle | check player is busted | ||
0131 | 0 | unsupported | |||
0132 | 0 | unsupported | |||
0133 | 0 | unsupported | |||
0134 | 0 | unsupported | |||
0135 | 2 | car handle, var | set car door status | parameters rearranged in SB | |
0136 | 0 | unsupported | |||
0137 | 2 | car handle, int | check car is model | ||
0138 | 0 | unsupported | |||
0139 | 0 | unsupported | |||
013A | 0 | unsupported | |||
013B | ? | ||||
013C | ? | ||||
013D | 0 | unsupported | |||
013E | 0 | unsupported | |||
013F | 0 | unsupported | |||
0140 | 0 | unsupported | |||
0141 | 0 | unsupported | |||
0142 | 0 | unsupported | |||
0143 | 0 | unsupported | |||
0144 | 0 | unsupported | |||
0145 | 0 | unsupported | |||
0146 | 0 | unsupported | |||
0147 | 0 | unsupported | |||
0148 | 0 | unsupported | |||
0149 | 1 | car handle | check car crushed by car crusher | ||
014A | 0 | unsupported | |||
014B | 13 | flt, flt, flt, flt, int, int, int, int, int, int, int, int, parked car handle | create parked car generator | parameters rearranged in SB | |
014C | 2 | parked car handle, int | switch car generator | ||
014D | 4 | string, int, int, int | text pager | ||
014E | 2 | int, int | set timer | ||
014F | 1 | int | stop timer | ||
0150 | 2 | global var, int | display onscreen counter | unused in GTA III and Vice City | |
0151 | 1 | int | remove status text | ||
0152 | 11 | string, int, int, int, int, int, int, int, int, int, int | set zone car info | 13 parameters in Vice City | |
0153 | 0 | unsupported | |||
0154 | 2 | char handle, string | check char is in zone | ||
0155 | ? | ? | |||
0156 | 3 | string, int, int | set zone ped density | ||
0157 | 3 | player handle, int, int | set camera on player | ||
0158 | 3 | car handle, int, int | set camera on car | ||
0159 | 3 | char handle, int, int | set camera on char | ||
015A | 0 | cam restore | |||
015B | 3 | ||||
015C | 11 | string, int, int, int, int, int, int, int, int, int, int | set zone gang info | 13 parameters in Vice City | |
015D | 1 | flt | set gamespeed | ||
015E | 1 | car handle | check car wheels on ground | ||
015F | 6 | flt, flt, flt, flt, flt, flt | set camera position | ||
0160 | 4 | flt, flt, flt, int | point camera | ||
0161 | 4 | car handle, int, int, blip handle | add blip to car | parameters rearranged in SB | |
0162 | 4 | car handle, int, int, blip handle | add blip to char | parameters rearranged in SB | |
0163 | ? | ? | |||
0164 | 1 | blip handle | delete blip | ||
0165 | 2 | blip handle, int | change blip color | ||
0166 | 2 | blip handle, int | change blip brightness | ||
0167 | 6 | flt, flt, flt, int, int, blip handle | add blip to coordinate | parameters rearranged in SB | |
0168 | 2 | blip handle, int | change blip scale | ||
0169 | 3 | int, int, int | set fade color | ||
016A | 2 | int, int | fade | ||
016B | 0 | check is fading | |||
016C | 4 | flt, flt, flt, flt | add hospital restart | ||
016D | 4 | flt, flt, flt, flt | add police restart | ||
016E | 4 | flt, flt, flt, flt | override restart | ||
016F | 10 | int, flt, flt, flt, flt, flt, int, int, int, int | create particle | ||
0170 | 2 | player handle, var | get player heading | unused in GTA III, parameters rearranged in SB | |
0171 | 2 | player handle, flt | set player heading | ||
0172 | 2 | char handle, var | get char heading | parameters rearranged in SB | |
0173 | 2 | char handle, flt | set char heading | ||
0174 | 2 | car handle, var | get car heading | parameters rearranged in SB | |
0175 | 2 | car handle, flt | set car heading | ||
0176 | 2 | object handle, var | get object heading | parameters rearranged in SB | |
0177 | 2 | object handle, flt | set object heading | ||
0178 | 2 | player handle, object handle | check player has picked up object | ||
0179 | 2 | char handle, object handle | check char has picked up object | unused in GTA III | |
017A | 3 | player handle, int, int | set player weapon ammo | ||
017B | 3 | unused in GTA III | |||
017C | 0 | unsupported | |||
017D | 0 | unsupported | |||
017E | 0 | unsupported | |||
017F | 0 | unsupported | |||
0180 | 1 | var | set on mission flag | ||
0181 | 2 | nop | no operation | ||
0182 | 2 | ||||
0183 | 2 | player handle, int | check player health greater than value | unused in GTA III | |
0184 | 2 | char handle, int | check char health greater than value | ||
0185 | 2 | car handle, int | check car health greater than value | ||
0186 | 2 | car handle, blip handle | add blip to car | ||
0187 | 2 | char handle, blip handle | add blip to char | ||
0188 | 2 | object handle, blip handle | add blip to object | ||
0189 | 2 | blip handle, flt, flt, flt | add blip with sphere to coordinate | unused in GTA III | |
018A | 2 | blip handle, flt, flt, flt | add blip to coordinate | ||
018B | 2 | blip handle, int | change blip display | ||
018C | 4 | int, flt, flt, flt | play sound | ||
018D | 5 | int, flt, flt, flt, sound handle | create sound | parameters rearranged in SB | |
018E | 1 | sound handle | stop sound | ||
018F | 1 | car handle | check car is flipped for 2 seconds | unused in GTA III | |
0190 | 1 | car handle | add car to flipped check | unused in GTA III | |
0191 | 1 | car handle | remove car from flipped check | unused in GTA III | |
0192 | 1 | char handle | set char objective to stand still | ||
0193 | 1 | char handle | set char objective to act like ped | ||
0194 | 1 | char handle | set char objective to go to point | ||
0195 | ? | ? | |||
0196 | ? | ? | |||
0197 | 6 | player handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
0198 | 6 | player handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
0199 | 6 | player handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
019A | 6 | player handle, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
019B | 6 | player handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
019C | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
019D | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
019E | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
019F | 8 | player handle, flt, flt, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
01A0 | 8 | player handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01A1 | 6 | char handle, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
01A2 | 6 | char handle, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
01A3 | 6 | char handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01A4 | 6 | char handle, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
01A5 | 6 | char handle, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
01A6 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
01A7 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
01A8 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01A9 | 8 | char handle, flt, flt, flt, flt, flt, flt, int | unused in GTA III, parameters rearranged in SB | ||
01AA | 8 | char handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01AB | 6 | car handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01AC | 8 | car handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01AD | 6 | car handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01AE | 6 | car handle, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01AF | 8 | car handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01B0 | 8 | car handle, flt, flt, flt, flt, flt, flt, int | parameters rearranged in SB | ||
01B1 | 3 | player handle, int, int | give player weapon | ||
01B2 | 3 | char handle, int, int | give char weapon | ||
01B3 | 0 | unsupported | |||
01B4 | 2 | player handle | set player control | ||
01B5 | 1 | int | force weather | ||
01B6 | 1 | int | force weather now | ||
01B7 | 0 | release weather | |||
01B8 | 2 | player handle, int | set current player weapon | ||
01B9 | 2 | char handle, int | set current player weapon | ||
01BA | 0 | unsupported | |||
01BB | 4 | object handle, var, var, var | get object coordinates | ||
01BC | 4 | object handle, flt, flt, flt | set object at coordinates | ||
01BD | 1 | var | current time in ms | ||
01BE | 4 | char handle, flt, flt, flt | task look at coord | ||
01BF | 0 | unsupported | |||
01C0 | 2 | player handle, var | store wanted level | parameters rearranged in SB | |
01C1 | 1 | car handle | check car is stopped | ||
01C2 | 1 | char handle | mark char as no longer needed | ||
01C3 | 1 | car handle | mark car as no longer needed | ||
01C4 | 1 | object handle | mark object as no longer needed | ||
01C5 | 1 | char handle | remove char from mission cleanup list | unused in GTA III | |
01C6 | 1 | car handle | remove car from mission cleanup list | unused in GTA III | |
01C7 | 1 | object handle | remove object from mission cleanup list | ||
01C8 | 5 | car handle, char handle, int, int, var | create char as passenger | parameters rearranged in SB | |
01C9 | 2 | char handle, char handle | char kill char | ||
01CA | 2 | char handle, player handle | char kill player | ||
01CB | 2 | char handle, char handle | char kill char | ||
01CC | 2 | char handle, player handle | char kill player | ||
01CD | 0 | unsupported | |||
01CE | 2 | char handle, player handle | char avoid player | ||
01CF | 2 | char handle, char handle | char avoid char | ||
01D0 | 2 | char handle, player handle | char avoid player | ||
01D1 | 2 | char handle, char handle | char follow char | ||
01D2 | 2 | char handle, player handle | char follow player | ||
01D3 | 2 | char handle, car handle | task leave car | ||
01D4 | 2 | char handle, car handle | task enter car as passenger | ||
01D5 | 2 | char handle, car handle | task enter car as driver | ||
01D6 | 0 | unsupported | |||
01D7 | 0 | unsupported | |||
01D8 | 2 | char handle, object handle | task char attack object | ||
01D9 | 2 | char handle, car handle | task char attack car | ||
01DA | 0 | unsupported | |||
01DB | 0 | unsupported | unused in GTA III | ||
01DC | 0 | unsupported | |||
01DD | 0 | unsupported | |||
01DE | 2 | char handle, char handle | tie char to char | ||
01DF | 2 | char handle, player handle | tie char to player | ||
01E0 | 1 | char handle | clear tie | ||
01E1 | 3 | char handle, int, int | set char follow route | ||
01E2 | 4 | int, flt, flt, flt | add point to route | ||
01E3 | 4 | string, int, int, int | print text with number big | ||
01E4 | 4 | string, int, int, int | print text with number | ||
01E5 | 4 | string, int, int, int | print text with number now | ||
01E6 | 4 | unused in GTA III | |||
01E7 | 6 | flt, flt, flt, flt, flt, flt | switch roads off | ||
01E8 | 6 | flt, flt, flt, flt, flt, flt | switch roads on | ||
01E9 | 2 | car handle, var | get number of passengers | parameters rearranged in SB | |
01EA | 2 | car handle, var | get maximum number of passengers | parameters rearranged in SB | |
01EB | 1 | flt | set car density multiplier | ||
01EC | 2 | car handle, int | set car heavy | unused in GTA III | |
01ED | 1 | char handle | reset char flag | ||
01EE | 10 | flt, flt, flt, flt, flt, flt, flt, flt, flt, flt | activate crane | ||
01EF | 2 | flt, flt | deactivate crane | ||
01F0 | 1 | int | set max wanted level | ||
01F1 | 0 | unsupported | |||
01F2 | 0 | unsupported | |||
01F3 | 1 | car handle | check car is airbourne | ||
01F4 | 1 | car handle | check car is flipped | ||
01F5 | 2 | parameters rearranged in SB | |||
01F6 | 0 | cancel override restart | |||
01F7 | 2 | player handle, int | set police ignore player | ||
01F8 | 0 | unsupported | |||
01F9 | 9 | string, int, int, int, int, int, int, int, int | init rampage | ||
01FA | 1 | var | get rampage status | ||
01FB | 2 | ||||
01FC | 5 | ||||
01FD | 5 | ||||
01FE | 5 | ||||
01FF | 6 | ||||
0200 | 6 | ||||
0201 | 6 | ||||
0202 | 5 | ||||
0203 | 5 | ||||
0204 | 5 | ||||
0205 | 6 | unused in GTA III | |||
0206 | 6 | unused in GTA III | |||
0207 | 6 | unused in GTA III | |||
0208 | 2 | flt, flt, var | generate random float in range | parameters rearranged in SB | |
0209 | 2 | int, int, var | generate random int in range | parameters rearranged in SB | |
020A | 2 | car handle, int | set car door state | ||
020B | 1 | car handle | explode car | ||
020C | 4 | ||||
020D | 1 | ||||
020E | 2 | ||||
020F | 2 | ||||
0210 | 2 | ||||
0211 | 3 | ||||
0212 | 0 | unsupported | |||
0213 | 6 | int, int, flt, flt, flt, var | create pickup | parameters rearranged in SB | |
0214 | 1 | pickup handle | check has pickup been collected | ||
0215 | 1 | pickup handle | remove pickup | ||
0216 | 2 | car handle, int | set taxi lights | ||
0217 | 3 | string, int, int | print text big | ||
0218 | 4 | ||||
0219 | 10 | flt, flt, flt, flt, flt, flt, flt, flt, int, int | create garage | parameters rearranged in SB | |
021A | 0 | unsupported | |||
021B | 2 | garage ID, car handle | set target car for mission garage | ||
021C | 1 | garage ID | check car is in garage area | ||
021D | 1 | int | set free bomb shop | ||
021E | 0 | unsupported | |||
021F | 0 | unsupported | |||
0220 | 0 | unsupported | |||
0221 | 2 | player handle, int | set player trapped in car | ||
0222 | 2 | player handle, int | set player health | ||
0223 | 2 | char handle, int | set char health | ||
0224 | 2 | car handle, int | set car health | ||
0225 | 2 | get player health | unused in GTA III, parameters rearranged in SB | ||
0226 | 2 | get char health | parameters rearranged in SB | ||
0227 | 2 | car handle, var | get car health | parameters rearranged in SB | |
0228 | 2 | car handle, var | get car bomb state | ||
0229 | 3 | car handle, int, int | change car color | ||
022A | 6 | ||||
022B | 6 | ||||
022C | 2 | ||||
022D | 2 | ||||
022E | 2 | ||||
022F | 1 | ||||
0230 | 1 | ||||
0231 | 0 | unsupported | |||
0232 | 0 | unsupported | |||
0233 | 0 | unsupported | |||
0234 | 0 | unsupported | |||
0235 | 3 | int, int, int | set gang models | unused in GTA III | |
0236 | 2 | int, int | set gang car | ||
0237 | 3 | int, int, int | set gang weapons | ||
0238 | 0 | unsupported | |||
0239 | 2 | ||||
023A | 2 | ||||
023B | 2 | char handle, object handle | check char is touching object | unused in GTA III | |
023C | 2 | int, string | load special actor | parameters rearranged in SB in Sn Andreas | |
023D | 1 | string | check special actor loaded | ||
023E | 0 | unsupported | |||
023F | 0 | unsupported | |||
0240 | 2 | ||||
0241 | 1 | player handle | check player is in remote mode | ||
0242 | 2 | car handle | set car bomb status | ||
0243 | 2 | ||||
0244 | 3 | flt, flt, flt | set cutscene position | ||
0245 | 2 | char handle, int | set char walk style | ||
0246 | 0 | unsupported | |||
0247 | 1 | int | request model | ||
0248 | 1 | int | check model has loaded | ||
0249 | 1 | int | mark model as no longer needed | ||
024A | 3 | flt, flt, var | get phone | ||
024B | 2 | unused in GTA III | |||
024C | 2 | ||||
024D | 1 | unused in GTA III | |||
024E | 1 | phone (object?) handle | disable phone | ||
024F | 9 | flt, flt, flt, flt, int, int, int, int, int | create corona | ||
0250 | 6 | flt, flt, flt, int, int, int | create light | ||
0251 | 0 | unsupported | |||
0252 | 0 | unsupported | |||
0253 | 0 | save current time | unused in GTA III | ||
0254 | 0 | restore current time | unused in GTA III | ||
0255 | 4 | flt, flt, flt, flt | set critical mission restart | ||
0256 | 1 | player handle | check player is defined | ||
0257 | 0 | unsupported | |||
— | |||||
0290 | 0 | unsupported | |||
0291 | 2 | char handle, int | set char attack when provoked | ||
0292 | 0 | unsupported | |||
0293 | 2 | ||||
0294 | 2 | car handle, int | set car can respray | ||
0295 | 0 | unsupported | |||
0296 | 1 | int | release special actor | ||
0297 | 0 | reset number of models killed by player | 1 parameter in San Andreas | ||
0298 | 2 | int, var | get number of models killed by player | 3 parameters in San Andreas, parameters rearranged in SB | |
0299 | 1 | garage ID | activate garage | ||
029A | 0 | unsupported | |||
029B | 5 | int, flt, flt, flt, object handle | parameters rearranged in SB | ||
029C | 1 | car handle | check car stopped | ||
029D | 0 | unsupported | |||
029E | 0 | unsupported | |||
029F | 1 | player handle | check player stopped | ||
02A0 | 1 | char handle | check char stopped | ||
02A1 | 2 | int, int | |||
02A2 | 5 | int, int, flt, flt, flt | |||
02A3 | 1 | int | set widescreen borders | ||
02A4 | 0 | unsupported | |||
02A5 | 0 | unsupported | |||
02A6 | 0 | unsupported | |||
02A7 | 5 | parameters rearranged in SB | |||
02A8 | 5 | parameters rearranged in SB | |||
02A9 | 2 | char handle, int | set char only damaged by player | ||
02AA | 2 | car handle, int | set car only damaged by player | ||
02AB | 6 | char handle, int, int, int, int, int | set char proofs | ||
02AC | 6 | char handle, int, int, int, int, int | set car proofs | ||
02AD | 7 | ||||
02AE | 7 | ||||
02AF | 7 | ||||
02B0 | 7 | ||||
02B1 | 7 | ||||
02B2 | 7 | ||||
02B3 | 9 | ||||
02B4 | 9 | ||||
02B5 | 9 | ||||
02B6 | 9 | ||||
02B7 | 9 | ||||
02B8 | 9 | ||||
02B9 | 1 | garage ID | deactivate garage | ||
02BA | ? | ? | |||
02BB | ? | check? | |||
02BC | 1 | int | |||
02BD | 0 | unsupported | |||
02BE | 0 | unsupported | |||
02BF | 1 | car handle | |||
02C0 | 6 | parameters rearranged in SB | |||
02C1 | 6 | parameters rearranged in SB | |||
02C2 | 4 | car handle, flt, flt, flt | set car drive to coordinates | ||
02C3 | 1 | ||||
02C4 | ? | ? | |||
02C5 | 1 | ||||
02C6 | 0 | ||||
02C7 | 5 | ||||
02C8 | 1 | ||||
02C9 | 0 | ||||
02CA | 1 | car handle | check car bounding sphere visible | ||
02CB | 1 | char handle | check char bounding sphere visible | ||
02CC | 1 | object handle | check object bounding sphere visible | ||
02CD | 2 | ||||
02CE | 4 | flt, flt, flt, var | get ground z for 3D coord | parameters rearranged in SB | |
02CF | 4 | flt, flt, flt, var | create fire | parameters rearranged in SB | |
02D0 | 1 | fire handle | check fire is extinguished | ||
02D1 | 1 | fire handle | remove fire | ||
02D2 | 2 | ? | |||
02D3 | 4 | car handle, flt, flt, flt | set car drive to coord ignore paths | ||
02D4 | 1 | car handle | turn off car engine | ||
02D5 | 6 | player handle, flt, flt, flt, flt, int | check player is shooting in area | ||
02D6 | 6 | char handle, flt, flt, flt, flt, int | check char is shooting in area | ||
02D7 | 2 | player handle, int | get current player weapon | ||
02D8 | 2 | char handle, int | get char player weapon | ||
02D9 | 0 | ||||
02DA | ? | ? | |||
02DB | 2 | ||||
02DC | ? | ? | |||
02DD | 5 | string, flt, flt, flt, var | get random char in area | ||
02DE | 1 | player handle | check char is in taxi | ||
02DF | 1 | player handle | check player is aggressive | ||
02E0 | 1 | char handle | check char is aggressive | ||
02E1 | 5 | flt, flt, flt, int, var | create money pickup | parameters rearranged in SB | |
02E2 | 2 | char handle, int | set char accuracy | ||
02E3 | 2 | car handle, var | get car speed | parameters rearranged in SB | |
02E4 | 1 | ||||
02E5 | 2 | parameters rearranged in SB | |||
02E6 | 2 | ||||
02E7 | 0 | start cutscene | |||
02E8 | 1 | var | get cutscene time | ||
02E9 | 0 | check cutscene has finished | |||
02EA | 0 | end cutscene | |||
02EB | 0 | cam restore jumpcut | |||
02EC | 3 | flt, flt, flt | put hidden package | ||
02ED | 1 | int | set total hidden packages | ||
02EE | 6 | flt, flt, flt, flt, flt, flt | check projectile is in area | ||
02EF | 6 | flt, flt, flt, flt, flt, flt | remove projectile in area | ||
02F0 | ? | ? | |||
02F1 | 3 | flt, flt, flt | create exploding barrel | ||
02F2 | 2 | char handle, int | check char is model | ||
02F3 | 2 | load special object | |||
02F4 | 3 | create cutscene actor | |||
02F5 | 2 | set head anim | |||
02F6 | 2 | float, var | get cosine | unused in GTA III, parameters rearranged in SB | |
02F7 | 2 | float, var | get sine | unused in GTA III, parameters rearranged in SB | |
02F8 | 2 | car handle, var | get car z angle sine | ||
02F9 | 2 | car handle, var | get car z angle cosine | ||
02FA | 2 | garage ID, int | change garage type | ||
02FB | 10 | flt, flt, flt, flt, flt, flt, flt, flt, flt, flt | create crusher crane | ||
02FC | 5 | string, int, int, int, int | print text with 2 numbers big | unused in GTA III | |
02FD | 5 | string, int, int, int, int | print text with 2 numbers | ||
02FE | 5 | string, int, int, int, int | print text with 2 numbers now | ||
02FF | 6 | unused in GTA III | |||
0300 | 6 | unused in GTA III | |||
0301 | 6 | unused in GTA III | |||
0302 | 7 | ||||
0303 | 7 | unused in GTA III | |||
0304 | 7 | unused in GTA III | |||
0305 | 8 | unused in GTA III | |||
0306 | 8 | unused in GTA III | |||
0307 | 8 | unused in GTA III | |||
0308 | 9 | ||||
0309 | 9 | unused in GTA III | |||
030A | 9 | unused in GTA III | |||
030B | ? | ? | |||
030C | 1 | int | add to progress made | ||
030D | 1 | int | set max progress | ||
030E | 1 | save jump distance | |||
030F | 1 | save jump height | |||
0310 | 1 | save jump flips | |||
0311 | 1 | save jump rotation | |||
0312 | 1 | int | save jump type | ||
0313 | 0 | increment unique jumps found | |||
0314 | 1 | int | set total unique jumps | ||
0315 | 0 | increment taxi dropoffs | |||
0316 | 1 | int | add taxi earnings | ||
0317 | 0 | increment mission attempts | |||
0318 | 1 | string | set latest mission passed | ||
0319 | 2 | char handle, int | |||
031A | 0 | remove all fires | |||
031B | ? | check? | |||
031C | ? | check? | |||
031D | 2 | char handle, int | check char has been damaged by weapon | ||
031E | 2 | car handle, int | check car has been damaged by weapon | ||
031F | 2 | ||||
0320 | 2 | char handle, player handle | |||
0321 | 1 | char handle | set char to die | ||
0322 | 1 | player handle | set player to die | ||
0323 | 2 | car handle, int | |||
0324 | 3 | string, int, int | set pedgroup info | ||
0325 | 2 | car handle, fire handle | start car fire | parameters rearranged in SB | |
0326 | 2 | char handle, fire handle | start char fire | parameters rearranged in SB | |
0327 | 6 | int, flt, flt, flt, flt, char handle | get random char in area | parameters rearranged in SB | |
0328 | ? | ? | |||
0329 | 1 | garage ID | check garage respray done | ||
032A | 1 | ||||
032B | 7 | create weapon pickup | parameters rearranged in SB | ||
032C | 2 | ||||
032D | 2 | ||||
032E | ? | ? | |||
032F | 0 | unsupported | |||
0330 | 2 | player handle, int | set player never gets tired | ||
0331 | 2 | player handle, int | set player fast reload | ||
0332 | 2 | char handle, int | set char bleeding | ||
0333 | ? | ? | |||
0334 | ? | ? | |||
0335 | 1 | int | set free resprays | ||
0336 | 2 | player handle, int | |||
0337 | 2 | char handle, int | set char visibility | ||
0338 | 2 | car handle, int | set car visibility | ||
0339 | 11 | flt, flt, flt, flt, flt, flt, int, int, int, int, int | check anything in area | ||
033A | 0 | ||||
033B | 0 | ||||
033C | 2 | ||||
033D | ? | ? | |||
033E | 3 | string, int, int | text draw | ||
033F | 2 | flt, flt | set text draw size | ||
0340 | 4 | int, int, int, int | set text draw colors | ||
0341 | 1 | int | |||
0342 | 1 | int | set text draw centered | ||
0343 | 1 | flt | set text draw line width | ||
0344 | 1 | ||||
0345 | 1 | int | set text draw background | ||
0346 | 4 | ||||
0347 | 1 | ||||
0348 | 1 | int | |||
0349 | 1 | int | set text draw font | ||
034A | 0 | ||||
034B | 0 | ||||
034C | 0 | ||||
034D | 4 | object handle, flt, flt, int | IF and SET | ||
034E | 8 | object handle, flt, flt, flt, flt, flt, flt, int | IF and SET | ||
034F | 1 | char handle | |||
0350 | 2 | char handle, int | set char maintain position when attacked | ||
0351 | 0 | check gore is enabled | |||
0352 | 2 | char handle, string | set char skin | only works on player | |
0353 | 1 | char handle | refresh char | only works on player | |
0354 | 1 | ||||
0355 | 0 | ||||
0356 | 7 | ||||
0357 | ? | ? | |||
0358 | 0 | ||||
0359 | 0 | ||||
035A | 3 | ||||
035B | 4 | ||||
035C | 5 | object handle, car handle, flt, flt, flt | place object relative to car | ||
035D | 1 | object handle | make object targettable | two parameters in San Andreas | |
035E | 2 | player handle, int | add armour to player | ||
035F | 2 | char handle, int | add armour to char | ||
0360 | 1 | garage ID | open garage | ||
0361 | 1 | garage ID | close garage | ||
0362 | 4 | char handle, flt, flt, flt | warp char from car to coord | ||
0363 | 6 | flt, flt, flt, flt, int, int | set object model visibility | ||
0364 | 2 | char handle, char handle | check has char spotted char | ||
0365 | 1 | char handle | |||
0366 | 1 | object handle | check has object been damaged | ||
0367 | 9 | ||||
0368 | 10 | flt, flt, flt, flt, flt, flt, flt, flt, flt, flt | create ev crane | ||
0369 | 2 | player handle, car handle | |||
036A | 2 | char handle, car handle | |||
036B | 0 | unsupported | |||
036C | 0 | unsupported | |||
036D | 5 | string, int, int, int, int | |||
036E | 6 | ||||
036F | 7 | ||||
0370 | 8 | ||||
0371 | 9 | ||||
0372 | 3 | char handle, int, int | set char animation | ||
0373 | 0 | set camera directly behind player | |||
0374 | 1 | ||||
0375 | 4 | ||||
0376 | 4 | flt, flt, flt, var | create random char | parameters rearranged in SB | |
0377 | 1 | char handle | |||
0378 | 3 | ||||
0379 | 3 | ||||
037A | 4 | ||||
037B | 4 | ||||
037C | 5 | ||||
037D | 5 | ||||
037E | 6 | flt, flt, flt, flt, flt, flt | check sniper bullet is in area | ||
037F | 0 | ||||
0380 | 2 | ||||
0381 | 4 | throw object | |||
0382 | 2 | set object collision detection | |||
0383 | 1 | car handle | check special car horn is on | ||
0384 | 4 | string, string, int, int | print string in string | ||
0385 | 4 | ||||
0386 | 6 | ||||
0387 | 6 | ||||
0388 | 7 | ||||
0389 | 7 | ||||
038A | 6 | flt, flt, flt, flt, flt, flt | check any cars in area | ||
038B | 0 | load requested models | |||
038C | 4 | object handle, flt, flt, flt | scatter object | ||
038D | 9 | int, flt, flt, flt, flt, int, int, int, int, | draw texture | unused in GTA III and Vice City | |
038E | 8 | flt, flt, flt, flt, int, int, int, int | draw rectangle | unused in GTA III and Vice City | |
038F | 2 | int, string | get texture from txd | unused in GTA III and Vice City , parameters rearranged in SB in San Andreas | |
0390 | 1 | string | load txd | unused in GTA III and Vice City | |
0391 | 0 | ||||
0392 | 2 | object handle, int | |||
0393 | ? | ||||
0394 | 1 | int | |||
0395 | 5 | int, float, float, float, float | |||
0396 | 1 | global var | freeze onscreen timer | ||
0397 | 2 | car handle, int | switch car siren | ||
0398 | 7 | float, float, float, float, float, float, float | |||
0399 | 7 | float, float, float, float, float, float, float | |||
039A | 7 | float, float, float, float, float, float, float | |||
039B | 7 | float, float, float, float, float, float, float | |||
039C | 2 | car handle, int | |||
039D | 12 | parameters rearranged in SB | |||
039E | 2 | char handle, int | |||
039F | 3 | car handle, float, float | |||
03A0 | 3 | car handle, float, float | check car is picked up by crane | ||
03A1 | 4 | float, float, float, float | |||
03A2 | 2 | car handle, int | set car action | ||
03A3 | 1 | char handle | check char is male | ||
03A4 | 1 | string | name thread | ||
03A5 | 3 | garage ID, int, int | |||
03A6 | 3 | var, var, var | |||
03A7 | 1 | nop | no operation | ||
03A8 | 1 | nop | no operation | ||
03A9 | 0 | nop | no operation | ||
03AA | 3 | float, float, float | play suspect last seen | ||
03AB | 2 | car handle, int | |||
03AC | 1 | int | |||
03AD | 1 | int | |||
03AE | 6 | float, float, float, float, float, float | |||
03AF | 1 | int | |||
03B0 | 1 | garage ID | check garage is open | ||
03B1 | 1 | garage ID | check garage is closed | ||
03B2 | 0 | ||||
03B3 | 0 | ||||
03B4 | 0 | ||||
03B5 | 0 | ||||
03B6 | 6 | flt, flt, flt, flt, int, int | swap nearest building model | ||
03B7 | 1 | int | |||
03B8 | 1 | player handle | |||
03B9 | 1 | ||||
03BA | 6 | flt, flt, flt, flt, flt, flt | clear area of cars | ||
03BB | 1 | garage ID | set garage door to swing open | ||
03BC | 5 | parameters rearranged in SB | |||
03BD | 1 | ||||
03BE | ? | ||||
03BF | 2 | player handle, int | set everyone ignore player | ||
03C0 | 2 | char handle, var | parameters rearranged in SB | ||
03C1 | 2 | player handle, var | parameters rearranged in SB | ||
03C2 | 1 | ||||
03C3 | 3 | global var, int, string | display onscreen timer | ||
03C4 | 3 | global var, int, string | display onscreen counter | ||
03C5 | 4 | flt, flt, flt, flt | create random car for car park | ||
03C6 | 1 | ||||
03C7 | 1 | float | |||
03C8 | 0 | ||||
03C9 | 1 | ||||
03CA | 1 | object handle | |||
03CB | 3 | flt, flt, flt | |||
03CC | 3 | car handle, flt, int | add stuck car check | ||
03CD | 1 | car handle | remove stuck car check | ||
03CE | 1 | car handle | check car is stuck | ||
03CF | 2 | parameters rearranged in SB |
Some abbreviations and phrases used in this list:
- int
- integer value
- flt
- floating-point value
- var
- variable to store a value or handle, either global or local unless specified
- char
- character including actor and ped, apart from the player and special actor
- car
- vehicle including car, bike, helicopter, plane, etc. unless specified
- unused in...
- opcode was never used in the game but is usable
- parameters rearranged...
- opcodes' parameters were rearranged from their original order mainly for sake of readability
Reference
^ GTAForums: manipulating game memory for fun and profit
External links
- GTAForums: Opcodes for Bartons Editor (GTA3 + VC)
- GTAForums: GTA:SA Opcodes
- GTAForums: MISSION CODING IV - GTA: Liberty City project
- Vice City Opcode Database - retrieved from archive.org
- San Andreas Opcode Database - retrieved from archive.org
- Unified Opcode Database - by PLPynton, hosted by ZAZ
- Latest Vice City opcodes - last update by spaceeinstein
- San Andreas Opcode Database - last update by Deji at GTAGaming.com