| Opcodes in category: Common |
|---|
| Opcodes 200 to 300 of 734 |
|---|
| 0191 | remove_upsidedown_car_check 244@ |  |
| 01B1 | give_player $player_char weapon 17 ammo 68 // Load the weapon model before using this |  |
| 01B2 | give_weapon_to_char 2@ weapon 28 ammo 60 |  |
| 01B4 | set_player_control $PLAYER_CHAR to 1 |  |
| 01B5 | force_weather 1 |  |
| 01B6 | force_weather_now 1 |  |
| 01B7 | release_weather |  |
| 01B9 | set_current_char_weapon 2@ to 0 |  |
| 01BB | get_object_coordinates 0@ store_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 |  |
| 01BC | set_object_coordinates 0@ to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 |  |
| 01BD | get_game_timer $5284 |  |
| 01C0 | store_wanted_level $PLAYER_CHAR store_to $PLAYER_WANTED_LEVEL |  |
| 01C1 | is_car_stopped $TEMPVAR_ACTOR_CAR |  |
| 01C2 | mark_char_as_no_longer_needed 2@ |  |
| 01C3 | mark_car_as_no_longer_needed $IMPORT_CAR |  |
| 01C4 | mark_object_as_no_longer_needed 82@(39@,16i) |  |
| 01C8 | create_char_as_passenger 35@ pedtype 23 model #SPECIAL01 seat 0 store_to 40@ |  |
| 01E3 | print_with_number_big 'BB_15' number $1922 time 5000 style 1 |  |
| 01E4 | print_with_number 'HJ_IS' number $HJ_STUNT_BONUS time 2000 flag 1 |  |
| 01E5 | print_with_number_now 'LOW_38' number 271@ time 5000 flag 1 |  |
| 01E9 | get_number_of_passengers 71@ store_to 43@ |  |
| 01EA | get_maximum_number_of_passengers 59@ store_to 60@ |  |
| 01EB | set_car_density_multiplier 0.0 |  |
| 01EC | set_car_heavy 34@ to 1 |  |
| 01F0 | set_max_wanted_level 6 |  |
| 01F7 | set_police_ignore_player $PLAYER_CHAR to 1 |  |
| 01F9 | start_kill_frenzy 'RAMPAGE' weapon 22 time 30000 targets 30 models #CABBIE #TAXI #CABBIE #TAXI completed_text 1 |  |
| 01FA | read_kill_frenzy_status 17@ |  |
| 0202 | locate_char_any_means_car_2d $PLAYER_ACTOR car 40@ radius 45.0 45.0 sphere 0 |  |
| 0203 | locate_char_on_foot_car_2d $PLAYER_ACTOR car 1@ radius 12.0 12.0 sphere 0 |  |
| 0204 | locate_char_in_car_car_2d 66@ car 34@ radius 15.0 15.0 sphere 0 |  |
| 0205 | locate_char_any_means_car_3d $PLAYER_ACTOR car 73@ radius 25.0 25.0 25.0 sphere 0 |  |
| 0206 | locate_char_on_foot_car_3d $PLAYER_ACTOR car 95@ radius 5.0 5.0 3.0 sphere 0 on_foot |  |
| 0207 | locate_char_in_car_car_3d $PLAYER_ACTOR car 62@ radius 20.0 20.0 10.0 sphere 0 in_car |  |
| 0208 | generate_random_float_in_range -0.2 0.2 store_to 17@ |  |
| 0209 | generate_random_int_in_range 0 10 store_to 17@ |  |
| 020A | lock_car_doors 0@ mode 4 |  |
| 020B | explode_car 57@ |  |
| 020C | add_explosion 72@ 73@ 74@ type 0 |  |
| 020D | is_car_upright $HJ_PLAYER_CAR |  |
| 0213 | create_pickup #INFO type 3 at 2027.77 -1420.52 16.49 store_to $PICKUP_INFO_HOSPITAL |  |
| 0214 | has_pickup_been_collected $BUY_ASSET_PICKUPS[0] |  |
| 0215 | remove_pickup $BUY_ASSET_PICKUPS[0] |  |
| 0216 | set_taxi_lights 87@ to 0 |  |
| 0217 | print_big_q 'GXT' time 3000 style 1 |  |
| 0221 | apply_brakes_to_players_car $PLAYER_CHAR apply 1 |  |
| 0223 | set_char_health 2@ to 500 |  |
| 0224 | set_car_health 34@ to 1000 |  |
| 0226 | get_char_health 164@ store_to $6459 |  |
| 0227 | get_car_health 22@ store_to 4@ |  |
| 023C | load_special_character 1 model 'TENPEN' |  |
| 023D | has_special_character_loaded 1 |  |
| 0245 | set_anim_group_for_char $ACTOR_SMOKE to "FATMAN" |  |
| 0247 | request_model $IMPORT_CARS_MODEL($IMPORT_PANEL_ROW,6i) |  |
| 0248 | has_model_loaded 15@ |  |
| 0249 | mark_model_as_no_longer_needed $IMPORT_CARS_MODEL($IMPORT_PANEL_ROW,6i) |  |
| 0253 | store_time_of_day |  |
| 0254 | restore_time_of_day |  |
| 0256 | is_player_playing $PLAYER_CHAR |  |
| 0291 | set_actor $1037 attack_when_provoked 1 |  |
| 0296 | unload_special_character 1 |  |
| 029B | create_object_no_offset #NF_BLACKBOARD at 0.0 0.0 0.0 store_to 27@ |  |
| 02A0 | is_char_stopped $PLAYER_ACTOR |  |
| 02A3 | switch_widescreen 1 |  |
| 02A7 | add_sprite_blip_for_contact_point $X_JOHNSON_HOUSE $Y_JOHNSON_HOUSE $Z_JOHNSON_HOUSE sprite $ICON_CJ store_to $439 |  |
| 02A8 | add_sprite_blip_for_coord $X_JOHNSON_HOUSE $Y_JOHNSON_HOUSE $Z_JOHNSON_HOUSE sprite $ICON_CJ store_to $439 |  |
| 02A9 | set_char_only_damaged_by_player 1@ to 1 |  |
| 02AA | set_car_only_damaged_by_player 69@ to 1 |  |
| 02AB | set_char_proofs 2@ BP 0 FP 0 EP 1 CP 1 MP 0 |  |
| 02AC | set_car_proofs 0@ BP 1 FP 1 EP 1 CP 1 MP 1 |  |
| 02BF | is_car_in_water 51@ |  |
| 02C0 | get_closest_char_node 141@ 142@ 143@ store_to 137@ 138@ 139@ |  |
| 02C1 | get_closest_car_node 116@ 117@ 118@ store_to 119@ 120@ 121@ |  |
| 02C2 | car_goto_coordinates_accurate 71@ coords 2644.462 -2016.282 12.5547 |  |
| 02CE | get_ground_z_for_3d_coord 2@ 3@ 4@ store_to 16@ |  |
| 02D3 | boat_goto_coords 290@($7257,2i) coords 343@(366@,6f) 349@(367@,4f) 0.0 |  |
| 02D8 | is_char_holding_weapon $PLAYER_ACTOR weapon 28 |  |
| 02DB | set_boat_cruise_speed 379@(253@,16i) to 50.0 |  |
| 02DD | get_random_char_in_zone 'SAN_AND' civilian 1 gang 0 criminal/prostitute 1 store_to 88@ |  |
| 02E1 | create_money_pickup 2338.551 -1186.939 1027.977 type 500 permanent 1 store_to 136@(212@,2i) |  |
| 02E2 | set_char_accuracy 2@ to 75 |  |
| 02E3 | get_car_speed 59@ store_to 188@ |  |
| 02E4 | load_cutscene 'PROLOG1' |  |
| 02E7 | start_cutscene |  |
| 02EA | clear_cutscene |  |
| 02EB | restore_camera_jumpcut |  |
| 02F2 | is_char_model 164@ model #BMYPOL1 |  |
| 02F6 | sin 45.0 store_to 14@ |  |
| 02F7 | cos 45.0 store_to 13@ |  |
| 02F8 | get_car_forward_x 95@ store_to 294@ |  |
| 02F9 | get_car_forward_y 95@ store_to 295@ |  |
| 02FD | print_with_2_numbers_now 'BB_05' numbers $1926 $1927 time 5000 flag 1 |  |
| 02FF | print_with_3_numbers 'WHEEL02' numbers $HJ_BONUS $HJ_TWOWHEELS_DISTANCE_FEET $HJ_TWOWHEELS_TIME time 3000 flag 1 |  |
| 030C | player_made_progress 1 |  |
| 0317 | register_mission_given |  |
| 031D | has_char_been_damaged_by_weapon $ACTOR_RYDER weapon 51 |  |
| 031E | has_car_been_damaged_by_weapon 35@(328@,10i) weapon 38 |  |
| 0321 | explode_char_head $ACTOR_SMOKE |  |
| 0325 | start_car_fire 35@ store_to 49@ |  |
| 0326 | start_char_fire 94@ store_to 138@ |  |