Difference between revisions of "List of opcodes (GTAMA)"
Jump to navigation
Jump to search
(→References) |
|||
Line 1: | Line 1: | ||
− | This is a list of all opcodes, including nops and unsupported ones, in [[GTAMA]] syntax for [[GTA III]], [[Vice City]], and [[San Andreas]]. The list is based on the opcode definition list by {{U|CyQ}}. | + | This is a list of all opcodes, including nops and unsupported ones, in [[GTAMA]] syntax for [[GTA III]], [[Vice City]], and [[San Andreas]]. The list is based on the opcode definition list by {{U|CyQ}}. Note that this list is mainly for reference and has many out-dated descriptions. Please see [[List of opcodes|here]] for a list of the most up-to-date descriptions. |
{| {{prettytable}} class="sortable" | {| {{prettytable}} class="sortable" | ||
Line 708: | Line 708: | ||
|0163 || {{Icon|3}} ||4 || [''object handle''], [''int''], [''int''], [''var''] || | |0163 || {{Icon|3}} ||4 || [''object handle''], [''int''], [''int''], [''var''] || | ||
|- | |- | ||
− | |0164 || {{Icon|trilogy}} ||1 || disable_marker [''blip handle''] || | + | |[[0164]] || {{Icon|trilogy}} ||1 || disable_marker [''blip handle''] || |
|- | |- | ||
|0165 || {{Icon|trilogy}} ||2 || set_marker_color [''blip handle''], [''int''] || | |0165 || {{Icon|trilogy}} ||2 || set_marker_color [''blip handle''], [''int''] || | ||
Line 716: | Line 716: | ||
|0167 || {{Icon|trilogy}} ||6 || create_marker [''flt''], [''flt''], [''flt''], [''int''], [''int''], [''var''] || | |0167 || {{Icon|trilogy}} ||6 || create_marker [''flt''], [''flt''], [''flt''], [''int''], [''int''], [''var''] || | ||
|- | |- | ||
− | |0168 || {{Icon|trilogy}} ||2 || show_on_radar1 [''blip handle''], [''int''] || | + | |[[0168]] || {{Icon|trilogy}} ||2 || show_on_radar1 [''blip handle''], [''int''] || |
|- | |- | ||
|[[0169]] || {{Icon|trilogy}} ||3 || set_fade_color [''int''], [''int''], [''int''] || | |[[0169]] || {{Icon|trilogy}} ||3 || set_fade_color [''int''], [''int''], [''int''] || | ||
Line 776: | Line 776: | ||
|0185 || {{Icon|trilogy}} ||2 || is_car_health_greater_than [''car handle''], [''int''] || | |0185 || {{Icon|trilogy}} ||2 || is_car_health_greater_than [''car handle''], [''int''] || | ||
|- | |- | ||
− | |0186 || {{Icon|trilogy}} ||2 || create_arrow_above_car [''car handle''], [''blip handle''] || | + | |[[0186]] || {{Icon|trilogy}} ||2 || create_arrow_above_car [''car handle''], [''blip handle''] || |
|- | |- | ||
− | |0187 || {{Icon|trilogy}} ||2 || create_arrow_above_actor [''char handle''], [''blip handle''] || | + | |[[0187]] || {{Icon|trilogy}} ||2 || create_arrow_above_actor [''char handle''], [''blip handle''] || |
|- | |- | ||
− | |0188 || {{Icon|trilogy}} ||2 || create_arrow_above_object [''object handle''], [''blip handle''] || | + | |[[0188]] || {{Icon|trilogy}} ||2 || create_arrow_above_object [''object handle''], [''blip handle''] || |
|- | |- | ||
|0189 || {{Icon|3}} {{Icon|VC}} ||2 || [''flt''], [''flt''], [''flt''], [''blip handle''] || | |0189 || {{Icon|3}} {{Icon|VC}} ||2 || [''flt''], [''flt''], [''flt''], [''blip handle''] || | ||
|- | |- | ||
− | |018A || {{Icon|trilogy}} ||2 || create_checkpoint''] [''flt''], [''flt''], [''flt''], [''blip handle''] || | + | |[[018A]] || {{Icon|trilogy}} ||2 || create_checkpoint''] [''flt''], [''flt''], [''flt''], [''blip handle''] || |
|- | |- | ||
|018B || {{Icon|trilogy}} ||2 || show_on_radar2 [''blip handle''], [''int''] || | |018B || {{Icon|trilogy}} ||2 || show_on_radar2 [''blip handle''], [''int''] || | ||
Line 792: | Line 792: | ||
|018D || {{Icon|3}} {{Icon|VC}} ||5 || create_sound [''int''], [''flt''], [''flt''], [''flt''], [''var''] || | |018D || {{Icon|3}} {{Icon|VC}} ||5 || create_sound [''int''], [''flt''], [''flt''], [''flt''], [''var''] || | ||
|- | |- | ||
− | |018E || {{Icon|trilogy}} ||1 || stop_sound [''sound handle''] || | + | |[[018E]] || {{Icon|trilogy}} ||1 || stop_sound [''sound handle''] || |
|- | |- | ||
|[[018F]] || {{Icon|trilogy}} ||1 || [''car handle''] || | |[[018F]] || {{Icon|trilogy}} ||1 || [''car handle''] || | ||
Line 867: | Line 867: | ||
|- | |- | ||
|01B3 || unsupported ||0 || || | |01B3 || unsupported ||0 || || | ||
+ | |- | ||
+ | |[[01B4]] || {{Icon|trilogy}} ||2 || toggle_player_controllable [''player handle''] || | ||
+ | |- | ||
+ | |[[01B5]] || {{Icon|trilogy}} ||1 || force_weather [''int''] || | ||
+ | |- | ||
+ | |[[01B6]] || {{Icon|trilogy}} ||1 || weather [''int''] || | ||
+ | |- | ||
+ | |01B7 || {{Icon|trilogy}} ||0 || release_weather || | ||
+ | |- | ||
+ | |01B8 || {{Icon|3}} {{Icon|VC}} ||2 || set_player_armed_weapon [''player handle''], [''int''] || | ||
+ | |- | ||
+ | |[[01B9]] || {{Icon|trilogy}} ||2 || set_actor_armed_weapon [''char handle''], [''int''] || | ||
+ | |- | ||
+ | |01BA || unsupported ||0 || || | ||
+ | |- | ||
+ | |[[01BB]] || {{Icon|trilogy}} ||4 || get_object_coords [''object handle''], [''var''], [''var''], [''var''] || | ||
+ | |- | ||
+ | |01BC || {{Icon|trilogy}} ||4 || put_object_at [''object handle''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |01BD || {{Icon|trilogy}} ||1 || get_current_time_in_ms [''var''] || | ||
+ | |- | ||
+ | |01BE || {{Icon|3}} {{Icon|VC}} ||4 || set_actor_to_look_at_point [''char handle''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |01BF || {{Icon|3}} ||4 || [''player handle''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |01C0 || {{Icon|trilogy}} ||2 || get_player_wanted_level [''player handle''], [''var''] || | ||
+ | |- | ||
+ | |01C1 || {{Icon|trilogy}} ||1 || is_car_stopped [''car handle''] || | ||
+ | |- | ||
+ | |[[01C2]] || {{Icon|trilogy}} ||1 || cleanup_actor [''char handle''] || | ||
+ | |- | ||
+ | |[[01C3]] || {{Icon|trilogy}} ||1 || cleanup_car [''car handle''] || | ||
+ | |- | ||
+ | |01C4 || {{Icon|trilogy}} ||1 || cleanup_object [''object handle''] || | ||
+ | |- | ||
+ | |01C5 || {{Icon|trilogy}} ||1 || remove_actor_from_mission_cleanup_list [''char handle''] || | ||
+ | |- | ||
+ | |01C6 || {{Icon|3}} ||1 || remove_car_from_mission_cleanup_list [''car handle''] || | ||
+ | |- | ||
+ | |01C7 || {{Icon|trilogy}} ||1 || remove_object_from_mission_cleanup_list [''object handle''] || | ||
+ | |- | ||
+ | |[[01C8]] || {{Icon|trilogy}} ||5 || create_actor_in_car_passenger [''car handle''], [''int''], [''int''], [''int''], [''char handle''] || | ||
+ | |- | ||
+ | |01C9 || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_kill_actor1 [''char handle''], [''char handle''] || | ||
+ | |- | ||
+ | |01CA || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_kill_player1 [''char handle''], [''player handle''] || | ||
+ | |- | ||
+ | |01CB || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_kill_actor2 [''char handle''], [''char handle''] || | ||
+ | |- | ||
+ | |01CC || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_kill_player2 [''char handle''], [''player handle''] || | ||
+ | |- | ||
+ | |01CD || {{Icon|3}} ||2 || set_actor_to_avoid_player1 [''char handle''], [''char handle''] || | ||
+ | |- | ||
+ | |01CE || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_avoid_player1 [''char handle''], [''player handle''] || | ||
+ | |- | ||
+ | |01CF || {{Icon|3}} {{Icon|VC}} ||2 || [''char handle''], [''char handle''] || | ||
+ | |- | ||
+ | |01D0 || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_avoid_player2 [''char handle''], [''player handle''] || | ||
+ | |- | ||
+ | |01D1 || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_follow_actor [''char handle''], [''char handle''] || | ||
+ | |- | ||
+ | |01D2 || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_follow_player [''char handle''], [''player handle''] || | ||
+ | |- | ||
+ | |01D3 || {{Icon|3}} {{Icon|VC}} ||2 || make_actor_leave_car [''char handle''], [''car handle''] || | ||
+ | |- | ||
+ | |01D4 || {{Icon|3}} {{Icon|VC}} ||2 || send_actor_to_car [''char handle''], [''car handle''] || | ||
+ | |- | ||
+ | |01D5 || {{Icon|3}} {{Icon|VC}} ||2 || send_actor_to_car_driversseat [''char handle''], [''car handle''] || | ||
+ | |- | ||
+ | |01D6 || unsupported ||0 || || | ||
+ | |- | ||
+ | |01D7 || unsupported ||0 || || | ||
+ | |- | ||
+ | |01D8 || {{Icon|VC}} ||2 || [''char handle''], [''object handle''] || | ||
+ | |- | ||
+ | |01D9 || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_run_from_car [''char handle''], [''car handle''] || | ||
+ | |- | ||
+ | |01DA || {{Icon|3}} ||5 || [''char handle''], [''flt''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |01DB || unsupported ||0 || || | ||
+ | |- | ||
+ | |01DC || unsupported ||0 || || | ||
+ | |- | ||
+ | |01DD || unsupported ||0 || || | ||
+ | |- | ||
+ | |01DE || {{Icon|3}} {{Icon|VC}} ||2 || tie_actor_to_actor [''char handle''], [''char handle''] || | ||
+ | |- | ||
+ | |01DF || {{Icon|3}} {{Icon|VC}} ||2 || tie_actor_to_player [''char handle''], [''player handle''] || | ||
+ | |- | ||
+ | |01E0 || {{Icon|3}} {{Icon|VC}} ||1 || clear_leader [''char handle''] || | ||
+ | |- | ||
+ | |01E1 || {{Icon|3}} {{Icon|VC}} ||3 || set_actor_follow_route [''char handle''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |01E2 || {{Icon|3}} {{Icon|VC}} ||4 || add_route_point [''int''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |01E3 || {{Icon|trilogy}} ||4 || text_1number_styled [''string''], [''int''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |01E4 || {{Icon|trilogy}} ||4 || text_1number [''string''], [''int''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |01E5 || {{Icon|trilogy}} ||4 || text_1number_now [''string''], [''int''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |01E6 || unsupported ||0 || text_1number_soon || | ||
+ | |- | ||
+ | |01E7 || {{Icon|trilogy}} ||6 || enable_car_nodes_in_cube [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |01E8 || {{Icon|trilogy}} ||6 || disable_car_nodes_in_cube [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |01E9 || {{Icon|trilogy}} ||2 || get_car_num_passengers [''car handle''], [''var''] || | ||
+ | |- | ||
+ | |01EA || {{Icon|trilogy}} ||2 || get_car_max_passengers [''car handle''], [''var''] || | ||
+ | |- | ||
+ | |01EB || {{Icon|trilogy}} ||1 || set_car_density [''flt''] || | ||
+ | |- | ||
+ | |01EC || {{Icon|trilogy}} ||2 || make_car_heavy [''car handle''], [''int''] || | ||
+ | |- | ||
+ | |01ED || {{Icon|3}} {{Icon|VC}} ||1 || spawn_actor [''char handle''] || | ||
+ | |- | ||
+ | |01EE || {{Icon|3}} ||10 || activate_crane [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |01EF || {{Icon|3}} ||2 || deactivate_crane [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |[[01F0]] || {{Icon|trilogy}} ||1 || set_max_wanted_level [''int''] || | ||
+ | |- | ||
+ | |01F1 || unsupported ||0 || || | ||
+ | |- | ||
+ | |01F2 || unsupported ||0 || || | ||
+ | |- | ||
+ | |01F3 || {{Icon|trilogy}} ||1 || is_airborne [''car handle''] || | ||
+ | |- | ||
+ | |01F4 || {{Icon|trilogy}} ||1 || is_car_upsidedown [''car handle''] || | ||
+ | |- | ||
+ | |01F5 || {{Icon|trilogy}} ||2 || make_actor_from_player [''player handle''], [''var''] || | ||
+ | |- | ||
+ | |01F6 || {{Icon|trilogy}} ||0 || cancel_override_restart || | ||
+ | |- | ||
+ | |01F7 || {{Icon|trilogy}} ||2 || toggle_player_ignored_by_cops [''player handle''], [''int''] || | ||
+ | |- | ||
+ | |01F8 || {{Icon|3}} ||5 || [''string''], [''int''], [''int''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |[[01F9]] || {{Icon|trilogy}} ||9 || init_rampage [''string''], [''int''], [''int''], [''int''], [''int''], [''int''], [''int''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |01FA || {{Icon|trilogy}} ||1 || get_rampage_status [''var''] || | ||
+ | |- | ||
+ | |01FB || {{Icon|trilogy}} ||2 || sqrt [''var''], [''int''] || | ||
+ | |- | ||
+ | |01FC || {{Icon|3}} {{Icon|VC}} ||5 || is_player_near_car [''player handle''], [''car handle''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |01FD || {{Icon|3}} {{Icon|VC}} ||5 || is_player_near_car_on_foot [''player handle''], [''car handle''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |01FE || {{Icon|3}} {{Icon|VC}} ||5 || is_player_near_car_in_car [''player handle''], [''car handle''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |01FF || {{Icon|3}} {{Icon|VC}} ||6 || is_player_near_car_3d [''player handle''], [''car handle''], [''flt''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0200 || {{Icon|3}} {{Icon|VC}} ||6 || is_player_near_car_3d_on_foot [''player handle''], [''car handle''], [''flt''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0201 || {{Icon|3}} {{Icon|VC}} ||6 || is_player_near_car_3d_in_car [''player handle''], [''car handle''], [''flt''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0202 || {{Icon|trilogy}} ||5 || is_actor_near_car [''char handle''], [''car handle''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0203 || {{Icon|trilogy}} ||5 || is_actor_near_car_on_foot [''char handle''], [''car handle''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0204 || {{Icon|trilogy}} ||5 || is_actor_near_car_in_car [''char handle''], [''car handle''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0205 || {{Icon|trilogy}} ||6 || is_actor_near_car_3d [''char handle''], [''car handle''], [''flt''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0206 || {{Icon|trilogy}} ||6 || is_actor_near_car_3d_on_foot [''char handle''], [''car handle''], [''flt''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0207 || {{Icon|trilogy}} ||6 || is_actor_near_car_3d_in_car [''char handle''], [''car handle''], [''flt''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |0208 || {{Icon|trilogy}} ||2 || randf [''flt''], [''flt''], [''var''] || | ||
+ | |- | ||
+ | |0209 || {{Icon|trilogy}} ||2 || randi [''int''], [''int''], [''var''] || | ||
+ | |- | ||
+ | |[[020A]] || {{Icon|trilogy}} ||2 || set_car_door_status [''car handle''], [''int''] || | ||
+ | |- | ||
+ | |020B || {{Icon|trilogy}} ||1 || explode_car [''car handle''] || | ||
+ | |- | ||
+ | |020C || {{Icon|trilogy}} ||4 || create_explosion [''flt''], [''flt''], [''flt''], [''int''] || | ||
+ | |- | ||
+ | |020D || {{Icon|trilogy}} ||1 || is_car_flipped [''car handle''] || | ||
+ | |- | ||
+ | |020E || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_look_at_actor [''char handle''], [''char handle''] || | ||
+ | |- | ||
+ | |020F || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_look_at_player [''char handle''], [''player handle''] || | ||
+ | |- | ||
+ | |0210 || {{Icon|3}} {{Icon|VC}} ||2 || set_player_to_look_at_actor [''player handle''], [''char handle''] || | ||
+ | |- | ||
+ | |0211 || {{Icon|3}} {{Icon|VC}} ||3 || walk_actor_to_point [''char handle''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |0212 || unsupported ||0 || || | ||
+ | |- | ||
+ | |[[0213]] || {{Icon|trilogy}} ||6 || create_pickup [''int''], [''int''], [''flt''], [''flt''], [''flt''], [''var''] || | ||
+ | |- | ||
+ | |0214 || {{Icon|trilogy}} ||1 || is_pickup_picked_up [''pickup handle''] || | ||
+ | |- | ||
+ | |0215 || {{Icon|trilogy}} ||1 || destroy_pickup [''pickup handle''] || | ||
+ | |- | ||
+ | |0216 || {{Icon|trilogy}} ||2 || set_car_taxiavailable [''car handle''], [''int''] || | ||
+ | |- | ||
+ | |0217 || {{Icon|trilogy}} ||3 || text_styled_now [''string''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |0218 || {{Icon|3}} ||4 || text_1number_styled_now [''string''], [''int''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |0219 || {{Icon|3}} {{Icon|VC}} ||8<br />10 || create_garage [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''int''], [''garage handle'']<br />create_garage [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''int''], [''garage handle''] || | ||
+ | |- | ||
+ | |021A || {{Icon|3}} ||9 || set_garage_to_accept_car [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''int''], [''int''], [''garage handle''] || | ||
+ | |- | ||
+ | |[[021B]] || {{Icon|trilogy}} ||2 || is_car_in_garage [''garage handle''], [''car handle''] || | ||
+ | |- | ||
+ | |021C || {{Icon|3}} {{Icon|VC}} ||1 || [''garage handle''] || | ||
+ | |- | ||
+ | |021D || {{Icon|3}} ||1 || toggle_free_bomb_shop [''int''] ||simulated in LC mod | ||
+ | |- | ||
+ | |021E || unsupported ||0 || || | ||
+ | |- | ||
+ | |021F || {{Icon|3}} ||1 || [''int''] || | ||
+ | |- | ||
+ | |0220 || {{Icon|3}} ||1 || [''car handle''] || | ||
+ | |- | ||
+ | |0221 || {{Icon|trilogy}} ||2 || toggle_player_trapped_in_car [''player handle''], [''int''] || | ||
+ | |- | ||
+ | |0222 || {{Icon|3}} {{Icon|VC}} ||2 || set_player_health [''player handle''], [''int''] || | ||
+ | |- | ||
+ | |0223 || {{Icon|trilogy}} ||2 || set_actor_health [''char handle''], [''int''] || | ||
+ | |- | ||
+ | |0224 || {{Icon|trilogy}} ||2 || set_car_health [''car handle''], [''int''] || | ||
+ | |- | ||
+ | |0225 || {{Icon|3}} {{Icon|VC}} ||2 || get_player_health [''player handle''], [''var''] || | ||
+ | |- | ||
+ | |0226 || {{Icon|trilogy}} ||2 || get_actor_health [''char handle''], [''var''] || | ||
+ | |- | ||
+ | |0227 || {{Icon|trilogy}} ||2 || get_car_health [''car handle''], [''var''] || | ||
+ | |- | ||
+ | |0228 || {{Icon|3}} ||2 || is_car_bomb_status [''car handle''], [''var''] ||simulated in LC mod | ||
+ | |- | ||
+ | |0229 || {{Icon|trilogy}} ||3 || change_car_color [''car handle''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |022A || {{Icon|trilogy}} ||6 || enable_ped_nodes_in_cube [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |022B || {{Icon|trilogy}} ||6 || disable_ped_nodes_in_cube [''flt''], [''flt''], [''flt''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |022C || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_look_at_actor2 [''char handle''], [''char handle''] || | ||
+ | |- | ||
+ | |022D || {{Icon|3}} {{Icon|VC}} ||2 || set_actor_to_look_at_player2 [''char handle''], [''player handle''] || | ||
+ | |- | ||
+ | |022E || {{Icon|3}} {{Icon|VC}} ||2 || set_player_to_look_at_actor2 [''player handle''], [''char handle''] || | ||
+ | |- | ||
+ | |022F || {{Icon|3}} {{Icon|VC}} ||1 || stop_actor_looking [''char handle''] || | ||
+ | |- | ||
+ | |0230 || {{Icon|3}} {{Icon|VC}} ||1 || stop_player_looking [''player handle''] || | ||
+ | |- | ||
+ | |0231 || {{Icon|3}} ||1 || [''int''] || | ||
+ | |- | ||
+ | |0232 || unsupported ||0 || || | ||
+ | |- | ||
+ | |0233 || unsupported ||0 || || | ||
+ | |- | ||
+ | |0234 || unsupported ||0 || || | ||
+ | |- | ||
+ | |0235 || {{Icon|VC}} ||3 || set_gang_peds [''int''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |[[0236]] || {{Icon|3}} {{Icon|VC}} ||2 || set_gang_car [''int''], [''int''] || | ||
+ | |- | ||
+ | |[[0237]] || {{Icon|trilogy}} ||3 || set_gang_weapons [''int''], [''int''], [''int''] || | ||
+ | |- | ||
+ | |0238 || {{Icon|3}} ||5 || [''player handle''], [''flt''], [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |0239 || {{Icon|3}} {{Icon|VC}} ||3 || run_actor_to_point [''char handle''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |023A || {{Icon|3}} ||2 || has_player_collided_with_object [''player handle''], [''object handle''] || | ||
+ | |- | ||
+ | |023B || {{Icon|trilogy}} ||2 || has_actor_collided_with_object [''char handle''], [''object handle''] || | ||
+ | |- | ||
+ | |[[023C]] || {{Icon|trilogy}} ||2 || load_special_char [''int''], [''string''] || | ||
+ | |- | ||
+ | |[[023D]] || {{Icon|trilogy}} ||1 || is_special_char_available [''string''] || | ||
+ | |- | ||
+ | |023E || {{Icon|3}} ||2 || [''car handle''], [''int''] || | ||
+ | |- | ||
+ | |023F || {{Icon|3}} ||2 || [''char handle''], [''int''] || | ||
+ | |- | ||
+ | |0240 || {{Icon|3}} ||2 || [''object handle''], [''int''] || | ||
+ | |- | ||
+ | |0241 || {{Icon|trilogy}} ||1 || is_player_in_remote_mode [''player handle''] || | ||
+ | |- | ||
+ | |0242 || {{Icon|3}} ||2 || set_car_bomb_status [''car handle''] ||simulated in LC mod | ||
+ | |- | ||
+ | |[[0243]] || {{Icon|3}} {{Icon|VC}} ||2 || set_ped_stats [''char handle''], [''int''] || | ||
+ | |- | ||
+ | |0244 || {{Icon|trilogy}} ||3 || set_cutscene_pos [''flt''], [''flt''], [''flt''] || | ||
+ | |- | ||
+ | |[[0245]] || {{Icon|trilogy}} ||2 || set_actor_walk_style [''char handle''], [''int''] || | ||
+ | |- | ||
+ | |0246 || {{Icon|3}} ||2 || [''player handle''], [''int''] || | ||
+ | |- | ||
+ | |[[0247]] || {{Icon|trilogy}} ||1 || request_model [''int''] || | ||
+ | |- | ||
+ | |[[0248]] || {{Icon|trilogy}} ||1 || is_model_available [''int''] || | ||
+ | |- | ||
+ | |[[0249]] || {{Icon|trilogy}} ||1 || release_model [''int''] || | ||
+ | |- | ||
+ | |[[024A]] || {{Icon|3}} {{Icon|VC}} ||3 || create_phone [''flt''], [''flt''], [''var''] || | ||
+ | |- | ||
+ | |024B || {{Icon|3}} ||2 || text_phone_repeatedly [''phone handle''], [''string''] || | ||
+ | |- | ||
+ | |024C || {{Icon|3}} ||2 || text_phone [''phone handle''], [''string''] || | ||
+ | |- | ||
+ | |024D || {{Icon|3}} ||1 || has_phone_text_been_displayed || | ||
+ | |- | ||
+ | |[[024E]] || {{Icon|3}} {{Icon|VC}} ||1 || disable_phone [''phone handle''] || | ||
|} | |} | ||
Line 875: | Line 1,185: | ||
* {{Icon|SA}} [http://web.archive.org/web/20080801195206/http://sa-db.webtools4you.net/?show=all GTA SA Opcode Database] – retrieved from archive.org | * {{Icon|SA}} [http://web.archive.org/web/20080801195206/http://sa-db.webtools4you.net/?show=all GTA SA Opcode Database] – retrieved from archive.org | ||
− | [[Category:OpCodes| | + | [[Category:OpCodes| ]][[Category:GTA 3]][[Category:GTA VC]][[Category:GTA SA]] |
Revision as of 21:17, 23 August 2011
This is a list of all opcodes, including nops and unsupported ones, in GTAMA syntax for GTA III, Vice City, and San Andreas. The list is based on the opcode definition list by CyQ. Note that this list is mainly for reference and has many out-dated descriptions. Please see here for a list of the most up-to-date descriptions.
Opcode | Games | P | Syntax | Notes |
---|---|---|---|---|
0000 | 0 | nop | no operation | |
0001 | 1 | wait [int] | ||
0002 | 1 | jump @[label] | ||
0003 | 1 | shake_cam [int] | ||
0004 | 2 | setgi [global var], [int] | ||
0005 | 2 | setgf [global var], [flt] | ||
0006 | 2 | setli [local var], [int] | ||
0007 | 2 | setlf [local var], [flt] | ||
0008 | 2 | addgi [global var], [int] | ||
0009 | 2 | addgf [global var], [flt] | ||
000A | 2 | addli [local var], [int] | ||
000B | 2 | addlf [local var], [flt] | ||
000C | 2 | subgi [global var], [int] | ||
000D | 2 | subgf [global var], [flt] | ||
000E | 2 | subli [local var], [int] | ||
000F | 2 | sublf [local var], [flt] | ||
0010 | 2 | mulgi [global var], [int] | ||
0011 | 2 | mulgf [global var], [flt] | ||
0012 | 2 | mulli [local var], [int] | ||
0013 | 2 | mullf [local var], [flt] | ||
0014 | 2 | divgi [global var], [int] | ||
0015 | 2 | divgf [global var], [flt] | ||
0016 | 2 | divli [local var], [int] | ||
0017 | 2 | divlf [local var], [flt] | ||
0018 | 2 | gtgi [global var], [int] | ||
0019 | 2 | gtli [local var], [int] | ||
001A | 2 | gtig [int], [global var] | ||
001B | 2 | gtil [int], [local var] | ||
001C | 2 | gtgg [global var int], [global var int] | ||
001D | 2 | gtll [local var int], [local var int] | ||
001E | 2 | gtgl [global var int], [local var int] | ||
001F | 2 | gtlg [local var int], [global var int] | ||
0020 | 2 | gtgf [global var], [flt] | ||
0021 | 2 | gtlf [local var], [flt] | ||
0022 | 2 | gtfg [flt], [global var] | ||
0023 | 2 | gtfl [flt], [local var] | ||
0024 | 2 | gtggf [global var flt], [global var flt] | ||
0025 | 2 | gtllf [local var flt], [local var flt] | ||
0026 | 2 | gtglf [global var flt], [local var flt] | ||
0027 | 2 | gtlgf [flt], [global var] | ||
0028 | 2 | gtegi [global var], [int] | ||
0029 | 2 | gteli [local var], [int] | ||
002A | 2 | gteig [int], [global var] | ||
002B | 2 | gteil [int], [local var] | ||
002C | 2 | gtegg [global var int], [global var int] | ||
002D | 2 | gtell [local var int], [local var int] | ||
002E | 2 | gtegl [global var int], [local var int] | ||
002F | 2 | gtelg [local var int], [global var int] | ||
0030 | 2 | gtegf [global var], [flt] | ||
0031 | 2 | gtelf [local var], [flt] | ||
0032 | 2 | gtefg [flt], [global var] | ||
0033 | 2 | gtefl [flt], [local var] | ||
0034 | 2 | gteggf [global var flt], [global var flt] | ||
0035 | 2 | gtellf [local var flt], [local var flt] | ||
0036 | 2 | gteglf [global var flt], [local var flt] | ||
0037 | 2 | gtelgf [local var flt], [global var flt] | ||
0038 | 2 | egi [global var], [int] | ||
0039 | 2 | eli [local var], [int] | ||
003A | 2 | egg [global var int], [global var int] | ||
003B | 2 | ell [local var int], [local var int] | ||
003C | 2 | egl [global var int], [local var int] | ||
003D | unsupported | - | ||
003E | unsupported | - | ||
003F | unsupported | - | ||
0040 | unsupported | - | ||
0041 | unsupported | - | ||
0042 | 2 | egf [global var], [flt] | ||
0043 | 2 | elf [local var], [flt] | ||
0044 | 2 | eggf [global var flt], [global var flt] | ||
0045 | 2 | ellf [local var flt], [local var flt] | ||
0046 | 2 | eglf [global var flt], [local var flt] | ||
0047 | unsupported | - | ||
0048 | unsupported | - | ||
0049 | unsupported | - | ||
004A | unsupported | - | ||
004B | unsupported | - | ||
004E | 0 | end_thread | ||
004F | -1 | create_thread @[label] | ||
0050 | 1 | gosub @[label] | ||
0051 | 0 | return | ||
0052 | 6 | no operation | ||
0053 | 5 | create_player [int], [flt], [flt], [flt], [var] | ||
0054 | 4 | get_player_coords [player handle], [var], [var], [var] | ||
0055 | 4 | put_player_at [player handle], [int], [int], [int] | ||
0056 | 6 | is_player_in_rect [player handle], [flt], [flt], [flt], [flt], [int] | ||
0057 | 8 | is_player_in_cube [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
0058 | 2 | addgg [global var int], [global var int] | ||
0059 | 2 | addggf [global var flt], [global var flt] | ||
005A | 2 | addll [local var int], [local var int] | ||
005B | 2 | addllf [local var flt], [local var flt] | ||
005C | 2 | addlg [local var int], [global var int] | ||
005D | 2 | addlgf [local var flt], [global var flt] | ||
005E | 2 | addgl [global var int], [local var int] | ||
005F | 2 | addglf [global var flt], [local var flt] | ||
0060 | 2 | subgg [global var int], [global var int] | ||
0061 | 2 | subggf [global var flt], [global var flt] | ||
0062 | 2 | subll [local var int], [local var int] | ||
0063 | 2 | subllf [local var flt], [local var flt] | ||
0064 | 2 | sublg [local var int], [global var int] | ||
0065 | 2 | sublgf [local var flt], [global var flt] | ||
0066 | 2 | subgl [global var int], [local var int] | ||
0067 | 2 | subglf [global var flt], [local var flt] | ||
0068 | 2 | mulgg [global var int], [global var int] | ||
0069 | 2 | mulggf [global var flt], [global var flt] | ||
006A | 2 | mulll [local var int], [local var int] | ||
006B | 2 | mulllf [local var flt], [local var flt] | ||
006C | 2 | mullg [local var var int], [flt var int] | ||
006D | 2 | mullgf [global var var int], [flt var int] | ||
006E | 2 | mulgl [global var int], [local var int] | ||
006F | 2 | mulglf [global var flt], [local var flt] | ||
0070 | 2 | divgg [global var int], [global var int] | ||
0071 | 2 | divggf [global var flt], [global var flt] | ||
0072 | 2 | divll [local var int], [local var int] | ||
0073 | 2 | divllf [local var flt], [local var flt] | ||
0074 | 2 | divlg [local var int], [global var int] | ||
0075 | 2 | divlgf [local var flt], [global var flt] | ||
0076 | 2 | divgl [global var int], [local var int] | ||
0077 | 2 | divglf [global var flt], [local var flt] | ||
0078 | 2 | addgf_time [global var], [flt] | ||
0079 | 2 | addlf_time [local var], [flt] | ||
007A | 2 | addggf_time [global var flt], [global var flt] | ||
007B | 2 | addllf_time [local var flt], [local var flt] | ||
007C | 2 | addglf_time [global var flt], [local var flt] | ||
007D | 2 | addlgf_time [local var flt], [global var flt] | ||
007E | 2 | subgf_time [global var], [flt] | ||
007F | 2 | sublf_time [local var], [flt] | ||
0080 | 2 | subggf_time [global var flt], [global var flt] | ||
0081 | 2 | subllf_time [local var flt], [local var flt] | ||
0082 | 2 | subglf_time [global var flt], [local var flt] | ||
0083 | 2 | sublgf_time [local var flt], [global var flt] | ||
0084 | 2 | setgg [global var int], [global var int] | ||
0085 | 2 | setll [local var int], [local var int] | ||
0086 | 2 | setggf [global var flt], [global var flt] | ||
0087 | 2 | setllf [local var flt], [local var flt] | ||
0088 | 2 | setglf [global var flt], [local var flt] | ||
0089 | 2 | setlgf [local var flt], [global var flt] | ||
008A | 2 | setglg [global var int], [local var int] | ||
008B | 2 | setlg [local var int], [global var int] | ||
008C | 2 | setgigf [global var int], [global var flt] | ||
008D | 2 | setgfgi [global var flt], [global var int] | ||
008E | 2 | setlilf [local var int], [global var flt] | ||
008F | 2 | setlfli [local var flt], [global var int] | ||
0090 | 2 | setgilf [global var int], [local var flt] | ||
0091 | 2 | setgfli [global var flt], [local var int] | ||
0092 | 2 | setligf [local var int], [local var flt] | ||
0093 | 2 | setlfgi [local var flt], [local var int] | ||
0094 | 1 | absg [int] | ||
0095 | 1 | absl [int] | ||
0096 | 1 | absgf [flt] | ||
0097 | 1 | abslf [flt] | ||
0098 | 1 | randf_0to1 [flt] | ||
0099 | 1 | randi_0to65535 [int] | ||
009A | 6 | create_actor [int], [int], [flt], [flt], [flt], [var] | ||
009B | 1 | destroy_actor [char handle] | ||
009C | 2 | set_wander_path [char handle], [int] | ||
009D | unsupported | - | do_nothing | |
009E | 6 | set_ped_path [char handle], [flt], [flt], [flt], [flt], [int] | ||
009F | 1 | set_ped_objective [char handle] | ||
00A0 | 4 | get_actor_coords [char handle], [var], [var], [var] | ||
00A1 | 4 | put_actor_at [char handle], [flt], [flt], [flt] | ||
00A2 | 1 | is_actor_alive [char handle] | ||
00A3 | 6 | is_actor_in_rect [char handle], [flt], [flt], [flt], [flt], [int] | ||
00A4 | 8 | is_actor_in_cube [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00A5 | 5 | create_car [int], [flt], [flt], [flt], [var] | ||
00A6 | 1 | destroy_car [car handle] | ||
00A7 | 4 | drive_car_to [car handle], [flt], [flt], [flt] | ||
00A8 | 1 | set_car_driver_psycho [car handle] | ||
00A9 | 1 | set_car_driver_normal [car handle] | ||
00AA | 4 | get_car_coords [car handle], [var], [var], [var] | ||
00AB | 4 | put_car_at [car handle], [flt], [flt], [flt] | ||
00AC | 1 | is_car_on_land [car handle] | ||
00AD | 2 | set_car_max_speed [car handle], [flt] | ||
00AE | 2 | [car handle], [int] | ||
00AF | 2 | set_car_driver_behaviour [car handle], [int] | ||
00B0 | 6 | is_car_in_rect [car handle], [flt], [flt], [flt], [flt], [int] | ||
00B1 | 8 | is_car_in_cube [car handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00B2 | unsupported | - | ||
00B3 | unsupported | - | ||
00B4 | unsupported | - | ||
00B5 | unsupported | - | ||
00B6 | unsupported | - | ||
00B7 | unsupported | - | ||
00B8 | unsupported | - | ||
00B9 | unsupported | - | ||
00BA | 3 | text_styled [string], [int], [int] | ||
00BB | 3 | text [string], [int], [int] | ||
00BC | 3 | text_now [string], [int], [int] | ||
00BD | 3 | text_soon [string], [int], [int] | ||
00BE | 0 | text_clear_all | ||
00BF | 2 | get_current_time [var], [var] | ||
00C0 | 2 | set_current_time [int], [int] | ||
00C1 | 3 | get_mins_to_current_time [int], [int], [var] | ||
00C2 | 4 | is_sphere_onscreen [flt], [flt], [flt], [flt] | ||
00C3 | 0 | debug_on | ||
00C4 | 0 | debug_off | ||
00C5 | 0 | true | ||
00C6 | 0 | false | ||
00C7 | unsupported | - | ||
00C8 | unsupported | - | ||
00C9 | unsupported | - | ||
00CA | unsupported | - | ||
00CB | unsupported | - | ||
00CC | unsupported | - | ||
00CD | unsupported | - | ||
00CE | unsupported | - | ||
00CF | unsupported | - | ||
00D0 | unsupported | - | ||
00D1 | unsupported | - | ||
00D2 | unsupported | - | ||
00D3 | unsupported | - | ||
00D4 | unsupported | - | ||
00D5 | unsupported | - | ||
00D6 | 1 | if [int] | ||
00D7 | 1 | create_thread_wb @[label] | ||
00D8 | 0 | mission_cleanup | ||
00D9 | 2 | store_actor_car [char handle], [var] | ||
00DA | 2 | store_player_car [player handle], [var] | ||
00DB | 2 | is_actor_driving_car [char handle], [car handle] | ||
00DC | 2 | is_player_driving_car [player handle], [car handle] | ||
00DD | 2 | is_actor_driving_car_model [char handle], [int] | ||
00DE | 2 | is_player_driving_car_model [player handle], [int] | ||
00DF | 1 | is_actor_driving [char handle] | ||
00E0 | 1 | is_player_driving [player handle] | ||
00E1 | 2 | is_key_pressed [int], [int] | ||
00E2 | 2 | get_key_pressed [int], [int], [var] | ||
00E3 | 6 | is_player_near_point [player handle], [flt], [flt], [flt], [flt], [int] | ||
00E4 | 6 | is_player_near_point_on_foot [player handle], [flt], [flt], [flt], [flt], [int] | ||
00E5 | 6 | is_player_near_point_in_car [player handle], [flt], [flt], [flt], [flt], [int] | ||
00E6 | 6 | is_player_near_point_still [player handle], [flt], [flt], [flt], [flt], [int] | ||
00E7 | 6 | is_player_near_point_on_foot_still [player handle], [flt], [flt], [flt], [flt], [int] | ||
00E8 | 6 | is_player_near_point_in_car_still [player handle], [flt], [flt], [flt], [flt], [int] | ||
00E9 | 5 | is_player_near_actor [player handle], [char handle], [flt], [flt], [int] | ||
00EA | 5 | is_player_near_actor_on_foot [player handle], [char handle], [flt], [flt], [int] | ||
00EB | 5 | is_player_near_actor_in_car [player handle], [char handle], [flt], [flt], [int] | ||
00EC | 6 | is_actor_near_point [char handle], [flt], [flt], [flt], [flt], [int] | ||
00ED | 6 | is_actor_near_point_on_foot [char handle], [flt], [flt], [flt], [flt], [int] | ||
00EE | 6 | is_actor_near_point_in_car [char handle], [flt], [flt], [flt], [flt], [int] | ||
00EF | 6 | is_actor_near_point_still [char handle], [flt], [flt], [flt], [flt], [int] | ||
00F0 | 6 | is_actor_near_point_on_foot_still [char handle], [flt], [flt], [flt], [flt], [int] | ||
00F1 | 6 | is_actor_near_point_in_car_still [char handle], [flt], [flt], [flt], [flt], [int] | ||
00F2 | 5 | is_actor_near_actor [char handle], [char handle], [flt], [flt], [int] | ||
00F3 | 5 | is_actor_near_actor_on_foot [char handle], [char handle], [flt], [flt], [int] | ||
00F4 | 5 | is_actor_near_actor_in_car [char handle], [char handle], [flt], [flt], [int] | ||
00F5 | 8 | is_player_near_point_3d [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00F6 | 8 | is_player_near_point_3d_on_foot [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00F7 | 8 | is_player_near_point_3d_in_car [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00F8 | 8 | is_player_near_point_3d_still [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00F9 | 8 | is_player_near_point_3d_on_foot_still [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00FA | 8 | is_player_near_point_3d_in_car_still [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00FB | 6 | is_player_near_actor_3d [player handle], [char handle], [flt], [flt], [flt], [int] | ||
00FC | 6 | is_player_near_actor_3d_on_foot [player handle], [char handle], [flt], [flt], [flt], [int] | ||
00FD | 6 | is_player_near_actor_3d_in_car [player handle], [char handle], [flt], [flt], [flt], [int] | ||
00FE | 8 | is_actor_near_point_3d [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
00FF | 8 | is_actor_near_point_3d_on_foot [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
0100 | 8 | is_actor_near_point_3d_in_car [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
0101 | 8 | is_actor_near_point_3d_still [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
0102 | 8 | is_actor_near_point_3d_on_foot_still [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
0103 | 8 | is_actor_near_point_3d_in_car_still [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
0104 | 6 | is_actor_near_actor_3d [char handle], [char handle], [flt], [flt], [flt], [flt], [int] | ||
0105 | 6 | is_actor_near_actor_3d_on_foot [char handle], [char handle], [flt], [flt], [flt], [flt], [int] | ||
0106 | 6 | is_actor_near_actor_3d_in_car [char handle], [char handle], [flt], [flt], [flt], [flt], [int] | ||
0107 | 5 | create_object [int], [flt], [flt], [flt], [var] | ||
0108 | 1 | destroy_object [object handle] | ||
0109 | 2 | add_to_player_money [player handle], [int] | ||
010A | 2 | is_player_money_greater_than [player handle], [int] | ||
010B | 2 | get_player_money [player handle], [var] | ||
010C | 5 | init_player_rc_buggy [player handle], [flt], [flt], [flt], [flt] | ||
010D | 2 | set_player_wanted_level [player handle], [int] | ||
010E | 2 | set_player_wanted_level_no_drop [player handle], [int] | ||
010F | 2 | is_player_wanted_level_greater [player handle], [int] | ||
0110 | 1 | clear_player_wanted_level [player handle] | ||
0111 | 1 | toggle_wasted_busted_check [int] | ||
0112 | 0 | is_wasted_or_busted | ||
0113 | 3 | give_player_ammo [player handle], [int], [int] | ||
0114 | 3 | give_actor_ammo [char handle], [int], [int] | ||
0115 | unsupported | - | ||
0116 | unsupported | - | ||
0117 | 1 | is_player_wasted [player handle] | ||
0118 | 1 | is_actor_dead [char handle] | ||
0119 | 1 | is_car_wrecked [car handle] | ||
011A | 2 | set_actor_flags [char handle], [int] | ||
011B | unsupported | - | ||
011C | 1 | clear_actor_objective [char handle] | ||
011D | unsupported | - | ||
011E | unsupported | - | ||
011F | unsupported | - | ||
0120 | unsupported | - | ||
0121 | 2 | is_player_in_zone [player handle], [string] | ||
0122 | 1 | is_player_pressing_horn [player handle] | ||
0123 | 2 | has_actor_spotted_player [char handle], [player handle] | ||
0124 | unsupported | - | ||
0125 | unsupported | - | ||
0126 | 1 | is_actor_walking [char handle] | ||
0127 | unsupported | - | ||
0128 | unsupported | - | ||
0129 | 4 | create_actor_in_car_driverseat [car handle], [char handle], [int], [char handle] | ||
012A | 4 | put_player_at_and_remove_from_car [player handle], [flt], [flt], [flt] | ||
012B | unsupported | - | ||
012C | unsupported | - | ||
012D | unsupported | - | ||
012E | unsupported | - | ||
012F | unsupported | - | ||
0130 | 1 | is_player_busted [player handle] | simulated in LC mod | |
0135 | 2 | get_car_door_status [car handle], [var] | ||
0136 | unsupported | 0 | ||
0137 | 2 | is_car_id [car handle], [int] | ||
0138 | unsupported | 0 | ||
0139 | unsupported | 0 | ||
013A | unsupported | 0 | ||
013B | 6 | [car handle], [flt], [flt], [flt], [flt], [int] | ||
013C | 8 | [car handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
013D | unsupported | 0 | ||
013E | unsupported | 0 | ||
013F | unsupported | 0 | ||
0140 | unsupported | 0 | ||
0141 | unsupported | 0 | ||
0142 | unsupported | 0 | ||
0143 | unsupported | 0 | ||
0144 | unsupported | 0 | ||
0145 | unsupported | 0 | ||
0146 | unsupported | 0 | ||
0147 | unsupported | 0 | ||
0148 | unsupported | 0 | ||
0149 | 1 | is_car_crushed [car handle] | ||
014A | unsupported | 0 | ||
014B | 13 | create_car_generator [flt], [flt], [flt], [flt], [int], [int], [int], [int], [int], [int], [int], [int], [var] | ||
014C | 2 | set_generated_cars [car generator handle], [int] | ||
014D | 4 | text_pager [string], [int], [int], [int] | simulated in LC mod | |
014E | 1 2 |
start_timer [global var] start_timer [global var], [int] |
||
014F | 1 | stop_timer [global var] | ||
0150 | 2 | [global var], [int] | ||
0151 | 1 | remove_status_text [global var] | ||
0152 | 11 13 |
set_zone_gang_car_info [string], [int], [int], [int], [int], [int], [int], [int], [int], [int], [int] set_zone_gang_car_info [string], [int], [int], [int], [int], [int], [int], [int], [int], [int], [int], [int], [int] |
||
0153 | unsupported | 0 | ||
0154 | 2 | is_actor_in_zone [char handle], [string] | ||
0155 | 3 | [int], [int], [int] | ||
0156 | 3 | set_ped_density [string], [int], [int] | ||
0157 | 3 | camera_on_player [player handle], [int], [int] | ||
0158 | 3 | camera_on_vehicle [car handle], [int], [int] | ||
0159 | 3 | camera_on_actor [char handle], [int], [int] | ||
015A | 0 | restore_camera | ||
015B | 3 | [int], [int], [int] | ||
015C | 11 13 |
set_zone_gang_ped_info [string], [int], [int], [int], [int], [int], [int], [int], [int], [int], [int] set_zone_gang_ped_info [string], [int], [int], [int], [int], [int], [int], [int], [int], [int], [int], [int], [int] |
||
015D | 1 | set_gamespeed [flt] | ||
015E | 1 | are_car_wheels_on_ground [car handle] | ||
015F | 6 | set_camera_position [flt], [flt], [flt], [flt], [flt], [flt] | ||
0160 | 4 | point_camera [flt], [flt], [flt], [int] | ||
0161 | 4 | tie_marker_to_car [car handle], [int], [int], [var] | ||
0162 | 4 | tie_marker_to_actor [char handle], [int], [int], [var] | ||
0163 | 4 | [object handle], [int], [int], [var] | ||
0164 | 1 | disable_marker [blip handle] | ||
0165 | 2 | set_marker_color [blip handle], [int] | ||
0166 | 2 | set_marker_brightness [blip handle], [int] | ||
0167 | 6 | create_marker [flt], [flt], [flt], [int], [int], [var] | ||
0168 | 2 | show_on_radar1 [blip handle], [int] | ||
0169 | 3 | set_fade_color [int], [int], [int] | ||
016A | 2 | fade [int], [int] | ||
016B | 0 | is_fading | ||
016C | |
4 5 |
restart_if_wasted_at [flt], [flt], [flt], [flt] restart_if_wasted_at [flt], [flt], [flt], [flt], [int] |
|
016D | |
4 5 |
restart_if_busted_at [flt], [flt], [flt], [flt] restart_if_busted_at [flt], [flt], [flt], [flt], [int] |
|
016E | 4 | override_restart_at [flt], [flt], [flt], [flt] | ||
016F | 10 | create_particle_1 [int], [flt], [flt], [flt], [flt], [flt], [int], [int], [int], [int] | ||
0170 | 2 | get_player_z_angle [player handle], [var] | ||
0171 | 2 | set_player_z_angle [player handle], [flt] | ||
0172 | 2 | get_actor_z_angle [char handle], [var] | ||
0173 | 2 | set_actor_z_angle [char handle], [flt] | ||
0174 | 2 | get_car_z_angle [car handle], [var] | ||
0175 | 2 | set_car_z_angle [car handle], [flt] | ||
0176 | 2 | get_object_z_angle [object handle], [var] | ||
0177 | 2 | set_object_z_angle [object handle], [flt] | ||
0178 | 2 | has_player_picked_up_object [player handle], [object handle] | simulated in LC mod | |
0179 | 2 | has_actor_picked_up_object [char handle], [object handle] | ||
017A | 3 | set_player_weapon_ammo [player handle], [int], [int] | ||
017B | 3 | set_actor_weapon_ammo [char handle], [int], [int] | ||
017C | unsupported | 0 | ||
017D | unsupported | 0 | ||
017E | unsupported | 0 | ||
017F | unsupported | 0 | ||
0180 | 1 | set_missionflag [var] | ||
0181 | 2 | set_contact_on_mission_flag [int], [int] | ||
0182 | 2 | set_contact_base_brief [int], [int] | ||
0183 | 2 | is_player_health_greater_than [player handle], [int] | ||
0184 | 2 | is_actor_health_greater_than [char handle], [int] | ||
0185 | 2 | is_car_health_greater_than [car handle], [int] | ||
0186 | 2 | create_arrow_above_car [car handle], [blip handle] | ||
0187 | 2 | create_arrow_above_actor [char handle], [blip handle] | ||
0188 | 2 | create_arrow_above_object [object handle], [blip handle] | ||
0189 | 2 | [flt], [flt], [flt], [blip handle] | ||
018A | 2 | create_checkpoint] [flt], [flt], [flt], [blip handle] | ||
018B | 2 | show_on_radar2 [blip handle], [int] | ||
018C | 4 | play_sound [int], [flt], [flt], [flt] | ||
018D | 5 | create_sound [int], [flt], [flt], [flt], [var] | ||
018E | 1 | stop_sound [sound handle] | ||
018F | 1 | [car handle] | ||
0190 | 1 | [car handle] | ||
0191 | 1 | [car handle] | ||
0192 | 1 | set_actor_to_stand_still [char handle] | ||
0193 | 1 | set_actor_to_act_like_ped [char handle] | ||
0194 | 4 | set_actor_to_go_to_point [char handle], [flt], [flt], [flt] | ||
0195 | 5 | [char handle], [flt], [flt], [flt], [flt] | ||
0196 | 1 | [char handle] | ||
0197 | 6 | is_player_in_rect_on_foot [player handle], [flt], [flt], [flt], [flt], [int] | ||
0198 | 6 | is_player_in_rect_in_car [player handle], [flt], [flt], [flt], [flt], [int] | ||
0199 | 6 | is_player_in_rect_still [player handle], [flt], [flt], [flt], [flt], [int] | ||
019A | 6 | is_player_in_rect_on_foot_still [player handle], [flt], [flt], [flt], [flt], [int] | ||
019B | 6 | is_player_in_rect_in_car_still [player handle], [flt], [flt], [flt], [flt], [int] | ||
019C | 8 | is_player_in_cube_on_foot [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
019D | 8 | is_player_in_cube_in_car [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
019E | 8 | is_player_in_cube_still [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
019F | 8 | is_player_in_cube_on_foot_still [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01A0 | 8 | is_player_in_cube_in_car_still [player handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01A1 | 6 | is_actor_in_rect_on_foot [char handle], [flt], [flt], [flt], [flt], [int] | ||
01A2 | 6 | is_actor_in_rect_in_car [char handle], [flt], [flt], [flt], [flt], [int] | ||
01A3 | 6 | is_actor_in_rect_still [char handle], [flt], [flt], [flt], [flt], [int] | ||
01A4 | 6 | is_actor_in_rect_on_foot_still [char handle], [flt], [flt], [flt], [flt], [int] | ||
01A5 | 6 | is_actor_in_rect_in_car_still [char handle], [flt], [flt], [flt], [flt], [int] | ||
01A6 | 8 | is_actor_in_cube_on_foot [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01A7 | 8 | is_actor_in_cube_in_car [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01A8 | 8 | is_actor_in_cube_still [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01A9 | 8 | is_actor_in_cube_on_foot_still [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01AA | 8 | is_actor_in_cube_in_car_still [char handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01AB | 6 | is_car_in_rect_still [car handle], [flt], [flt], [flt], [flt], [int] | ||
01AC | 8 | is_car_in_cube_still [car handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01AD | 6 | is_car_near_point [car handle], [flt], [flt], [flt], [flt], [int] | ||
01AE | 6 | is_car_near_point_still [car handle], [flt], [flt], [flt], [flt], [int] | ||
01AF | 8 | is_car_near_point_3d [car handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01B0 | 8 | is_car_near_point_3d_still [car handle], [flt], [flt], [flt], [flt], [flt], [flt], [int] | ||
01B1 | 3 | give_player_weapon [player handle], [int], [int] | ||
01B2 | 3 | give_actor_weapon [char handle], [int], [int] | ||
01B3 | unsupported | 0 | ||
01B4 | 2 | toggle_player_controllable [player handle] | ||
01B5 | 1 | force_weather [int] | ||
01B6 | 1 | weather [int] | ||
01B7 | 0 | release_weather | ||
01B8 | 2 | set_player_armed_weapon [player handle], [int] | ||
01B9 | 2 | set_actor_armed_weapon [char handle], [int] | ||
01BA | unsupported | 0 | ||
01BB | 4 | get_object_coords [object handle], [var], [var], [var] | ||
01BC | 4 | put_object_at [object handle], [flt], [flt], [flt] | ||
01BD | 1 | get_current_time_in_ms [var] | ||
01BE | 4 | set_actor_to_look_at_point [char handle], [flt], [flt], [flt] | ||
01BF | 4 | [player handle], [flt], [flt], [flt] | ||
01C0 | 2 | get_player_wanted_level [player handle], [var] | ||
01C1 | 1 | is_car_stopped [car handle] | ||
01C2 | 1 | cleanup_actor [char handle] | ||
01C3 | 1 | cleanup_car [car handle] | ||
01C4 | 1 | cleanup_object [object handle] | ||
01C5 | 1 | remove_actor_from_mission_cleanup_list [char handle] | ||
01C6 | 1 | remove_car_from_mission_cleanup_list [car handle] | ||
01C7 | 1 | remove_object_from_mission_cleanup_list [object handle] | ||
01C8 | 5 | create_actor_in_car_passenger [car handle], [int], [int], [int], [char handle] | ||
01C9 | 2 | set_actor_to_kill_actor1 [char handle], [char handle] | ||
01CA | 2 | set_actor_to_kill_player1 [char handle], [player handle] | ||
01CB | 2 | set_actor_to_kill_actor2 [char handle], [char handle] | ||
01CC | 2 | set_actor_to_kill_player2 [char handle], [player handle] | ||
01CD | 2 | set_actor_to_avoid_player1 [char handle], [char handle] | ||
01CE | 2 | set_actor_to_avoid_player1 [char handle], [player handle] | ||
01CF | 2 | [char handle], [char handle] | ||
01D0 | 2 | set_actor_to_avoid_player2 [char handle], [player handle] | ||
01D1 | 2 | set_actor_to_follow_actor [char handle], [char handle] | ||
01D2 | 2 | set_actor_to_follow_player [char handle], [player handle] | ||
01D3 | 2 | make_actor_leave_car [char handle], [car handle] | ||
01D4 | 2 | send_actor_to_car [char handle], [car handle] | ||
01D5 | 2 | send_actor_to_car_driversseat [char handle], [car handle] | ||
01D6 | unsupported | 0 | ||
01D7 | unsupported | 0 | ||
01D8 | 2 | [char handle], [object handle] | ||
01D9 | 2 | set_actor_to_run_from_car [char handle], [car handle] | ||
01DA | 5 | [char handle], [flt], [flt], [flt], [flt] | ||
01DB | unsupported | 0 | ||
01DC | unsupported | 0 | ||
01DD | unsupported | 0 | ||
01DE | 2 | tie_actor_to_actor [char handle], [char handle] | ||
01DF | 2 | tie_actor_to_player [char handle], [player handle] | ||
01E0 | 1 | clear_leader [char handle] | ||
01E1 | 3 | set_actor_follow_route [char handle], [int], [int] | ||
01E2 | 4 | add_route_point [int], [flt], [flt], [flt] | ||
01E3 | 4 | text_1number_styled [string], [int], [int], [int] | ||
01E4 | 4 | text_1number [string], [int], [int], [int] | ||
01E5 | 4 | text_1number_now [string], [int], [int], [int] | ||
01E6 | unsupported | 0 | text_1number_soon | |
01E7 | 6 | enable_car_nodes_in_cube [flt], [flt], [flt], [flt], [flt], [flt] | ||
01E8 | 6 | disable_car_nodes_in_cube [flt], [flt], [flt], [flt], [flt], [flt] | ||
01E9 | 2 | get_car_num_passengers [car handle], [var] | ||
01EA | 2 | get_car_max_passengers [car handle], [var] | ||
01EB | 1 | set_car_density [flt] | ||
01EC | 2 | make_car_heavy [car handle], [int] | ||
01ED | 1 | spawn_actor [char handle] | ||
01EE | 10 | activate_crane [flt], [flt], [flt], [flt], [flt], [flt], [flt], [flt], [flt], [flt] | ||
01EF | 2 | deactivate_crane [flt], [flt] | ||
01F0 | 1 | set_max_wanted_level [int] | ||
01F1 | unsupported | 0 | ||
01F2 | unsupported | 0 | ||
01F3 | 1 | is_airborne [car handle] | ||
01F4 | 1 | is_car_upsidedown [car handle] | ||
01F5 | 2 | make_actor_from_player [player handle], [var] | ||
01F6 | 0 | cancel_override_restart | ||
01F7 | 2 | toggle_player_ignored_by_cops [player handle], [int] | ||
01F8 | 5 | [string], [int], [int], [int], [int] | ||
01F9 | 9 | init_rampage [string], [int], [int], [int], [int], [int], [int], [int], [int] | ||
01FA | 1 | get_rampage_status [var] | ||
01FB | 2 | sqrt [var], [int] | ||
01FC | 5 | is_player_near_car [player handle], [car handle], [flt], [flt], [int] | ||
01FD | 5 | is_player_near_car_on_foot [player handle], [car handle], [flt], [flt], [int] | ||
01FE | 5 | is_player_near_car_in_car [player handle], [car handle], [flt], [flt], [int] | ||
01FF | 6 | is_player_near_car_3d [player handle], [car handle], [flt], [flt], [flt], [int] | ||
0200 | 6 | is_player_near_car_3d_on_foot [player handle], [car handle], [flt], [flt], [flt], [int] | ||
0201 | 6 | is_player_near_car_3d_in_car [player handle], [car handle], [flt], [flt], [flt], [int] | ||
0202 | 5 | is_actor_near_car [char handle], [car handle], [flt], [flt], [int] | ||
0203 | 5 | is_actor_near_car_on_foot [char handle], [car handle], [flt], [flt], [int] | ||
0204 | 5 | is_actor_near_car_in_car [char handle], [car handle], [flt], [flt], [int] | ||
0205 | 6 | is_actor_near_car_3d [char handle], [car handle], [flt], [flt], [flt], [int] | ||
0206 | 6 | is_actor_near_car_3d_on_foot [char handle], [car handle], [flt], [flt], [flt], [int] | ||
0207 | 6 | is_actor_near_car_3d_in_car [char handle], [car handle], [flt], [flt], [flt], [int] | ||
0208 | 2 | randf [flt], [flt], [var] | ||
0209 | 2 | randi [int], [int], [var] | ||
020A | 2 | set_car_door_status [car handle], [int] | ||
020B | 1 | explode_car [car handle] | ||
020C | 4 | create_explosion [flt], [flt], [flt], [int] | ||
020D | 1 | is_car_flipped [car handle] | ||
020E | 2 | set_actor_to_look_at_actor [char handle], [char handle] | ||
020F | 2 | set_actor_to_look_at_player [char handle], [player handle] | ||
0210 | 2 | set_player_to_look_at_actor [player handle], [char handle] | ||
0211 | 3 | walk_actor_to_point [char handle], [flt], [flt] | ||
0212 | unsupported | 0 | ||
0213 | 6 | create_pickup [int], [int], [flt], [flt], [flt], [var] | ||
0214 | 1 | is_pickup_picked_up [pickup handle] | ||
0215 | 1 | destroy_pickup [pickup handle] | ||
0216 | 2 | set_car_taxiavailable [car handle], [int] | ||
0217 | 3 | text_styled_now [string], [int], [int] | ||
0218 | 4 | text_1number_styled_now [string], [int], [int], [int] | ||
0219 | 8 10 |
create_garage [flt], [flt], [flt], [flt], [flt], [flt], [int], [garage handle] create_garage [flt], [flt], [flt], [flt], [flt], [flt], [flt], [flt], [int], [garage handle] |
||
021A | 9 | set_garage_to_accept_car [flt], [flt], [flt], [flt], [flt], [flt], [int], [int], [garage handle] | ||
021B | 2 | is_car_in_garage [garage handle], [car handle] | ||
021C | 1 | [garage handle] | ||
021D | 1 | toggle_free_bomb_shop [int] | simulated in LC mod | |
021E | unsupported | 0 | ||
021F | 1 | [int] | ||
0220 | 1 | [car handle] | ||
0221 | 2 | toggle_player_trapped_in_car [player handle], [int] | ||
0222 | 2 | set_player_health [player handle], [int] | ||
0223 | 2 | set_actor_health [char handle], [int] | ||
0224 | 2 | set_car_health [car handle], [int] | ||
0225 | 2 | get_player_health [player handle], [var] | ||
0226 | 2 | get_actor_health [char handle], [var] | ||
0227 | 2 | get_car_health [car handle], [var] | ||
0228 | 2 | is_car_bomb_status [car handle], [var] | simulated in LC mod | |
0229 | 3 | change_car_color [car handle], [int], [int] | ||
022A | 6 | enable_ped_nodes_in_cube [flt], [flt], [flt], [flt], [flt], [flt] | ||
022B | 6 | disable_ped_nodes_in_cube [flt], [flt], [flt], [flt], [flt], [flt] | ||
022C | 2 | set_actor_to_look_at_actor2 [char handle], [char handle] | ||
022D | 2 | set_actor_to_look_at_player2 [char handle], [player handle] | ||
022E | 2 | set_player_to_look_at_actor2 [player handle], [char handle] | ||
022F | 1 | stop_actor_looking [char handle] | ||
0230 | 1 | stop_player_looking [player handle] | ||
0231 | 1 | [int] | ||
0232 | unsupported | 0 | ||
0233 | unsupported | 0 | ||
0234 | unsupported | 0 | ||
0235 | 3 | set_gang_peds [int], [int], [int] | ||
0236 | 2 | set_gang_car [int], [int] | ||
0237 | 3 | set_gang_weapons [int], [int], [int] | ||
0238 | 5 | [player handle], [flt], [flt], [flt], [flt] | ||
0239 | 3 | run_actor_to_point [char handle], [flt], [flt] | ||
023A | 2 | has_player_collided_with_object [player handle], [object handle] | ||
023B | 2 | has_actor_collided_with_object [char handle], [object handle] | ||
023C | 2 | load_special_char [int], [string] | ||
023D | 1 | is_special_char_available [string] | ||
023E | 2 | [car handle], [int] | ||
023F | 2 | [char handle], [int] | ||
0240 | 2 | [object handle], [int] | ||
0241 | 1 | is_player_in_remote_mode [player handle] | ||
0242 | 2 | set_car_bomb_status [car handle] | simulated in LC mod | |
0243 | 2 | set_ped_stats [char handle], [int] | ||
0244 | 3 | set_cutscene_pos [flt], [flt], [flt] | ||
0245 | 2 | set_actor_walk_style [char handle], [int] | ||
0246 | 2 | [player handle], [int] | ||
0247 | 1 | request_model [int] | ||
0248 | 1 | is_model_available [int] | ||
0249 | 1 | release_model [int] | ||
024A | 3 | create_phone [flt], [flt], [var] | ||
024B | 2 | text_phone_repeatedly [phone handle], [string] | ||
024C | 2 | text_phone [phone handle], [string] | ||
024D | 1 | has_phone_text_been_displayed | ||
024E | 1 | disable_phone [phone handle] |
References
- scm_vice.ini
- scm_sa.ini
- GTA VC Opcode Database – retrieved from archive.org
- GTA SA Opcode Database – retrieved from archive.org