| Opcodes in category: Common |
|---|
| Opcodes 400 to 500 of 734 |
|---|
| 043C | set_music_does_fade 0 |  |
| 0441 | get_car_model $TEMPVAR_ACTOR_CAR store_to 6@ |  |
| 0446 | enable_char_dismemberment 2@ enable 0 |  |
| 0453 | set_object_rotation $CRANE_MAGNET to 15.0 0.0 $TEMPVAR_ANGLE |  |
| 0457 | is_player_targetting_char $PLAYER_CHAR char 101@ |  |
| 0458 | is_player_targetting_object $PLAYER_CHAR object $1754[0] |  |
| 0459 | terminate_all_scripts_with_this_name 'INT' |  |
| 045A | display_text_with_number 320.0 155.333 gxt 'ALLRACE' number 0@ |  |
| 045B | display_text_with_2_numbers 320.0 390.0 gxt 'TIME' numbers $TIME_MINS $6228 |  |
| 045C | fail_current_mission |  |
| 0460 | set_interpolation_parameters 0.0 time 3000 |  |
| 0463 | get_debug_camera_point_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 |  |
| 0464 | attach_ped_to_car 99@ car 68@ offset 266@ 267@ 268@ position 0 angle_limit 0.0 weapon 0 |  |
| 0465 | detach_char_from_car $PLAYER_ACTOR |  |
| 0467 | clear_char_last_weapon_damage $ACTOR_RYDER |  |
| 0468 | clear_car_last_weapon_damage 68@ |  |
| 046B | set_car_obj_flee_car $4793 car $4787 |  |
| 046C | get_driver_of_car 42@ store_to 125@ |  |
| 046D | get_number_of_followers 36@ store_to 55@ |  |
| 046F | store_player $player_char currently_armed_weapon_to 13@ |  |
| 0470 | get_current_char_weapon $PLAYER_ACTOR store_to 76@ |  |
| 0472 | locate_char_on_foot_object_2d $PLAYER_ACTOR object 0@ radius 5.0 5.0 sphere 0 |  |
| 0477 | set_car_temp_action 77@ to 3 time 6000 |  |
| 047A | is_char_on_any_bike $PLAYER_ACTOR |  |
| 047E | player $player_char driving_a_motorbike |  |
| 0488 | is_model_available #TAXI |  |
| 0489 | shut_char_up $PLAYER_ACTOR to 1 |  |
| 048A | set_enable_rc_detonate 0 |  |
| 048C | is_any_pickup_at_coords -2182.652 -247.3813 36.4 |  |
| 048F | remove_all_char_weapons $PLAYER_ACTOR |  |
| 0490 | player $player_char has_weapon 18 |  |
| 0494 | get_position_of_analogue_sticks 0 store_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y |  |
| 0495 | is_car_on_fire 78@ |  |
| 0496 | is_car_tyre_burst 34@ tyre 2 |  |
| 04A2 | heli_goto_coords 379@(253@,16i) coords 331@(253@,16f) 347@(253@,16f) 363@(253@,16f) min_altitude 0.0 max_altitude 363@(253@,16f) |  |
| 04A7 | is_char_in_any_boat $PLAYER_ACTOR |  |
| 04A9 | is_char_in_any_heli 395@(253@,16i) |  |
| 04AB | is_char_in_any_plane 395@(253@,16i) |  |
| 04AD | is_char_in_water $PLAYER_ACTOR |  |
| 04B8 | get_char_weapon_in_slot $PLAYER_ACTOR slot 2 store_weapon_to 380@ ammo_to 381@ model_to 381@ |  |
| 04BA | set_car_forward_speed 34@ to 0.0 |  |
| 04BB | set_area_visible 0 |  |
| 04C0 | create_script_roadblock 2336.63 -1548.68 23.99 to 2347.01 -1548.37 23.68 type 1 |  |
| 04C1 | clear_all_script_roadblocks |  |
| 04C4 | get_offset_from_char_in_world_coords 215@ offset 1.0 3.0 1.0 store_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 |  |
| 04C5 | has_char_been_photographed 284@ |  |
| 04C8 | is_char_in_flying_vehicle $PLAYER_ACTOR |  |
| 04CE | add_short_range_sprite_blip_for_coord 2447.364 -1974.496 12.5469 sprite 18 store_to $MARKER_EMMETS_GUN |  |
| 04D3 | get_nth_closest_car_node $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD nth 2 store_to 88@ 89@ 90@ |  |
| 04D5 | draw_weaponshop_corona $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 110@ type 2 flare 2 color 0 255 0 |  |
| 04D7 | freeze_char_position $PLAYER_ACTOR set_to 1 |  |
| 04D8 | set_char_drowns_in_water 395@(253@,16i) to 0 |  |
| 04D9 | set_object_records_collisions 0@ to 1 |  |
| 04DA | has_object_collided_with_anything 110@(176@,10i) |  |
| 04DB | remove_rc_buggy |  |
| 04DD | get_char_armour $PLAYER_ACTOR store_to $9594 |  |
| 04DF | set_heli_stabiliser 71@ to 0 |  |
| 04E0 | set_car_straight_line_distance 76@ to 30 |  |
| 04E1 | pop_car_boot 524@ |  |
| 04E4 | request_collision 2488.562 -1666.865 |  |
| 04E5 | locate_object_2d 38@(119@,4i) point 90@ 91@ radius 20.0 7.0 sphere 0 |  |
| 04E6 | locate_object_3d 0@ point 1@ 2@ 3@ radius 0.1 0.1 0.1 sphere 0 |  |
| 04E7 | is_object_in_water 117@(34@,7i) |  |
| 04E9 | is_object_in_area_2d 95@ from 400.0 500.0 to 200.0 300.0 sphere 0 |  |
| 04EA | is_object_in_area_3d 62@(42@,25i) from 2774.308 -2405.28 12.6803 to 2801.607 -2430.073 15.3896 sphere 0 |  |
| 04EB | task_crouch 65@ crouch 1 |  |
| 04ED | request_animation "LOWRIDER" |  |
| 04EE | has_animation_loaded "LOWRIDER" |  |
| 04EF | remove_animation "LOWRIDER" |  |
| 04F4 | attach_char_to_object 37@ object 52@ offset 2.85 -0.7 5.9 orientation 0 angle_limit 360.0 weapon 0 |  |
| 04F7 | display_nth_onscreen_counter_with_string $1924 type 0 nth 1 gxt 'BB_18' |  |
| 04F9 | set_extra_colours 1 fade 0 |  |
| 04FA | clear_extra_colours 0 |  |
| 04FE | burst_car_tyre 280@ tyre 2 |  |
| 0500 | is_player_wearing $PLAYER_CHAR skin "GIMPLEG" bodypart 17 |  |
| 0501 | set_player_can_do_drive_by $PLAYER_CHAR to 0 |  |
| 0506 | set_car_model_components #PICADOR to 4 4 |  |
| 0508 | close_all_car_doors 35@ |  |
| 0509 | get_distance_between_coords_2d $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 and 14@ 15@ store_to 17@ |  |
| 050A | get_distance_between_coords_3d $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 and 4@ 5@ 6@ store_to 17@ |  |
| 050F | get_max_wanted_level 53@ |  |
| 0512 | print_help_forever 'HOSP_1' |  |
| 0513 | print_help_forever_with_number 'SLOT_02' number 14@ |  |
| 0517 | create_locked_property_pickup $X_PROPERTY_TO_BUY[0] $Y_PROPERTY_TO_BUY[0] $Z_PROPERTY_TO_BUY[0] gxt 'PROP_4' store_to $BUY_ASSET_PICKUPS[0] |  |
| 0518 | create_forsale_property_pickup $X_PROPERTY_TO_BUY[0] $Y_PROPERTY_TO_BUY[0] $Z_PROPERTY_TO_BUY[0] price $1653 gxt 'PROP_3' store_to $BUY_ASSET_PICKUPS[0] |  |
| 0519 | freeze_car_position 22@ set_to 1 |  |
| 051A | has_char_been_damaged_by_char 1@ char $PLAYER_ACTOR |  |
| 051B | has_char_been_damaged_by_car 4@ car 5@ |  |
| 051C | has_car_been_damaged_by_char 69@(43@,7i) char $PLAYER_ACTOR |  |
| 051D | has_car_been_damaged_by_car 57@ car 40@ |  |
| 051E | get_radio_channel 196@ |  |
| 0526 | set_char_stay_in_car_when_jacked 65@ to 1 |  |
| 052C | set_player_drunkness $PLAYER_CHAR to 100 |  |
| 053E | get_random_car_of_type_in_area_no_save 120@ 121@ to 122@ 123@ model -1 store_to 38@ |  |
| 053F | set_can_burst_car_tyres 37@ to 0 |  |
| 0547 | is_char_touching_vehicle 234@ vehicle $SWEET_CAR |  |
| 054A | set_char_can_be_shot_in_vehicle $ACTOR_SWEET to 0 |  |
| 054C | load_mission_text 'INTRO1' |  |
| 054E | clear_car_last_damage_entity 219@ |  |
| 054F | clear_car_last_damage_entity 87@ |  |