From 8a2b4c02abd0d735bcf593ac9e4366ab5e0e26ea Mon Sep 17 00:00:00 2001 From: Seemann Date: Mon, 15 May 2023 17:43:01 -0400 Subject: [PATCH 1/6] corrections --- sa/SASCM.INI | 4 ++-- sa/opcodes.txt | 8 ++++---- sa_scr/SASCM.ini | 10 +++++----- sa_scr/opcodes.txt | 2 +- vcs/VCSSCM.INI | 8 ++++---- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/sa/SASCM.INI b/sa/SASCM.INI index 33e94d8..8e1cea0 100644 --- a/sa/SASCM.INI +++ b/sa/SASCM.INI @@ -2371,7 +2371,7 @@ DATE=2022-03-20 0E5D=1,is_cheat_active %1d% 0E5E=3,change_player_money %1d% mode %2d% value %3d% 0E5F=1,car_horn %1d% -0E60=2,set_camera_control %1d% %2d% +0E60=1,set_camera_control %1d% 0E61=2,set_car_alarm %1d% mode %2d% 0E62=8,print %1s% event %2d% at %3d% %4d% scale %5d% %6d% fixAR %7d% style %8d% 0E63=27,print %1s% event %2d% at %3d% %4d% scale %5d% %6d% fixAR %7d% style %8d% prop %9d% align %10d% wrap %11d% justify %12d% color %13d% %14d% %15d% %16d% outline %17d% shadow %18d% dropColor %19d% %20d% %21d% %22d% background %23d% backColor %24d% %25d% %26d% %27d% @@ -2433,7 +2433,7 @@ DATE=2022-03-20 0E9B=1,unload_special_character_from_id %1d% 0E9C=1,get_model_by_name %1d% store_id %2d% 0E9D=1,get_model_available_by_name %1d% -0E9E=3,get_model_doesnt_exist_in_range %1d% to %2d% store_to %3d% +0E9E=3,get_model_available_by_name %1d% to %2d% store_to %3d% 0E9F=0,remove_all_unused_models 0EA0=3,set_actor_second_player %1d% enable_camera %2d% separate_cars %3d% 0EA1=1,disable_second_player_restore_camera %1d% diff --git a/sa/opcodes.txt b/sa/opcodes.txt index 5873874..ffbbe04 100644 --- a/sa/opcodes.txt +++ b/sa/opcodes.txt @@ -1303,19 +1303,19 @@ 08B5: test $GIRLS_GIFTS_BITMASK bit $GIRLFRIEND 08B6: test $383($GIRLFRIEND,6i) bit 3@ 08B7: test 54@ bit 5 -08B8: test $1044 bit 20 +08B8: test 54@ bit $382 08B9: test 239@ bit 216@ 08BA: set $377[0] bit 1 08BB: set $1210 bit $GIRLFRIEND 08BC: set $390 bit 3@ 08BD: set 54@ bit 10 -08BE: set $377[0] bit 1 +08BE: set 54@ bit $382 08BF: set 54@ bit 49@ 08C0: clear $391 bit 31 08C1: clear $1210 bit $GIRLFRIEND 08C2: clear $391 bit 3@ 08C3: clear 54@ bit 11 -08C4: clear $377[0] bit 31 +08C4: clear 54@ bit $382 08C5: clear 54@ bit 49@ 08C6: set_actor 65@ stay_on_bike 1 08C7: put_actor $PLAYER_ACTOR at 2469.7 -1657.0 12.3 dont_warp_gang @@ -1995,7 +1995,7 @@ 0E5D: is_cheat_active 1@ 0E5E: change_player_money 1@ mode 2@ value 3@ 0E5F: car_horn 1@ -0E60: set_camera_control 1@ 2@ +0E60: set_camera_control 1@ 0E61: set_car_alarm 1@ mode 2@ 0E62: print 1@ event 2@ at 3@ 4@ scale 5@ 6@ fixAR 7@ style 8@ 0E63: print 1@ event 2@ at 3@ 4@ scale 5@ 6@ fixAR 7@ style 8@ prop 9@ align 10@ wrap 11@ justify 12@ color 13@ 14@ 15@ 16@ outline 17@ shadow 18@ dropColor 19@ 20@ 21@ 22@ background 23@ backColor 24@ 25@ 26@ 27@ diff --git a/sa_scr/SASCM.ini b/sa_scr/SASCM.ini index 03395db..7aad81c 100644 --- a/sa_scr/SASCM.ini +++ b/sa_scr/SASCM.ini @@ -2189,7 +2189,7 @@ DATE=2021-07-05 0E26=2,is_weapon %1d% fire_type %2d% 0E27=5,get_angle_from_two_coords %1d% %2d% and %3d% %4d% to %5d% 0E28=4,write_struct %1d% offset %2d% size %3d% value %4d% -0E29=6,perlin_noise %1d% frequency %2d% amplitude %3d% lacunarity %4d% persistence %5d% store_to %6d% +0E29=7,perlin_noise %1d% octaves %2d% frequency %3d% amplitude %4d% lacunarity %5d% persistence %6d% store_to %7d% 0E2A=9,add_cleo_blip %1d% position %2d% %3d% is_short %4d% RGBA %5d% %6d% %7d% %8d% store_to %9d% 0E2B=1,remove_cleo_blip %1d% 0E2C=1,get_current_save_slot %1d% @@ -2244,7 +2244,7 @@ DATE=2021-07-05 0E5D=1,is_cheat_active %1d% 0E5E=3,change_player_money %1d% mode %2d% value %3d% 0E5F=1,car_horn %1d% -0E60=2,set_camera_control %1d% %2d% +0E60=1,set_camera_control %1d% 0E61=2,set_car_alarm %1d% mode %2d% 0E62=8,print %1s% event %2d% at %3d% %4d% scale %5d% %6d% fixAR %7d% style %8d% 0E63=27,print %1s% event %2d% at %3d% %4d% scale %5d% %6d% fixAR %7d% style %8d% prop %9d% align %10d% wrap %11d% justify %12d% color %13d% %14d% %15d% %16d% outline %17d% shadow %18d% dropColor %19d% %20d% %21d% %22d% background %23d% backColor %24d% %25d% %26d% %27d% @@ -2306,7 +2306,7 @@ DATE=2021-07-05 0E9B=1,unload_special_character_from_id %1d% 0E9C=1,get_model_by_name %1d% store_id %2d% 0E9D=1,get_model_available_by_name %1d% -0E9E=3,get_model_doesnt_exist_in_range %1d% to %2d% store_to %3d% +0E9E=3,get_model_available_by_name %1d% to %2d% store_to %3d% 0E9F=0,remove_all_unused_models 0EA0=3,set_actor_second_player %1d% enable_camera %2d% separate_cars %3d% 0EA1=1,disable_second_player_restore_camera %1d% @@ -2389,8 +2389,8 @@ DATE=2021-07-05 0EEE=4,get_entity_coordinates %1d% store_to %2d% %3d% %4d% 0EEF=2,get_entity_heading %1d% store_to %2d% 0EF0=6,get_coord_from_angled_distance %1d% %2d% angle %3d% dist %4d% store_to %5d% %6d% -0EF1=7,perlin_noise_fractal_2d %1d% %2d% frequency %3d% amplitude %4d% lacunarity %5d% persistence %6d% store_to %7d% -0EF2=8,perlin_noise_fractal_3d %1d% %2d% %3d% frequency %4d% amplitude %5d% lacunarity %6d% persistence %7d% store_to %8d% +0EF1=8,perlin_noise_fractal_2d x %1d% y %2d% octaves %3d% frequency %4d% amplitude %5d% lacunarity %6d% persistence %7d% store_to %8d% +0EF2=9,perlin_noise_fractal_3d x %1d% y %2d% z %3d% octaves %4d% frequency %5d% amplitude %6d% lacunarity %7d% persistence %8d% store_to %9d% 0EF3=4,lerp %1d% %2d% %3d% store_to %4d% 0EF4=4,clamp_float %1d% min %2d% max %3d% store_to %4d% 0EF5=1,is_car_owned_by_player %1d% diff --git a/sa_scr/opcodes.txt b/sa_scr/opcodes.txt index f86f42a..1e4bc5a 100644 --- a/sa_scr/opcodes.txt +++ b/sa_scr/opcodes.txt @@ -1794,7 +1794,7 @@ GET_CHAR_HEALTH_PERCENT 1@ store_to 2@ IS_CHEAT_ACTIVE 1@ CHANGE_PLAYER_MONEY 1@ mode 2@ value 3@ CAR_HORN 1@ -SET_CAMERA_CONTROL 1@ 2@ +SET_CAMERA_CONTROL 1@ SET_CAR_ALARM 1@ mode 2@ DRAW_STRING 1@ event 2@ at 3@ 4@ scale 5@ 6@ fixAR 7@ style 8@ DRAW_STRING_EXT 1@ event 2@ at 3@ 4@ scale 5@ 6@ fixAR 7@ style 8@ prop 9@ align 10@ wrap 11@ justify 12@ color 13@ 14@ 15@ 16@ outline 17@ shadow 18@ dropColor 19@ 20@ 21@ 22@ background 23@ backColor 24@ 25@ 26@ 27@ diff --git a/vcs/VCSSCM.INI b/vcs/VCSSCM.INI index e0224b1..ff1f486 100644 --- a/vcs/VCSSCM.INI +++ b/vcs/VCSSCM.INI @@ -12,7 +12,7 @@ ; m% = .ide models only ; g% = gxt reference -DATE=2023-01-19 +DATE=2023-05-14 [OPCODES] 0000=0,NOP @@ -362,11 +362,11 @@ DATE=2023-01-19 0173=2,set_coll_obj_kill_char_any_means %1d% char %2d% 0174=2,set_coll_obj_flee_char_on_foot_always %1d% char %2d% 0175=2,set_coll_obj_goto_char_on_foot %1d% char %2d% -0176=1,set_coll_obj_leave_car %1d% vehicle 4@ +0176=1,set_coll_obj_leave_car %1d% 0177=2,set_coll_obj_enter_car_as_passenger %1d% vehicle %2d% 0178=2,set_coll_obj_enter_car_as_driver %1d% vehicle %2d% -0179=2,set_coll_obj_destroy_object %1d% -017A=2,set_coll_obj_destroy_car %1d% +0179=2,set_coll_obj_destroy_object %1d% object %2d% +017A=2,set_coll_obj_destroy_car %1d% car %2d% 017B=5,set_coll_obj_goto_area_on_foot %1d% point %2d% %3d% to %4d% %5d% 017C=3,set_coll_obj_goto_coord_on_foot %1d% coords %2d% %3d% 017D=3,set_coll_obj_follow_char_in_formation %1d% char %2d% formation_type %3d% From 8ce4140fe7434af9ac9f7fb5e575e0ee2d5fc04a Mon Sep 17 00:00:00 2001 From: Seemann Date: Tue, 4 Jul 2023 22:58:51 -0400 Subject: [PATCH 2/6] modes refactoring --- gta3/SCM.INI | 18 +- gta3/constants.txt | 4 + gta3/mode.xml | 17 + lcs/LCSSCM.INI | 26 +- lcs/constants.txt | 4 + lcs/default.ide | 271 + lcs/keywords.txt | 6 + lcs/lcs.json | 32423 +++++++++++++++++++++ lcs/mode.xml | 14 + modes.xml | 152 - sa/SASCM.CLEO+.ini | 292 + sa/SASCM.CLEO.ini | 133 + sa/SASCM.Clipboard.ini | 4 + sa/SASCM.INI | 565 +- sa/SASCM.NewOpcodes.ini | 130 + sa/constants.txt | 4 + sa/mode.xml | 34 + sa_mobile/constants.txt | 4 + sa_mobile/mode.xml | 17 + sa_ps2/SASCM.PS2.INI | 39 + sa_ps2/mode.xml | 6 + sa_scr/SASCM.ini | 6 +- sa_scr/mode.xml | 8 + sa_v2/CustomLabels.ini | 37 + sa_v2/mode.xml | 3 + vc/VCSCM.INI | 18 +- vc/constants.txt | 4 + vc/mode.xml | 17 + vc_mobile/VCSCM.INI | 2 +- vc_mobile/mode.xml | 14 + vcs/keywords.txt | 5 - vcs/models.ide | 350 - {vcs/ps2 => vcs_ps2}/CustomArrays.ini | 0 {vcs/ps2 => vcs_ps2}/CustomLabels.ini | 0 {vcs/ps2 => vcs_ps2}/CustomVariables.ini | 0 {vcs/ps2 => vcs_ps2}/missions.txt | 0 vcs_ps2/mode.xml | 9 + {vcs/ps2 => vcs_ps2}/opcodes.txt | 0 {vcs/psp => vcs_psp}/CustomArrays.ini | 0 {vcs/psp => vcs_psp}/CustomLabels.ini | 0 {vcs/psp => vcs_psp}/CustomVariables.ini | 0 {vcs => vcs_psp}/VCSSCM.INI | 30 +- {vcs => vcs_psp}/classes.db | 0 {vcs => vcs_psp}/constants.txt | 0 vcs_psp/default.ide | 353 + {vcs => vcs_psp}/extensions.txt | 0 vcs_psp/keywords.txt | 9 + {vcs/psp => vcs_psp}/missions.txt | 0 vcs_psp/mode.xml | 18 + {vcs/psp => vcs_psp}/opcodes.txt | 0 {vcs => vcs_psp}/templates.txt | 0 51 files changed, 33926 insertions(+), 1120 deletions(-) create mode 100644 gta3/mode.xml create mode 100644 lcs/default.ide create mode 100644 lcs/keywords.txt create mode 100644 lcs/lcs.json create mode 100644 lcs/mode.xml delete mode 100644 modes.xml create mode 100644 sa/SASCM.CLEO+.ini create mode 100644 sa/SASCM.CLEO.ini create mode 100644 sa/SASCM.Clipboard.ini create mode 100644 sa/SASCM.NewOpcodes.ini create mode 100644 sa/mode.xml create mode 100644 sa_mobile/mode.xml create mode 100644 sa_ps2/SASCM.PS2.INI create mode 100644 sa_ps2/mode.xml create mode 100644 sa_scr/mode.xml create mode 100644 sa_v2/CustomLabels.ini create mode 100644 sa_v2/mode.xml create mode 100644 vc/mode.xml create mode 100644 vc_mobile/mode.xml delete mode 100644 vcs/keywords.txt delete mode 100644 vcs/models.ide rename {vcs/ps2 => vcs_ps2}/CustomArrays.ini (100%) rename {vcs/ps2 => vcs_ps2}/CustomLabels.ini (100%) rename {vcs/ps2 => vcs_ps2}/CustomVariables.ini (100%) rename {vcs/ps2 => vcs_ps2}/missions.txt (100%) create mode 100644 vcs_ps2/mode.xml rename {vcs/ps2 => vcs_ps2}/opcodes.txt (100%) rename {vcs/psp => vcs_psp}/CustomArrays.ini (100%) rename {vcs/psp => vcs_psp}/CustomLabels.ini (100%) rename {vcs/psp => vcs_psp}/CustomVariables.ini (100%) rename {vcs => vcs_psp}/VCSSCM.INI (98%) rename {vcs => vcs_psp}/classes.db (100%) rename {vcs => vcs_psp}/constants.txt (100%) create mode 100644 vcs_psp/default.ide rename {vcs => vcs_psp}/extensions.txt (100%) create mode 100644 vcs_psp/keywords.txt rename {vcs/psp => vcs_psp}/missions.txt (100%) create mode 100644 vcs_psp/mode.xml rename {vcs/psp => vcs_psp}/opcodes.txt (100%) rename {vcs => vcs_psp}/templates.txt (100%) diff --git a/gta3/SCM.INI b/gta3/SCM.INI index bf150f1..9e9041a 100644 --- a/gta3/SCM.INI +++ b/gta3/SCM.INI @@ -1164,7 +1164,7 @@ DATE=2021-11-11 047B=5, sniper_bullet_at %1d% %2d% radius %3d% %4d% sphere %5d% 047C=7, sniper_bullet_at %1d% %2d% %3d% radius %4d% %5d% %6d% sphere %7d% 047D=2,get_number_of_seats_in_model %1d% store_to %2d% -047E=2, player %1d% on_any_bike +047E=1, player %1d% on_any_bike 047F=1, is_char_lying_down %1d% 0480=2, can_char_see_dead_char %1d% %2d% 0481=1,set_enter_car_range_multiplier %1d% @@ -1312,17 +1312,17 @@ DATE=2021-11-11 0B05=2,copy_directory %1d% to %2d% ;; IF and SET ; CLEO 2.0 IntOperations.cleo -0B10=3,%3d% = %1d% AND %2d% -0B11=3,%3d% = %1d% OR %2d% -0B12=3,%3d% = %1d% XOR %2d% -0B13=2,%2d% = NOT %1d% -0B14=3,%3d% = %1d% MOD %2d% -0B15=3,%3d% = %1d% SHR %2d% -0B16=3,%3d% = %1d% SHL %2d% +0B10=3,%3d% = %1d% & %2d% +0B11=3,%3d% = %1d% | %2d% +0B12=3,%3d% = %1d% ^ %2d% +0B13=2,%2d% = ~%1d% +0B14=3,%3d% = %1d% % %2d% +0B15=3,%3d% = %1d% >> %2d% +0B16=3,%3d% = %1d% << %2d% 0B17=2,%1d% &= %2d% 0B18=2,%1d% |= %2d% 0B19=2,%1d% ^= %2d% -0B1A=1,~ %1d% +0B1A=1,~%1d% 0B1B=2,%1d% %= %2d% 0B1C=2,%1d% >>= %2d% 0B1D=2,%1d% <<= %2d% diff --git a/gta3/constants.txt b/gta3/constants.txt index 67717fb..cebac1e 100644 --- a/gta3/constants.txt +++ b/gta3/constants.txt @@ -3,4 +3,8 @@ false=0 true=1 TIMERA=16@ TIMERB=17@ +end +var +TIMERA: int +TIMERB: int end \ No newline at end of file diff --git a/gta3/mode.xml b/gta3/mode.xml new file mode 100644 index 0000000..44acbf6 --- /dev/null +++ b/gta3/mode.xml @@ -0,0 +1,17 @@ + + @sb:\data\gta3\ + @sb:\data\gta3\SCM.ini + @sb:\data\gta3\enums.txt + @sb:\data\gta3\classes.db + @sb:\data\gta3\CustomVariables.ini + @sb:\data\gta3\keywords.txt + @sb:\data\gta3\missions.txt + @sb:\data\gta3\constants.txt + @sb:\data\gta3\templates.txt + @sb:\data\gta3\templates.custom.txt + @game:\text\american.gxt + @game:\data\default.ide + @sb:\data\gta3\gta3.json + @game:\data + @game:\CLEO + \ No newline at end of file diff --git a/lcs/LCSSCM.INI b/lcs/LCSSCM.INI index eb5efb0..3467a08 100644 --- a/lcs/LCSSCM.INI +++ b/lcs/LCSSCM.INI @@ -91,7 +91,7 @@ DATE=2020-11-11 0053=5,create_player %1d% at %2d% %3d% %4d% store_to %5d% 0054=4,get_player_coordinates %1d% store_to %2d% %3d% %4d% 0055=4,set_player_coordinates %1d% to %2d% %3d% %4d% -0056=6, player %1d% coords %2d% %3d% %4d% %5d% sphere 0 +0056=6, player %1d% coords %2d% %3d% %4d% %5d% sphere %6d% 0057=8, player %1d% coords %2d% %3d% %4d% to %5d% %6d% %7d% sphere %8b% 0058=2,%1d% += %2d% ; (int) 0059=2,%1d% += %2d% ; (float) @@ -514,8 +514,8 @@ DATE=2020-11-11 026C=1,set_coll_obj_leave_any_car %1d% 026D=2,set_coll_obj_enter_car_as_passenger %1d% vehicle %2d% 026E=2,set_coll_obj_enter_car_as_driver %1d% vehicle %2d% -0271=2,set_coll_obj_destroy_object %1d% -0272=2,set_coll_obj_destroy_car %1d% +0271=1,set_coll_obj_destroy_object %1d% +0272=1,set_coll_obj_destroy_car %1d% 0273=5,set_coll_obj_goto_area_on_foot %1d% point %2d% %3d% to %4d% %5d% 0274=5,set_coll_obj_goto_area_in_car %1d% point %2d% %3d% to %4d% %5d% 0277=3,set_coll_obj %1d% follow_route %2d% %3d% @@ -809,7 +809,7 @@ DATE=2020-11-11 042D=2,set_car_avoid_level_transitions %1d% to %2d% 0430=6,clear_area_of_chars %1d% %2d% %3d% to %4d% %5d% %6d% 0431=1,set_total_number_of_missions %1d% -0432=2,convert_metres_to_feet_int %1d% store_to ,%2d% +0432=2,convert_metres_to_feet_int %1d% store_to %2d% 0433=2,register_fastest_time %1h% to %2d% 0434=2,register_highest_score %1d% integer %2d% 0435=3,warp_char_into_car_as_passenger %1d% car %2d% seat %3h% @@ -852,7 +852,7 @@ DATE=2020-11-11 046B=2,set_car_stay_in_fast_lane %1d% to %2h% 046C=1,clear_char_last_weapon_damage %1d% 046D=1,clear_car_last_weapon_damage %1d% -046E=10,get_random_cop_in_area %1d% %2d% to %3d% %4d% cop %5h% swat %6h% fbi %7h% army%8h% vice %9h% store_to %10d% +046E=10,get_random_cop_in_area %1d% %2d% to %3d% %4d% cop %5h% swat %6h% fbi %7h% army %8h% vice %9h% store_to %10d% 0470=2,set_car_obj_flee_car %1d% car %2d% 0471=2,get_driver_of_car %1d% store_to %2d% 0472=2,get_number_of_followers %1d% store_to %2d% @@ -1078,7 +1078,7 @@ DATE=2020-11-11 0592=4,set_restart_mission_taxi_start %1d% %2d% %3d% angle %4d% 0593=4,set_restart_mission_taxi_destination %1d% %2d% %3d% %4d% 0594=8,get_random_ice_cream_customer_in_area from %1d% %2d% to %3d% %4d% civilian %5h% gang %6h% criminal/prostitute %7h% store_to %8d% -0596=4,unlock_all_car_doors_in_area cornerA %1d% %2d% cornerB %3d% +0596=4,unlock_all_car_doors_in_area cornerA %1d% %2d% cornerB %3d% %4d% 0597=2,set_gang_attack_player_with_cops %1h% flag %2h% 0598=2,set_char_frightened_in_jacked_car %1d% flag %2h% 0599=2,set_vehicle_to_fade_in %1d% to %2h% @@ -1094,7 +1094,7 @@ DATE=2020-11-11 05A4=5,get_distance_between_coords_2d_version_b %1d% %2d% and %3d% %4d% store_to %5d% 05A5=7,get_distance_between_coords_3d_version_b %1d% %2d% %3d% and %4d% %5d% %6d% store_to %7d% 05A6=5,get_dot_product_of_2d_vectors %1d% %2d% and %3d% %4d% store_to %5d% -05A7=7,get_dot_product_of_3d_vectors %1d% %2d% and %3d% %4d% store_to %5d% +05A7=7,get_dot_product_of_3d_vectors %1d% %2d% and %3d% %4d% store_to %5d% %6d% %7d% 05A8=3,display_float_value int_2D_coords %1d% %2d% float_value %3d% 05A9=4,display_2_float_values int_2D_coords %1d% %2d% float_values %3d% %4d% 05AA=5,display_3_float_values int_2D_coords %1d% %2d% float_values %3d% %4d% %5d% @@ -1112,7 +1112,7 @@ DATE=2020-11-11 05C6=0,return_if_true_and_set_condition_true 05C7=2,unknown_command_ac7b char %1d% flag %2d% 05C8=1,set_rc_heli_height_limit %1d% -05C9=10,create_permanent_corona %1d% at %2d% %3d% %4d% radius %5d% type %6d% enable_lensflare %7d% colour %8d% %9d% %10d% store_to %11d% +05C9=10,create_permanent_corona %1d% at %2d% %3d% %4d% radius %5d% type %6d% enable_lensflare %7d% colour %8d% %9d% store_to %10d% 05CA=1,delete_permanent_corona %1d% 05CB=1, unknown_vehicle_command_532c vehicle %1d% 05CC=1, unknown_vehicle_command_6c1a vehicle %1d% @@ -1141,7 +1141,7 @@ DATE=2020-11-11 05E3=6,get_ferry_boarding_space %1d% %2d% %3d% %4d% store_to %5d% %6d% 05E4=2,get_ferry_heading %1d% store_to %2d% 05E5=2,unknown_ferry_command_417d %1d% flag %2d% -05E6=1,complete_door_movement +05E6=1,complete_door_movement %1d% 05E7=2,unknown_command_5271 vehicle %1d% flag %2d% 05E8=0,take_remote_controlled_car_from_player 05E9=0,register_car_sold @@ -1173,7 +1173,7 @@ DATE=2020-11-11 0603=0,register_outfit_changed 0604=2,register_street_race_fastest_time race %1d% time %2d% 0605=2,register_street_race_fastest_lap %1d% %2d% -0606=2,register_street_race_best_position %1d% +0606=2,register_street_race_best_position %1d% %2d% 0607=2, has_object_been_damaged_by_weapon %1d% type %2h% 0608=1,clear_object_last_weapon_damage %1d% 0609=4,set_car_initial_rotation_velocity %1d% rotation_velocity %2d% %3d% %4d% @@ -1200,11 +1200,11 @@ DATE=2020-11-11 061F=1, build_world_geometry bridge_num %1d% 0620=4,store_building_swap %1d% %2d% %3d% %4d% ; nop 0621=0, unknown_command_8554 -0622=1,unknown_command_3821 store_to 5@ +0622=1,unknown_command_3821 store_to %1d% 0623=0,multiplayer_script_done 0624=0, unknown_command_842e 0625=0, unknown_command_748a -0626=1,unknown_command_7dea store_to 5@ +0626=1,unknown_command_7dea store_to %1d% 0627=0, unknown_command_71df 0628=4,set_onscreen_counter_colour %1d% %2d% %3d% %4d% 0629=4,set_onscreen_counter_background_colour %1d% %2d% %3d% %4d% @@ -1280,7 +1280,7 @@ DATE=2020-11-11 066F=1, is_audio_channel_playing %1d% 0670=3,set_clock_event hours %1d% minutes %2d% warning_minutes %3d% 0671=3,set_weather_extra_colour_light_direction %1d% %2d% %3d% -0672=2,unknown_char_command_8653 flag %1d% +0672=2,unknown_char_command_8653 flag %1d% %2d% 0673=1,print_help_version_b %1g% 0674=1,print_help_forever_version_b %1g% 0675=1,print_help_version_c %1g% diff --git a/lcs/constants.txt b/lcs/constants.txt index 7c40d6b..965340b 100644 --- a/lcs/constants.txt +++ b/lcs/constants.txt @@ -3,4 +3,8 @@ false=0 true=1 TIMERA=-2@ TIMERB=-1@ +end +var +TIMERA: int +TIMERB: int end \ No newline at end of file diff --git a/lcs/default.ide b/lcs/default.ide new file mode 100644 index 0000000..490cd5c --- /dev/null +++ b/lcs/default.ide @@ -0,0 +1,271 @@ +# Generated by g3DTZ v2.0 - by guard3 +peds +0, player, player, PLAYER1, STAT_PLAYER, player, 0, null, 10, 10 +1, cop, cop, COP, STAT_COP, man, 0, null, 10, 10 +2, swat, swat, COP, STAT_COP, man, 0, null, 10, 10 +3, fbi, fbi, COP, STAT_COP, man, 0, null, 10, 10 +4, army, army, COP, STAT_COP, man, 0, null, 10, 10 +5, medic, medic, EMERGENCY, STAT_MEDIC, man, 0, medic, 10, 10 +6, fireman, fireman, FIREMAN, STAT_FIREMAN, man, 0, null, 10, 10 +7, male01, male01, CIVMALE, STAT_SENSIBLE_GUY, man, 0, null, 0, 4 +9, taxi_d, taxi_d, CIVMALE, STAT_TAXIDRIVER, man, 40, null, 5, 5 +10, pimp, pimp, CIVMALE, STAT_TOUGH_GUY, gang1, 2, null, 2, 9 +11, criminal01, criminal01, CRIMINAL, STAT_TOUGH_GUY, gang1, 182, null, 6, 8 +12, criminal02, criminal02, CRIMINAL, STAT_TOUGH_GUY, gang2, 82, null, 4, 3 +13, male02, male02, CIVMALE, STAT_SENSIBLE_GUY, man, 81, null, 9, 0 +14, male03, male03, CIVMALE, STAT_STREET_GUY, man, 2, null, 4, 9 +15, fatmale01, fatmale01, CIVMALE, STAT_OLD_GUY, fatman, 104, null, 4, 0 +16, fatmale02, fatmale02, CIVMALE, STAT_SENSIBLE_GUY, fatman, 10, null, 4, 0 +17, female01, female01, CIVFEMALE, STAT_SUIT_GIRL, woman, 81, null, 7, 7 +18, female02, female02, CIVFEMALE, STAT_GEEK_GIRL, woman, 82, null, 3, 4 +19, female03, female03, CIVFEMALE, STAT_SUIT_GIRL, busywoman, 8, null, 1, 9 +20, fatfemale01, fatfemale01, CIVFEMALE, STAT_OLD_GIRL, fatwoman, 2, null, 7, 5 +21, fatfemale02, fatfemale02, CIVFEMALE, STAT_OLD_GIRL, fatwoman, 1, null, 0, 7 +22, prostitute, prostitute, PROSTITUTE, STAT_PROSTITUTE, sexywoman, 0, null, 10, 10 +23, prostitute2, prostitute2, PROSTITUTE, STAT_PROSTITUTE, sexywoman, 0, null, 10, 10 +24, p_man1, p_man1, CIVMALE, STAT_SENSIBLE_GUY, man, 112, null, 3, 7 +25, p_man2, p_man2, CIVMALE, STAT_OLD_GUY, shuffle, 2, null, 1, 9 +26, p_wom1, p_wom1, CIVFEMALE, STAT_OLD_GIRL, shuffle, 1, null, 9, 1 +27, p_wom2, p_wom2, CIVFEMALE, STAT_GEEK_GIRL, woman, 81, null, 4, 7 +28, ct_man1, ct_man1, CIVMALE, STAT_SENSIBLE_GUY, oldman, 12, null, 5, 5 +29, ct_man2, ct_man2, CIVMALE, STAT_SENSIBLE_GUY, fatman, 2, null, 0, 3 +30, ct_wom1, ct_wom1, CIVFEMALE, STAT_OLD_GIRL, oldwoman, 0, null, 0, 3 +31, ct_wom2, ct_wom2, CIVFEMALE, STAT_SENSIBLE_GIRL, woman, 2, null, 0, 3 +32, li_man1, li_man1, CIVMALE, STAT_OLD_GUY, oldman, 2, null, 0, 0 +33, li_man2, li_man2, CIVMALE, STAT_OLD_GUY, oldman, 1, null, 4, 4 +34, li_wom1, li_wom1, CIVFEMALE, STAT_TOUGH_GIRL, woman, 5, null, 7, 5 +35, li_wom2, li_wom2, CIVFEMALE, STAT_GEEK_GIRL, busywoman, 4, null, 3, 1 +36, docker1, docker1, CIVMALE, STAT_TOUGH_GUY, man, 10, null, 4, 3 +37, docker2, docker2, CIVMALE, STAT_TOUGH_GUY, man, 10, null, 8, 5 +38, scum_man, scum_man, CIVMALE, STAT_TRAMP_MALE, shuffle, 0, null, 10, 10 +39, scum_wom, scum_wom, CIVFEMALE, STAT_TRAMP_FEMALE, shuffle, 0, null, 10, 10 +40, worker1, worker1, CIVMALE, STAT_SENSIBLE_GUY, man, 20, null, 0, 4 +41, worker2, worker2, CIVMALE, STAT_TOUGH_GUY, man, 20, null, 2, 8 +42, b_man1, b_man1, CIVMALE, STAT_SUIT_GUY, man, 8, null, 0, 1 +43, b_man2, b_man2, CIVMALE, STAT_SUIT_GUY, man, 8, null, 7, 3 +44, b_man3, b_man3, CIVMALE, STAT_SUIT_GUY, man, 4, null, 9, 9 +45, b_wom1, b_wom1, CIVFEMALE, STAT_SUIT_GIRL, busywoman, 4, null, 4, 4 +46, b_wom2, b_wom2, CIVFEMALE, STAT_SUIT_GIRL, busywoman, 1, null, 3, 3 +47, b_wom3, b_wom3, CIVFEMALE, STAT_SHOPPER, woman, 0, null, 0, 0 +48, mod_man, mod_man, CIVMALE, STAT_COWARD, man, 108, null, 7, 7 +49, mod_wom, mod_wom, CIVFEMALE, STAT_STREET_GIRL, woman, c, null, 1, 4 +50, st_man, st_man, CIVMALE, STAT_OLD_GUY, man, 10, null, 9, 7 +51, st_wom, st_wom, CIVFEMALE, STAT_SENSIBLE_GIRL, woman, 80, null, 7, 3 +52, fan_man1, fan_man1, CIVMALE, STAT_STREET_GUY, man, 104, null, 5, 7 +53, fan_man2, fan_man2, CIVMALE, STAT_GEEK_GUY, man, 1, null, 0, 6 +54, fan_wom, fan_wom, CIVFEMALE, STAT_SENSIBLE_GIRL, woman, 4, null, 7, 9 +55, hos_man, hos_man, CIVMALE, STAT_GEEK_GUY, man, 0, null, 10, 10 +56, hos_wom, hos_wom, CIVFEMALE, STAT_GEEK_GIRL, woman, 0, null, 10, 10 +57, const1, const1, CIVMALE, STAT_TOUGH_GUY, man, 110, null, 7, 7 +58, const2, const2, CIVMALE, STAT_TOUGH_GUY, man, 110, null, 7, 7 +59, shopper1, shopper1, CIVFEMALE, STAT_SHOPPER, woman, 0, null, 10, 10 +60, shopper2, shopper2, CIVFEMALE, STAT_OLDSHOPPER, oldwoman, 0, null, 10, 10 +61, shopper3, shopper3, CIVFEMALE, STAT_SHOPPER, fatwoman, 0, null, 10, 10 +62, stud_man, stud_man, CIVMALE, STAT_GEEK_GUY, man, 81, null, 7, 5 +63, stud_wom, stud_wom, CIVFEMALE, STAT_GEEK_GIRL, woman, 81, null, 2, 3 +64, cas_man, cas_man, CIVMALE, STAT_SUIT_GUY, oldman, 2, null, 5, 5 +65, cas_wom, cas_wom, CIVFEMALE, STAT_TOUGH_GIRL, woman, 4, null, 9, 9 +66, camp_man, camp_man, CIVMALE, STAT_SUIT_GUY, man, 0, null, 10, 10 +67, camp_wom, camp_wom, CIVFEMALE, STAT_SUIT_GIRL, busywoman, 0, null, 10, 10 +68, HITMAN, HITMAN, CIVMALE, STAT_TOUGH_GUY, man, 0, null, 1, 6 +79, gang01, gang01, GANG1, STAT_GANG1, gang1, 0, null, 1, 1 +80, gang02, gang02, GANG1, STAT_GANG1, gang2, 0, null, 1, 1 +81, gang03, gang03, GANG2, STAT_GANG2, gang1, 0, null, 7, 7 +82, gang04, gang04, GANG2, STAT_GANG2, gang2, 0, null, 7, 7 +83, gang05, gang05, GANG3, STAT_GANG3, gang1, 0, null, 8, 8 +84, gang06, gang06, GANG3, STAT_GANG3, gang1, 0, null, 8, 8 +85, gang07, gang07, GANG4, STAT_GANG4, gang1, 0, null, 6, 6 +86, gang08, gang08, GANG4, STAT_GANG4, gang2, 0, null, 6, 6 +87, gang09, gang09, GANG5, STAT_GANG5, gang1, 0, null, 2, 2 +88, gang10, gang10, GANG5, STAT_GANG5, gang2, 0, null, 2, 2 +89, gang11, gang11, GANG6, STAT_GANG6, gang1, 0, null, 3, 3 +90, gang12, gang12, GANG6, STAT_GANG6, gang2, 0, null, 3, 3 +91, gang13, gang13, GANG7, STAT_GANG7, gang1, 0, null, 6, 8 +92, gang14, gang14, GANG7, STAT_GANG7, gang2, 0, null, 6, 8 +93, gang15, gang15, GANG8, STAT_GANG8, gang1, 0, null, 1, 1 +94, gang16, gang16, GANG8, STAT_GANG8, gang2, 0, null, 1, 1 +95, gang17, gang17, GANG9, STAT_GANG9, gang1, 0, null, 1, 1 +96, gang18, gang18, GANG9, STAT_GANG9, gang2, 0, null, 1, 1 +97, vice1, vice1, COP, STAT_COP, man, 0, null, 9, 9 +98, vice2, vice2, COP, STAT_COP, man, 0, null, 9, 9 +99, vice3, vice3, COP, STAT_COP, man, 0, null, 9, 9 +100, vice4, vice4, COP, STAT_COP, man, 0, null, 9, 9 +101, vice5, vice5, COP, STAT_COP, man, 0, null, 9, 9 +102, vice6, vice6, COP, STAT_COP, man, 0, null, 9, 9 +103, vice7, vice7, COP, STAT_COP, man, 0, null, 9, 9 +104, vice8, vice8, COP, STAT_COP, man, 0, null, 9, 9 +105, WFYG1, WFYG1, CIVFEMALE, STAT_SENSIBLE_GIRL, sexywoman, 0, null, 9, 9 +106, WFYG2, WFYG2, CIVFEMALE, STAT_SENSIBLE_GIRL, woman, 0, null, 9, 9 +109, player, player, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +110, special02, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +111, special03, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +112, special04, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +113, special05, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +114, special06, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +115, special07, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +116, special08, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +117, special09, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +118, special10, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +119, special11, generic, CIVMALE, STAT_STD_MISSION, man, 0, null, 10, 10 +end +cars +130, spider, spider, car, SPIDER, SPIDER, null, executive, 10, 7, 0, 254, 0.78, 0.08 +131, landstal, landstal, car, LANDSTAL, LANDSTK, null, richfamily, 10, 7, 0, 254, 0.95, 0.1 +132, idaho, idaho, car, IDAHO, IDAHO, null, poorfamily, 10, 7, 0, 253, 0.64, 0.15 +133, stinger, stinger, car, STINGER, STINGER, null, executive, 10, 6, 2ff0, 250, 0.7, 0.25 +134, linerun, linerun, car, LINERUN, LINERUN, null, big, 10, 7, 0, 255, 1.1, 0.3 +135, peren, peren, car, PEREN, PEREN, null, poorfamily, 10, 7, 0, 253, 0.66, 0.05 +136, sentinel, sentinel, car, SENTINEL, SENTINL, null, normal, 10, 7, 0, 254, 0.7, 0.18 +137, patriot, patriot, car, PATRIOT, PATRIOT, null, richfamily, 10, 7, 0, 255, 0.9, 0.05 +138, firetruk, firetruk, car, FIRETRUK, FIRETRK, null, ignore, 0, 7, 0, 255, 1.0, 0.18 +139, trash, trash, car, TRASH, TRASHM, null, big, 10, 7, 0, 255, 1.06, 0.1 +140, stretch, stretch, car, STRETCH, STRETCH, null, executive, 10, 7, 0, 251, 0.75, 0.2 +141, manana, manana, car, MANANA, MANANA, null, normal, 10, 7, 0, 251, 0.7, 0.15 +142, infernus, infernus, car, INFERNUS, INFERNS, null, executive, 10, 6, 0, 250, 0.7, 0.15 +143, blista, blista, car, BLISTA, BLISTA, null, richfamily, 10, 7, 0, 252, 0.7, 0.2 +144, pony, pony, car, PONY, PONY, van, worker, 10, 7, 0, 252, 0.7, 0.2 +145, mule, mule, car, MULE, MULE, null, worker, 10, 7, 0, 255, 0.76, 0.2 +146, cheetah, cheetah, car, CHEETAH, CHEETAH, null, executive, 10, 7, 0, 250, 0.7, 0.08 +147, ambulan, ambulan, car, AMBULAN, AMBULAN, van, ignore, 0, 7, 0, 252, 0.9, 0.2 +148, fbicar, fbicar, car, FBICAR, FBICAR, null, ignore, 0, 7, 0, 251, 0.7, 0.1 +149, moonbeam, moonbeam, car, MOONBEAM, MOONBM, null, poorfamily, 10, 7, 0, 252, 0.7, 0.16 +150, esperant, esperant, car, ESPERANT, ESPERAN, null, poorfamily, 10, 7, 0, 253, 0.64, 0.18 +151, taxi, taxi, car, TAXI, TAXI, null, taxi, 20, 7, 1f10, 251, 0.7, 0.15 +152, kuruma, kuruma, car, KURUMA, KURUMA, null, normal, 10, 7, 0, 251, 0.7, 0.18 +153, bobcat, bobcat, car, BOBCAT, BOBCAT, null, worker, 10, 7, 0, 254, 0.7, 0.15 +154, mrwhoop, mrwhoop, car, MRWHOOP, WHOOPEE, null, ignore, 0, 4, 0, 252, 0.7, 0.1 +155, bfinject, bfinject, car, BFINJECT, BFINJC, null, ignore, 0, 4, 0, 254, 0.9, 0.2 +156, hearse, hearse, car, PEREN, HEARSE, null, ignore, 0, 7, 0, 251, 0.7, 0.12 +157, police, police, car, POLICE, POLICAR, null, ignore, 0, 7, 0, 251, 0.7, 0.1 +158, enforcer, enforcer, car, ENFORCER, ENFORCR, van, ignore, 0, 7, 0, 255, 0.9, 0.25 +159, securica, securica, car, SECURICA, SECURI, van, big, 6, 7, 0, 255, 0.85, 0.15 +160, banshee, banshee, car, BANSHEE, BANSHEE, null, executive, 10, 7, 0, 250, 0.7, 0.05 +161, bus, bus, car, BUS, BUS, null, ignore, 0, 7, 0, 255, 0.9, 0.3 +162, rhino, rhino, car, RHINO, RHINO, null, ignore, 0, 7, 0, 255, 1.5, 0.3 +163, barracks, barracks, car, BARRACKS, BARRCKS, van, ignore, 0, 7, 0, 255, 1.2, 0.3 +164, dodo, dodo, car, DODO, DODO, null, ignore, 0, 7, 0, 256, 0.5, 0.3 +165, coach, coach, car, COACH, COACH, coach, big, 10, 7, 0, 255, 1.0, 0.25 +166, cabbie, cabbie, car, CABBIE, CABBIE, null, taxi, 10, 7, 0, 253, 0.7, 0.1 +167, stallion, stallion, car, STALLION, STALION, null, poorfamily, 10, 7, 2ff0, 253, 0.7, 0.1 +168, rumpo, rumpo, car, RUMPO, RUMPO, van, worker, 10, 6, 0, 252, 0.7, 0.1 +169, rcbandit, rcbandit, car, RCBANDIT, RCBANDT, null, ignore, 0, 7, 0, 250, 0.35, 0.1 +170, bellyup, bellyup, car, BELLYUP, BELLYUP, null, ignore, 0, 7, 0, 255, 0.76, 0.15 +171, mrwongs, mrwongs, car, MRWONGS, MRWONGS, null, ignore, 0, 7, 0, 255, 0.76, 0.15 +172, mafia, mafia, car, MAFIA, MAFIACR, null, ignore, 0, 7, 0, 254, 0.7, 0.04 +173, yardie, yardie, car, YARDIE, YARDICR, null, ignore, 0, 7, 0, 254, 0.73, 0.08 +174, yakuza, yakuza, car, YAKUZA, YAKUZCR, null, ignore, 0, 7, 0, 250, 0.7, 0.08 +175, diablos, diablos, car, DIABLOS, DIABLCR, null, ignore, 0, 7, 0, 253, 0.7, 0.2 +176, columb, columb, car, COLUMB, COLOMCR, null, ignore, 0, 7, 0, 254, 0.85, 0.03 +177, hoods, hoods, car, HOODS, HOODSCR, van, ignore, 0, 7, 1ff0, 252, 0.78, 0.05 +178, panlant, panlant, car, PANLANT, PANLANT, null, ignore, 0, 7, 0, 252, 0.7, 0.2 +179, flatbed, flatbed, car, FLATBED, FLATBED, van, big, 10, 7, 0, 255, 1.2, 0.15 +180, yankee, yankee, car, YANKEE, YANKEE, null, worker, 10, 7, 0, 255, 0.84, 0.15 +181, borgnine, borgnine, car, BORGNINE, BORGNIN, null, ignore, 0, 7, 0, 253, 0.7, 0.09 +182, toyz, toyz, car, PONY, TOYZ, null, ignore, 0, 7, 0, 252, 0.7, 0.15 +183, campvan, campvan, car, CAMPVAN, CAMPVAN, null, ignore, 0, 7, 0, 252, 0.7, 0.15 +184, ballot, ballot, car, BALLOT, BALLOT, van, ignore, 0, 7, 0, 252, 0.7, 0.2 +185, shelby, shelby, car, SHELBY, SHELBY, null, ignore, 0, 7, 0, 253, 0.7, 0.1 +186, pontiac, pontiac, car, PONTIAC, PONTIAC, null, executive, 10, 7, 0, 254, 0.77, 0.04 +187, esprit, esprit, car, ESPRIT, ESPRIT, null, executive, 10, 7, 0, 250, 0.78, 0.08 +188, ammotruk, ammotruk, car, BARRACKS, BARRACK, van, ignore, 0, 7, 0, 255, 1.2, 0.2 +189, hotrod, hotrod, car, HOTROD, HOTROD, null, ignore, 0, 7, 0, 252, 0.7, 0.06 +190, Sindacco_Car, Sindacco_Car, car, SINDACCO, SINDACO, null, ignore, 0, 7, 0, 252, 0.7, 0.05 +191, Forelli_Car, Forelli_Car, car, FORELLI, FORELLI, null, ignore, 0, 7, 0, 252, 0.7, 0.04 +192, ferry, ferry, ferry, FERRY, FERRY, null, ignore, 0, 7, 40252c00, 0, 0, 0.1 +193, ghost, ghost, boat, PREDATOR, GHOST, null, leisureboat, 1, 7, 0, 0, 0, 0.2 +194, speeder, speeder, boat, SPEEDER, SPEEDER, null, leisureboat, 1, 7, 0, 0, 0, 0.2 +195, reefer, reefer, boat, REEFER, REEFER, null, workerboat, 1, 7, 0, 0, 0, 0.2 +196, predator, predator, boat, PREDATOR, PREDATR, null, leisureboat, 1, 7, 0, 0, 0, 0.2 +197, train, train, train, TRAIN, TRAIN, null, ignore, 0, 7, 0, 0, 0, 0.02 +198, escape, escape, heli, HELI, HELI, null, ignore, 0, 7, 0, 0, 0, 0.3 +199, chopper, chopper, heli, HELI, HELI, null, ignore, 0, 7, 0, 0, 0, 0.1 +200, airtrain, airtrain, plane, AIRTRAIN, AEROPL, null, ignore, 0, 7, 0, 257, 0, 0.1 +201, deaddodo, deaddodo, plane, DEADDODO, DODO, null, ignore, 0, 7, 0, -1, 0, 0.3 +202, angel, angel, bike, ANGEL, ANGEL, bikeh, ignore, 0, 7, 0, 23, 0.65, 0.1 +203, pizzaboy, pizzaboy, bike, MOPED, PIZZABO, bikev, ignore, 0, 7, 0, 16, 0.46, 0.1 +204, noodleboy, noodleboy, bike, MOPED, NOODLBO, bikev, ignore, 0, 7, 0, 16, 0.46, 0.1 +205, pcj600, pcj600, bike, BIKE, PCJ600, bikes, motorbike, 10, 7, 0, 16, 0.67, 0.1 +206, faggio, faggio, bike, MOPED, FAGGIO, bikev, moped, 10, 7, 0, 16, 0.46, 0.1 +207, freeway, freeway, bike, FREEWAY, FREEWAY, bikeh, motorbike, 10, 7, 0, 23, 0.65, 0.1 +208, angel2, angel2, bike, ANGE2, ANGEL2, bikeh, ignore, 0, 7, 0, 23, 0.65, 0.1 +209, sanchez2, sanchez2, bike, DIRTBIK2, SANCH2, biked, ignore, 0, 7, 0, 23, 0.66, 0.1 +210, sanchez, sanchez, bike, DIRTBIKE, SANCHEZ, biked, motorbike, 10, 7, 0, 23, 0.66, 0.1 +211, rcgoblin, rcgoblin, car, RCGOBLIN, RCGOBLI, null, ignore, 0, 7, 0, 250, 0.25, 0.3 +212, rcraider, rcraider, car, RCCOPTER, RCRAIDE, null, ignore, 0, 7, 0, 250, 0.25, 0.3 +213, hunter, hunter, car, HUNTER, HUNTER, null, ignore, 0, 7, 0, 256, 0.64, 0.3 +214, maverick, maverick, car, MAVERICK, MAVERIC, null, ignore, 0, 7, 0, 256, 0.7, 0.15 +215, polmav, polmav, car, POLMAV, POLMAV, null, ignore, 0, 7, 0, 256, 0.7, 0.3 +216, vcnmav, vcnmav, car, COASTMAV, VCNMAV, null, ignore, 0, 7, 0, 256, 0.7, 0.3 +end +objs +237, wheel_rim, generic, 2, 20, 70, 0 +238, wheel_offroad, generic, 2, 20, 70, 0 +239, wheel_truck, generic, 2, 20, 70, 0 +240, hash_00000000, generic, 1, 80, 0 +241, hash_00000000, generic, 1, 80, 0 +242, hash_00000000, generic, 1, 80, 0 +243, hash_00000000, generic, 1, 80, 0 +244, hash_00000000, generic, 1, 80, 0 +245, hash_00000000, generic, 1, 80, 0 +246, hash_00000000, generic, 1, 80, 0 +247, hash_00000000, generic, 1, 80, 0 +250, wheel_sport, generic, 2, 20, 70, 0 +251, wheel_saloon, generic, 2, 20, 70, 0 +252, wheel_lightvan, generic, 2, 20, 70, 0 +253, wheel_classic, generic, 2, 20, 70, 0 +254, wheel_alloy, generic, 2, 20, 70, 0 +255, wheel_lighttruck, generic, 2, 20, 70, 0 +256, wheel_smallcar, generic, 2, 20, 70, 0 +257, airtrain_vlo, generic, 1, 2000, 0 +end +weap +258, cellphone, cellphone, null, 1, 50, 0 +259, brassknuckle, brassknuckle, null, 1, 50, 0 +260, chisel, chisel, null, 1, 50, 0 +261, hockeystick, hockeystick, baseball, 1, 50, 0 +262, nitestick, nitestick, baseball, 1, 50, 0 +263, knifecur, knifecur, knife, 1, 50, 0 +264, bat, bat, baseball, 1, 50, 0 +265, handaxe, handaxe, baseball, 1, 50, 0 +266, cleaver, cleaver, knife, 1, 50, 0 +267, machete, machete, knife, 1, 50, 0 +268, katana, katana, knife, 1, 50, 0 +269, chnsaw, chnsaw, chainsaw, 1, 50, 0 +270, grenade, grenade, grenade, 1, 100, 0 +271, teargas, teargas, grenade, 1, 50, 0 +272, molotov, molotov, grenade, 1, 100, 0 +273, missile, missile, null, 1, 100, 0 +274, glock17, glock17, colt45, 1, 30, 0 +275, python, python, python, 1, 50, 0 +276, ak47, ak47, rifle, 1, 70, 0 +277, chromegun, chromegun, shotgun, 1, 70, 0 +278, shotgspa, shotgspa, buddy, 1, 70, 0 +279, buddyshot, buddyshot, buddy, 1, 70, 0 +280, m4, m4, rifle, 1, 30, 0 +281, tec9, tec9, tec, 1, 30, 0 +282, uzi, uzi, uzi, 1, 30, 0 +283, ingramsl, ingramsl, tec, 1, 50, 0 +284, mp5k, mp5k, uzi, 1, 50, 0 +285, sniper, sniper, sniper, 1, 50, 0 +286, laser, laser, sniper, 1, 50, 0 +287, rocketla, rocketla, rocketla, 1, 50, 0 +288, flame, flame, flame, 1, 50, 0 +289, M60, M60, m60, 1, 50, 0 +290, minigun, minigun, flame, 1, 50, 0 +291, bomb, bomb, grenade, 1, 50, 0 +292, camera, camera, null, 1, 50, 0 +293, fingers, fingers, null, 1, 50, 0 +294, minigun2, minigun, null, 1, 50, 0 +end +hier +120, csvinc, csvinc +121, cutobj02, generic +122, cutobj03, generic +123, cutobj04, generic +124, cutobj05, generic +125, cutobj06, generic +126, cutobj07, generic +127, cutobj08, generic +128, cutobj09, generic +129, cutobj10, generic +end diff --git a/lcs/keywords.txt b/lcs/keywords.txt new file mode 100644 index 0000000..36adc05 --- /dev/null +++ b/lcs/keywords.txt @@ -0,0 +1,6 @@ +0001=wait +0002=jump +004D=jf +0050=gosub +0051=return +00DB=if \ No newline at end of file diff --git a/lcs/lcs.json b/lcs/lcs.json new file mode 100644 index 0000000..7c4e23b --- /dev/null +++ b/lcs/lcs.json @@ -0,0 +1,32423 @@ +{ + "meta": { + "last_update": 1684614094926, + "version": "0.12", + "url": "https://library.sannybuilder.com/#/lcs" + }, + "extensions": [ + { + "name": "default", + "commands": [ + { + "id": "0000", + "name": "NOP", + "num_params": 0, + "short_desc": "Has no effect and is commonly used to pad CLEO scripts with extra space to avoid the jump-at-zero-offset bug", + "attrs": { + "is_keyword": true + } + }, + { + "input": [ + { + "name": "time", + "type": "int" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "0001", + "name": "WAIT", + "num_params": 1, + "short_desc": "Pauses the script execution for specified amount of time in milliseconds" + }, + { + "input": [ + { + "name": "", + "type": "label" + } + ], + "attrs": { + "is_branch": true, + "is_keyword": true, + "is_segment": true + }, + "id": "0002", + "name": "GOTO", + "num_params": 1, + "short_desc": "Transfers the script execution to the label unconditionally" + }, + { + "input": [ + { + "name": "intensity", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0003", + "member": "Shake", + "name": "SHAKE_CAM", + "num_params": 1, + "short_desc": "Shakes the camera with the given intensity" + }, + { + "id": "0004", + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "name": "SET_VAR_INT", + "num_params": 2, + "short_desc": "Sets the integer value of the VAR" + }, + { + "id": "0005", + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "name": "SET_VAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float value of the VAR" + }, + { + "id": "0006", + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "name": "SET_LVAR_INT", + "num_params": 2, + "short_desc": "Sets the integer value of the LVAR" + }, + { + "id": "0007", + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "name": "SET_LVAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float value of the LVAR" + }, + { + "id": "0008", + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "name": "ADD_VAL_TO_INT_VAR", + "num_params": 2, + "short_desc": "Adds the value to the value of the int VAR" + }, + { + "id": "0009", + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "name": "ADD_VAL_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Adds the value to the value of the float VAR" + }, + { + "id": "000A", + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "name": "ADD_VAL_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Adds the value to the value of the integer LVAR" + }, + { + "id": "000B", + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "name": "ADD_VAL_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Adds the value to the value of the float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "id": "000C", + "name": "SUB_VAL_FROM_INT_VAR", + "num_params": 2, + "short_desc": "Subtracts the value from the value of the integer VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "000D", + "name": "SUB_VAL_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Subtracts the value from the value of the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "id": "000E", + "name": "SUB_VAL_FROM_INT_LVAR", + "num_params": 2, + "short_desc": "Subtracts the value from the value of the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "000F", + "name": "SUB_VAL_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Subtracts the value from the value of the float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "id": "0010", + "name": "MULT_INT_VAR_BY_VAL", + "num_params": 2, + "short_desc": "Multiplies the int VAR by the value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0011", + "name": "MULT_FLOAT_VAR_BY_VAL", + "num_params": 2, + "short_desc": "Multiplies the float VAR by the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "id": "0012", + "name": "MULT_INT_LVAR_BY_VAL", + "num_params": 2, + "short_desc": "Multiplies the int LVAR by the value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0013", + "name": "MULT_FLOAT_LVAR_BY_VAL", + "num_params": 2, + "short_desc": "Multiplies the float LVAR by the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "id": "0014", + "name": "DIV_INT_VAR_BY_VAL", + "num_params": 2, + "short_desc": "Divides the int VAR by the value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0015", + "name": "DIV_FLOAT_VAR_BY_VAL", + "num_params": 2, + "short_desc": "Divides the float VAR by the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "id": "0016", + "name": "DIV_INT_LVAR_BY_VAL", + "num_params": 2, + "short_desc": "Divides the int LVAR by the value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0017", + "name": "DIV_FLOAT_LVAR_BY_VAL", + "num_params": 2, + "short_desc": "Divides the float LVAR by the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0018", + "name": "IS_INT_VAR_GREATER_THAN_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is greater than the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0019", + "name": "IS_INT_LVAR_GREATER_THAN_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the int LVAR value is greater than the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "literal" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "001A", + "name": "IS_NUMBER_GREATER_THAN_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the value is greater than the int VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "literal" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "001B", + "name": "IS_NUMBER_GREATER_THAN_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the value is greater than the int LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "001C", + "name": "IS_INT_VAR_GREATER_THAN_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is greater than the other int VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "001D", + "name": "IS_INT_LVAR_GREATER_THAN_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the int LVAR value is greater than the other int LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "001E", + "name": "IS_INT_VAR_GREATER_THAN_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is greater than the int LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "001F", + "name": "IS_INT_LVAR_GREATER_THAN_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the int LVAR value is greater than the int VAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0020", + "name": "IS_FLOAT_VAR_GREATER_THAN_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is greater than the float value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0021", + "name": "IS_FLOAT_LVAR_GREATER_THAN_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the float LVAR value is greater than the float value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "literal" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0022", + "name": "IS_NUMBER_GREATER_THAN_FLOAT_VAR", + "num_params": 2, + "short_desc": "Returns true if the float value is greater than the float VAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "literal" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0023", + "name": "IS_NUMBER_GREATER_THAN_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the float value is greater than the float LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0024", + "name": "IS_FLOAT_VAR_GREATER_THAN_FLOAT_VAR", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is greater than the other float VAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0025", + "name": "IS_FLOAT_LVAR_GREATER_THAN_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the float LVAR value is greater than the other float LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0026", + "name": "IS_FLOAT_VAR_GREATER_THAN_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is greater than the float LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0027", + "name": "IS_FLOAT_LVAR_GREATER_THAN_FLOAT_VAR", + "num_params": 2, + "short_desc": "Returns true if the float LVAR value is greater than the float VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0028", + "name": "IS_INT_VAR_GREATER_OR_EQUAL_TO_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is greater or equal to the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0029", + "name": "IS_INT_LVAR_GREATER_OR_EQUAL_TO_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the int LVAR value is greater or equal to the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "literal" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "002A", + "name": "IS_NUMBER_GREATER_OR_EQUAL_TO_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the value is greater or equal to the int VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "literal" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "002B", + "name": "IS_NUMBER_GREATER_OR_EQUAL_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the value is greater or equal to the int LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "002C", + "name": "IS_INT_VAR_GREATER_OR_EQUAL_TO_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is greater or equal to the other int VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "002D", + "name": "IS_INT_LVAR_GREATER_OR_EQUAL_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the int LVAR value is greater or equal to the other int LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "002E", + "name": "IS_INT_VAR_GREATER_OR_EQUAL_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is greater or equal to the int LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "002F", + "name": "IS_INT_LVAR_GREATER_OR_EQUAL_TO_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the int LVAR value is greater or equal to the int VAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0030", + "name": "IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is greater or equal to the value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0031", + "name": "IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the float LVAR value is greater or equal to the value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "literal" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0032", + "name": "IS_NUMBER_GREATER_OR_EQUAL_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Returns true if the value is greater or equal to the float VAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "literal" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0033", + "name": "IS_NUMBER_GREATER_OR_EQUAL_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the value is greater or equal to the float LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0034", + "name": "IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is greater or equal to the other float VAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0035", + "name": "IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the float LVAR value is greater or equal to the other float LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0036", + "name": "IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is greater or equal to the LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0037", + "name": "IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Returns true if the float LVAR value is greater or equal to the float VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0038", + "name": "IS_INT_VAR_EQUAL_TO_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is equal to the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0039", + "name": "IS_INT_LVAR_EQUAL_TO_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the int LVAR value is equal to the value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "003A", + "name": "IS_INT_VAR_EQUAL_TO_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is equal to the other int VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "003B", + "name": "IS_INT_LVAR_EQUAL_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the int LVAR value is equal to the other int LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "003C", + "name": "IS_INT_VAR_EQUAL_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the int VAR value is equal to the int LVAR value" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "003D", + "name": "IS_INT_VAR_NOT_EQUAL_TO_NUMBER", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "003E", + "name": "IS_INT_LVAR_NOT_EQUAL_TO_NUMBER", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "003F", + "name": "IS_INT_VAR_NOT_EQUAL_TO_INT_VAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0040", + "name": "IS_INT_LVAR_NOT_EQUAL_TO_INT_LVAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0041", + "name": "IS_INT_VAR_NOT_EQUAL_TO_INT_LVAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0042", + "name": "IS_FLOAT_VAR_EQUAL_TO_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is equal to the value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0043", + "name": "IS_FLOAT_LVAR_EQUAL_TO_NUMBER", + "num_params": 2, + "short_desc": "Returns true if the float LVAR value is equal to the value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0044", + "name": "IS_FLOAT_VAR_EQUAL_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is equal to the other float VAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0045", + "name": "IS_FLOAT_LVAR_EQUAL_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the float LVAR value is equal to the other float LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "0046", + "name": "IS_FLOAT_VAR_EQUAL_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the float VAR value is equal to the float LVAR value" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0047", + "name": "IS_FLOAT_VAR_NOT_EQUAL_TO_NUMBER", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0048", + "name": "IS_FLOAT_LVAR_NOT_EQUAL_TO_NUMBER", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0049", + "name": "IS_FLOAT_VAR_NOT_EQUAL_TO_FLOAT_VAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "004A", + "name": "IS_FLOAT_LVAR_NOT_EQUAL_TO_FLOAT_LVAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "004B", + "name": "IS_FLOAT_VAR_NOT_EQUAL_TO_FLOAT_LVAR", + "num_params": 0 + }, + { + "attrs": { + "is_branch": true, + "is_keyword": true + }, + "id": "004C", + "input": [ + { + "name": "", + "type": "label" + } + ], + "name": "GOTO_IF_TRUE", + "num_params": 1, + "short_desc": "Transfers the script execution to the label if the condition result is true" + }, + { + "attrs": { + "is_branch": true, + "is_keyword": true + }, + "id": "004D", + "input": [ + { + "name": "", + "type": "label" + } + ], + "name": "GOTO_IF_FALSE", + "num_params": 1, + "short_desc": "Transfers the script execution to the label if the condition result is false" + }, + { + "attrs": { + "is_keyword": true, + "is_branch": true + }, + "id": "004E", + "name": "TERMINATE_THIS_SCRIPT", + "num_params": 0, + "short_desc": "Ends the current script, preventing further execution" + }, + { + "input": [ + { + "name": "", + "type": "label" + }, + { + "name": "", + "type": "arguments" + } + ], + "id": "004F", + "name": "START_NEW_SCRIPT", + "num_params": 2, + "short_desc": "Starts a new script at the specified label", + "attrs": { + "is_keyword": true + } + }, + { + "input": [ + { + "name": "", + "type": "label" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "0050", + "name": "GOSUB", + "num_params": 1, + "short_desc": "Transfers the script execution to the label as a subroutine" + }, + { + "attrs": { + "is_keyword": true + }, + "id": "0051", + "name": "RETURN", + "num_params": 0, + "short_desc": "Returns from the current subroutine (0050)" + }, + { + "input": [ + { + "name": "f1", + "type": "float" + }, + { + "name": "f2", + "type": "float" + }, + { + "name": "f3", + "type": "float" + }, + { + "name": "f4", + "type": "float" + }, + { + "name": "f5", + "type": "float" + }, + { + "name": "f6", + "type": "float" + } + ], + "id": "0052", + "name": "LINE", + "num_params": 6, + "short_desc": "Displays 6 floating-point values on the screen", + "class": "Debugger", + "member": "Line", + "attrs": { + "is_nop": true, + "is_static": true + } + }, + { + "input": [ + { + "name": "modelId", + "type": "model_char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Player", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Player", + "id": "0053", + "member": "Create", + "name": "CREATE_PLAYER", + "num_params": 5, + "short_desc": "Creates a player at the specified location" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "class": "Player", + "id": "0054", + "member": "GetCoordinates", + "name": "GET_PLAYER_COORDINATES", + "num_params": 4, + "short_desc": "Returns the player's coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Player", + "id": "0055", + "member": "SetCoordinates", + "name": "SET_PLAYER_COORDINATES", + "num_params": 4, + "short_desc": "Puts the player at the specified location" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0056", + "member": "IsInArea2D", + "name": "IS_PLAYER_IN_AREA_2D", + "num_params": 6, + "short_desc": "Returns true if the player is within the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0057", + "member": "IsInArea3D", + "name": "IS_PLAYER_IN_AREA_3D", + "num_params": 8, + "short_desc": "Returns true if the player is within the specified 3D area" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "0058", + "name": "ADD_INT_VAR_TO_INT_VAR", + "num_params": 2, + "short_desc": "Adds the int VAR value to the other int VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0059", + "name": "ADD_FLOAT_VAR_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Adds the float VAR value to the other float VAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "005A", + "name": "ADD_INT_LVAR_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Adds the int LVAR value to the other int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "005B", + "name": "ADD_FLOAT_LVAR_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Adds the float LVAR value to the other float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "005C", + "name": "ADD_INT_VAR_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Adds the int VAR value to the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "005D", + "name": "ADD_FLOAT_VAR_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Adds the float VAR value to the float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "005E", + "name": "ADD_INT_LVAR_TO_INT_VAR", + "num_params": 2, + "short_desc": "Adds the float LVAR value to the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "005F", + "name": "ADD_FLOAT_LVAR_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Adds the float LVAR value to the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "0060", + "name": "SUB_INT_VAR_FROM_INT_VAR", + "num_params": 2, + "short_desc": "Subtracts the int VAR value from the int VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0061", + "name": "SUB_FLOAT_VAR_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Subtracts the float VAR value from the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0062", + "name": "SUB_INT_LVAR_FROM_INT_LVAR", + "num_params": 2, + "short_desc": "Subtracts the int LVAR value from the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0063", + "name": "SUB_FLOAT_LVAR_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Subtracts the float LVAR value from the float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "0064", + "name": "SUB_INT_VAR_FROM_INT_LVAR", + "num_params": 2, + "short_desc": "Subtracts the int VAR value from the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0065", + "name": "SUB_FLOAT_VAR_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Subtracts the float VAR value from the float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0066", + "name": "SUB_INT_LVAR_FROM_INT_VAR", + "num_params": 2, + "short_desc": "Subtracts the float LVAR value from the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0067", + "name": "SUB_FLOAT_LVAR_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Subtracts the float LVAR value from the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "0068", + "name": "MULT_INT_VAR_BY_INT_VAR", + "num_params": 2, + "short_desc": "Multiplies the int VAR value by the int VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0069", + "name": "MULT_FLOAT_VAR_BY_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the float VAR value by the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "006A", + "name": "MULT_INT_LVAR_BY_INT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the int LVAR value by the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "006B", + "name": "MULT_FLOAT_LVAR_BY_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the int LVAR value by the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "006C", + "name": "MULT_INT_VAR_BY_INT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the int VAR value by the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "006D", + "name": "MULT_FLOAT_VAR_BY_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the float VAR value by the float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "006E", + "name": "MULT_INT_LVAR_BY_INT_VAR", + "num_params": 2, + "short_desc": "Multiplies the int LVAR value by the int VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "006F", + "name": "MULT_FLOAT_LVAR_BY_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the float LVAR value by the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "0070", + "name": "DIV_INT_VAR_BY_INT_VAR", + "num_params": 2, + "short_desc": "Divides the int VAR value by the int VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0071", + "name": "DIV_FLOAT_VAR_BY_FLOAT_VAR", + "num_params": 2, + "short_desc": "Divides the float VAR value by the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0072", + "name": "DIV_INT_LVAR_BY_INT_LVAR", + "num_params": 2, + "short_desc": "Divides the int LVAR by the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0073", + "name": "DIV_FLOAT_LVAR_BY_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Divides the float LVAR by the float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0074", + "name": "DIV_INT_VAR_BY_INT_LVAR", + "num_params": 2, + "short_desc": "Divides the int VAR by the int LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0075", + "name": "DIV_FLOAT_VAR_BY_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Divides the float VAR by the float LVAR" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "0076", + "name": "DIV_INT_LVAR_BY_INT_VAR", + "num_params": 2, + "short_desc": "Divides the int LVAR by the int VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0077", + "name": "DIV_FLOAT_LVAR_BY_FLOAT_VAR", + "num_params": 2, + "short_desc": "Divides the float LVAR by the float VAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0078", + "name": "ADD_TIMED_VAL_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified value and adds the result to the specified variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0079", + "name": "ADD_TIMED_VAL_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified value and adds the result to the specified variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "007A", + "name": "ADD_TIMED_FLOAT_VAR_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the specified global variable and adds the result to the specified global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "007B", + "name": "ADD_TIMED_FLOAT_LVAR_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the specified local variable and adds the result to the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "007C", + "name": "ADD_TIMED_FLOAT_LVAR_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the specified local variable and adds the result to the specified global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "007D", + "name": "ADD_TIMED_FLOAT_VAR_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the specified global variable and adds the result to the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "007E", + "name": "SUB_TIMED_VAL_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified float value and subtracts the result from the specified global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "007F", + "name": "SUB_TIMED_VAL_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified value and subtracts the result from the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0080", + "name": "SUB_TIMED_FLOAT_VAR_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the value of the specified global variable and subtracts the result from the specified global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0081", + "name": "SUB_TIMED_FLOAT_LVAR_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the value of the specified local variable and adds the result to the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0082", + "name": "SUB_TIMED_FLOAT_LVAR_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the frame delta time (the time in milliseconds that has passed since the last frame) by float stored in the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0083", + "name": "SUB_TIMED_FLOAT_VAR_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the value of the specified global variable and subtracts the result from the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "0084", + "name": "SET_VAR_INT_TO_VAR_INT", + "num_params": 2, + "short_desc": "Sets the int VAR to the VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0085", + "name": "SET_LVAR_INT_TO_LVAR_INT", + "num_params": 2, + "short_desc": "Sets the int LVAR to the LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0086", + "name": "SET_VAR_FLOAT_TO_VAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float VAR to the VAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0087", + "name": "SET_LVAR_FLOAT_TO_LVAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float LVAR to the LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0088", + "name": "SET_VAR_FLOAT_TO_LVAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float VAR to the LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0089", + "name": "SET_LVAR_FLOAT_TO_VAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float LVAR to the VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "008A", + "name": "SET_VAR_INT_TO_LVAR_INT", + "num_params": 2, + "short_desc": "Sets the int VAR to the LVAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "008B", + "name": "SET_LVAR_INT_TO_VAR_INT", + "num_params": 2, + "short_desc": "Sets the int LVAR to the VAR value" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "008C", + "name": "CSET_VAR_INT_TO_VAR_FLOAT", + "num_params": 2, + "short_desc": "Converts the float in the second global variable to an integer (via flooring) and stores the integer into the first global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "008D", + "name": "CSET_VAR_FLOAT_TO_VAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the second global variable to a float and stores the result in the first global variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "008E", + "name": "CSET_LVAR_INT_TO_VAR_FLOAT", + "num_params": 2, + "short_desc": "Converts the float value of the global variable to an integer (via flooring) and stores the result into a local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "008F", + "name": "CSET_LVAR_FLOAT_TO_VAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the global variable to a float and then stores the result in the local variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0090", + "name": "CSET_VAR_INT_TO_LVAR_FLOAT", + "num_params": 2, + "short_desc": "Converts the float value of the local variable to an integer (via flooring) and stores the result to the global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0091", + "name": "CSET_VAR_FLOAT_TO_LVAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the local variable to a float and stores the result in the global variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0092", + "name": "CSET_LVAR_INT_TO_LVAR_FLOAT", + "num_params": 2, + "short_desc": "Converts a float value to an integer (via truncating)" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0093", + "name": "CSET_LVAR_FLOAT_TO_LVAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the second local variable to a float and stores the result to the first local variable" + }, + { + "output": [ + { + "name": "number", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_overload": true, + "is_static": true + }, + "class": "Math", + "id": "0094", + "member": "Abs", + "name": "ABS_VAR_INT", + "num_params": 1, + "short_desc": "Returns the absolute value of the global integer variable" + }, + { + "output": [ + { + "name": "number", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_overload": true, + "is_static": true + }, + "class": "Math", + "id": "0095", + "member": "Abs", + "name": "ABS_LVAR_INT", + "num_params": 1, + "short_desc": "Returns the absolute value of the local integer variable" + }, + { + "output": [ + { + "name": "number", + "type": "float", + "source": "var_global" + } + ], + "attrs": { + "is_overload": true, + "is_static": true + }, + "class": "Math", + "id": "0096", + "member": "Abs", + "name": "ABS_VAR_FLOAT", + "num_params": 1, + "short_desc": "Returns the absolute value of the global float variable" + }, + { + "output": [ + { + "name": "number", + "type": "float", + "source": "var_local" + } + ], + "attrs": { + "is_overload": true, + "is_static": true + }, + "class": "Math", + "id": "0097", + "member": "Abs", + "name": "ABS_LVAR_FLOAT", + "num_params": 1, + "short_desc": "Returns the absolute value of the local float variable" + }, + { + "output": [ + { + "name": "", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_overload": true, + "is_static": true + }, + "class": "Math", + "id": "0098", + "member": "Random", + "name": "GENERATE_RANDOM_FLOAT", + "num_params": 1, + "short_desc": "Returns a random float between 0.0 to 1.0" + }, + { + "output": [ + { + "name": "", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_overload": true, + "is_static": true + }, + "class": "Math", + "id": "0099", + "member": "Random", + "name": "GENERATE_RANDOM_INT", + "num_params": 1, + "short_desc": "Returns a random integer between 0 and 32767 (SA) or 65535 (III & VC)" + }, + { + "input": [ + { + "name": "pedType", + "type": "PedType" + }, + { + "name": "modelId", + "type": "model_char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Char", + "id": "009A", + "member": "Create", + "name": "CREATE_CHAR", + "num_params": 6, + "short_desc": "Creates a character at the specified location, with the specified model and pedtype" + }, + { + "attrs": { + "is_destructor": true + }, + "class": "Char", + "id": "009B", + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "member": "Delete", + "name": "DELETE_CHAR", + "num_params": 1, + "short_desc": "Removes the character from the game and mission cleanup list, freeing game memory" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "direction", + "type": "WanderDirection" + } + ], + "class": "Char", + "id": "009C", + "member": "WanderDir", + "name": "CHAR_WANDER_DIR", + "num_params": 2, + "short_desc": "Sets the character's wander direction" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "009D", + "name": "CHAR_WANDER_RANGE", + "num_params": 0 + }, + { + "id": "009E", + "name": "COMMAND_009E", + "num_params": 6, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "009F", + "member": "SetIdle", + "name": "CHAR_SET_IDLE", + "num_params": 1, + "short_desc": "Sets the character's objective to stay idle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "class": "Char", + "id": "00A0", + "member": "GetCoordinates", + "name": "GET_CHAR_COORDINATES", + "num_params": 4, + "short_desc": "Returns the character's coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Char", + "id": "00A1", + "member": "SetCoordinates", + "name": "SET_CHAR_COORDINATES", + "num_params": 4, + "short_desc": "Puts the character at the specified location" + }, + { + "input": [ + { + "name": "handle", + "type": "any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Char", + "id": "00A2", + "member": "IsStillAlive", + "name": "IS_CHAR_STILL_ALIVE", + "num_params": 1, + "short_desc": "Returns true if the handle is a valid character handle who is still alive (opposite of IS_CHAR_DEAD)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00A3", + "member": "IsInArea2D", + "name": "IS_CHAR_IN_AREA_2D", + "num_params": 6, + "short_desc": "Returns true if the character is within the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00A4", + "member": "IsInArea3D", + "name": "IS_CHAR_IN_AREA_3D", + "num_params": 8, + "short_desc": "Returns true if the character is within the specified 3D area" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_vehicle" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Car", + "id": "00A5", + "member": "Create", + "name": "CREATE_CAR", + "num_params": 5, + "short_desc": "Creates a vehicle at the specified location, with the specified model" + }, + { + "attrs": { + "is_destructor": true + }, + "class": "Car", + "id": "00A6", + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "member": "Delete", + "name": "DELETE_CAR", + "num_params": 1, + "short_desc": "Removes the vehicle from the game" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Car", + "id": "00A7", + "member": "GotoCoordinates", + "name": "CAR_GOTO_COORDINATES", + "num_params": 4, + "short_desc": "Makes the AI drive to the specified location by any means" + }, + { + "class": "Car", + "id": "00A8", + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "member": "WanderRandomly", + "name": "CAR_WANDER_RANDOMLY", + "num_params": 1, + "short_desc": "Clears any current tasks the vehicle has and makes it drive around aimlessly" + }, + { + "class": "Car", + "id": "00A9", + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "member": "SetIdle", + "name": "CAR_SET_IDLE", + "num_params": 1, + "short_desc": "Sets the car's mission to idle (MISSION_NONE), stopping any driving activity" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "class": "Car", + "id": "00AA", + "member": "GetCoordinates", + "name": "GET_CAR_COORDINATES", + "num_params": 4, + "short_desc": "Returns the vehicle's coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Car", + "id": "00AB", + "member": "SetCoordinates", + "name": "SET_CAR_COORDINATES", + "num_params": 4, + "short_desc": "Puts the vehicle at the specified location" + }, + { + "input": [ + { + "name": "handle", + "type": "any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Car", + "id": "00AC", + "member": "IsStillAlive", + "name": "IS_CAR_STILL_ALIVE", + "num_params": 1, + "short_desc": "Returns true if the handle is a valid vehicle handle that is still alive (opposite of IS_CAR_DEAD)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "maxSpeed", + "type": "float" + } + ], + "class": "Car", + "id": "00AD", + "member": "SetCruiseSpeed", + "name": "SET_CAR_CRUISE_SPEED", + "num_params": 2, + "short_desc": "Sets the vehicle's max speed" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "drivingStyle", + "type": "DrivingMode" + } + ], + "class": "Car", + "id": "00AE", + "member": "SetDrivingStyle", + "name": "SET_CAR_DRIVING_STYLE", + "num_params": 2, + "short_desc": "Sets the behavior of the vehicle's AI driver" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "carMission", + "type": "CarMission" + } + ], + "class": "Car", + "id": "00AF", + "member": "SetMission", + "name": "SET_CAR_MISSION", + "num_params": 2, + "short_desc": "Sets the mission of the vehicle's AI driver" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "00B0", + "member": "IsInArea2D", + "name": "IS_CAR_IN_AREA_2D", + "num_params": 6, + "short_desc": "Returns true if the vehicle is located within the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "00B1", + "member": "IsInArea3D", + "name": "IS_CAR_IN_AREA_3D", + "num_params": 8, + "short_desc": "Returns true if the vehicle is located within the specified 3D area" + }, + { + "attrs": { + "is_nop": true + }, + "id": "00B2", + "name": "SPECIAL_0", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "00B3", + "name": "SPECIAL_1", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "00B4", + "name": "SPECIAL_2", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "00B5", + "name": "SPECIAL_3", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "00B6", + "name": "SPECIAL_4", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "00B7", + "name": "SPECIAL_5", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "00B8", + "name": "SPECIAL_6", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "00B9", + "name": "SPECIAL_7", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "time", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "00BA", + "member": "PrintBig", + "name": "PRINT_BIG", + "num_params": 3, + "short_desc": "Displays a styled message for the specified time" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "time", + "type": "int" + }, + { + "name": "flag", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "00BB", + "member": "Print", + "name": "PRINT", + "num_params": 3, + "short_desc": "Displays a message positioned on the bottom of the screen for the specified time" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "time", + "type": "int" + }, + { + "name": "flag", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "00BC", + "member": "PrintNow", + "name": "PRINT_NOW", + "num_params": 3, + "short_desc": "Displays a message positioned on the bottom of the screen for the specified time" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "time", + "type": "int" + }, + { + "name": "flag", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "00BD", + "member": "PrintSoon", + "name": "PRINT_SOON", + "num_params": 3, + "short_desc": "Displays a message for the specified time when there are no other messages being printed" + }, + { + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "00BE", + "member": "ClearPrints", + "name": "CLEAR_PRINTS", + "num_params": 0, + "short_desc": "Clears all priority text and some styles of big texts" + }, + { + "output": [ + { + "name": "hours", + "type": "int", + "source": "var_any" + }, + { + "name": "minutes", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Clock", + "id": "00BF", + "member": "GetTimeOfDay", + "name": "GET_TIME_OF_DAY", + "num_params": 2, + "short_desc": "Returns the number of hours and minutes passed since midnight" + }, + { + "input": [ + { + "name": "hours", + "type": "int" + }, + { + "name": "minutes", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Clock", + "id": "00C0", + "member": "SetTimeOfDay", + "name": "SET_TIME_OF_DAY", + "num_params": 2, + "short_desc": "Sets the current in-game time" + }, + { + "input": [ + { + "name": "hours", + "type": "int" + }, + { + "name": "minutes", + "type": "int" + } + ], + "output": [ + { + "name": "minutesLeft", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Clock", + "id": "00C1", + "member": "GetMinutesToTimeOfDay", + "name": "GET_MINUTES_TO_TIME_OF_DAY", + "num_params": 3, + "short_desc": "Returns the number of minutes left until the clock matches the time specified" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "radius", + "type": "float" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Camera", + "id": "00C2", + "member": "IsPointOnScreen", + "name": "IS_POINT_ON_SCREEN", + "num_params": 4, + "short_desc": "Returns true if any part of the radius of the specified point is visible on screen" + }, + { + "attrs": { + "is_static": true + }, + "class": "Debugger", + "id": "00C3", + "member": "On", + "name": "DEBUG_ON", + "num_params": 0, + "short_desc": "Enables the debug mode" + }, + { + "attrs": { + "is_static": true + }, + "class": "Debugger", + "id": "00C4", + "member": "Off", + "name": "DEBUG_OFF", + "num_params": 0, + "short_desc": "Disables the debug mode" + }, + { + "attrs": { + "is_condition": true, + "is_keyword": true + }, + "id": "00C5", + "name": "RETURN_TRUE", + "num_params": 0, + "short_desc": "Returns a value of true" + }, + { + "attrs": { + "is_condition": true, + "is_keyword": true + }, + "id": "00C6", + "name": "RETURN_FALSE", + "num_params": 0, + "short_desc": "Returns a value of false" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00C7", + "name": "VAR_INT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00C8", + "name": "VAR_FLOAT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00C9", + "name": "LVAR_INT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00CA", + "name": "LVAR_FLOAT", + "num_params": 0 + }, + { + "id": "00CB", + "name": "{", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "00CC", + "name": "}", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00CD", + "name": "REPEAT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00CE", + "name": "ENDREPEAT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00CF", + "name": "IF_INTERNAL", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00D0", + "name": "IFNOT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00D1", + "name": "ELSE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00D2", + "name": "ENDIF", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00D3", + "name": "WHILE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00D4", + "name": "WHILENOT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "00D5", + "name": "ENDWHILE", + "num_params": 0 + }, + { + "id": "00D6", + "name": "COMMAND_00D6", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "00D7", + "name": "COMMAND_00D7", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "00D8", + "name": "COMMAND_00D8", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "00D9", + "name": "COMMAND_00D9", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "00DA", + "name": "COMMAND_00DA", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "", + "type": "int" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "00DB", + "name": "IF", + "num_params": 1, + "short_desc": "Begins a conditional statement with the specified number of conditions" + }, + { + "input": [ + { + "name": "", + "type": "label" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "00DC", + "name": "LAUNCH_MISSION", + "num_params": 1, + "short_desc": "Launches a submission script" + }, + { + "id": "00DD", + "name": "MISSION_HAS_FINISHED", + "num_params": 0, + "short_desc": "Resets multiple settings that are usually set during missions and in some scripts", + "class": "Mission", + "member": "Finish", + "attrs": { + "is_static": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "class": "Char", + "id": "00DE", + "member": "StoreCarIsIn", + "name": "STORE_CAR_CHAR_IS_IN", + "num_params": 2, + "short_desc": "Returns the current vehicle of the character and adds it to the mission cleanup list" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "class": "Player", + "id": "00DF", + "member": "StoreCarIsIn", + "name": "STORE_CAR_PLAYER_IS_IN", + "num_params": 2, + "short_desc": "Returns the current vehicle of the player and adds it to the mission cleanup list" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00E0", + "member": "IsInCar", + "name": "IS_CHAR_IN_CAR", + "num_params": 2, + "short_desc": "Returns true if the character is in the specified vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00E1", + "member": "IsInCar", + "name": "IS_PLAYER_IN_CAR", + "num_params": 2, + "short_desc": "Returns true if the player is in the specified vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00E2", + "member": "IsInModel", + "name": "IS_CHAR_IN_MODEL", + "num_params": 2, + "short_desc": "Returns true if the character is driving a vehicle with the specified model" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00E3", + "member": "IsInModel", + "name": "IS_PLAYER_IN_MODEL", + "num_params": 2, + "short_desc": "Returns true if the player is driving a vehicle with the specified model" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00E4", + "member": "IsInAnyCar", + "name": "IS_CHAR_IN_ANY_CAR", + "num_params": 1, + "short_desc": "Returns true if the character has a vehicle, even if they are not actually sat inside it (opening and closing the door)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00E5", + "member": "IsInAnyCar", + "name": "IS_PLAYER_IN_ANY_CAR", + "num_params": 1, + "short_desc": "Returns true if the player has a vehicle, even if they are not actually sat inside it (opening and closing the door)" + }, + { + "input": [ + { + "name": "pad", + "type": "PadId" + }, + { + "name": "buttonId", + "type": "Button" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Pad", + "id": "00E6", + "member": "IsButtonPressed", + "name": "IS_BUTTON_PRESSED", + "num_params": 2, + "short_desc": "Returns true if the pad's button has been pressed" + }, + { + "id": "00E7", + "name": "GET_PAD_STATE", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00E8", + "member": "LocateAnyMeans2D", + "name": "LOCATE_PLAYER_ANY_MEANS_2D", + "num_params": 6, + "short_desc": "Returns true if the player is within the 2D radius of the coordinates point" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00E9", + "member": "LocateOnFoot2D", + "name": "LOCATE_PLAYER_ON_FOOT_2D", + "num_params": 6, + "short_desc": "Returns true if the player is within the 2D radius of the coordinates point on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00EA", + "member": "LocateInCar2D", + "name": "LOCATE_PLAYER_IN_CAR_2D", + "num_params": 6, + "short_desc": "Returns true if the player is within the 2D radius of the coordinates point in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00EB", + "member": "LocateStoppedAnyMeans2D", + "name": "LOCATE_STOPPED_PLAYER_ANY_MEANS_2D", + "num_params": 6, + "short_desc": "Returns true if the player stopped within the 2D radius of the coordinates point" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00EC", + "member": "LocateStoppedOnFoot2D", + "name": "LOCATE_STOPPED_PLAYER_ON_FOOT_2D", + "num_params": 6, + "short_desc": "Returns true if the player stopped within the 2D radius of the coordinates point on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00ED", + "member": "LocateStoppedInCar2D", + "name": "LOCATE_STOPPED_PLAYER_IN_CAR_2D", + "num_params": 6, + "short_desc": "Returns true if the player stopped within the 2D radius of the coordinates point in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00EE", + "member": "LocateAnyMeansChar2D", + "name": "LOCATE_PLAYER_ANY_MEANS_CHAR_2D", + "num_params": 5, + "short_desc": "Returns true if the player is within the 2D radius of the specified character" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00EF", + "member": "LocateOnFootChar2D", + "name": "LOCATE_PLAYER_ON_FOOT_CHAR_2D", + "num_params": 5, + "short_desc": "Returns true if the player is within the 2D radius of the specified character on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00F0", + "member": "LocateInCarChar2D", + "name": "LOCATE_PLAYER_IN_CAR_CHAR_2D", + "num_params": 5, + "short_desc": "Returns true if the player is within the 2D radius of the specified character in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "Sphere" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F1", + "member": "LocateAnyMeans2D", + "name": "LOCATE_CHAR_ANY_MEANS_2D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 2D radius of the coordinates point" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F2", + "member": "LocateOnFoot2D", + "name": "LOCATE_CHAR_ON_FOOT_2D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 2D radius of the coordinates point on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F3", + "member": "LocateInCar2D", + "name": "LOCATE_CHAR_IN_CAR_2D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 2D radius of the coordinates point in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F4", + "member": "LocateStoppedAnyMeans2D", + "name": "LOCATE_STOPPED_CHAR_ANY_MEANS_2D", + "num_params": 6, + "short_desc": "Returns true if the character stopped within the 2D radius of the coordinates point" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F5", + "member": "LocateStoppedOnFoot2D", + "name": "LOCATE_STOPPED_CHAR_ON_FOOT_2D", + "num_params": 6, + "short_desc": "Returns true if the character stopped within the 2D radius of the coordinates point on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F6", + "member": "LocateStoppedInCar2D", + "name": "LOCATE_STOPPED_CHAR_IN_CAR_2D", + "num_params": 6, + "short_desc": "Returns true if the character stopped within the 2D radius of the coordinates point in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F7", + "member": "LocateAnyMeansChar2D", + "name": "LOCATE_CHAR_ANY_MEANS_CHAR_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the other character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F8", + "member": "LocateOnFootChar2D", + "name": "LOCATE_CHAR_ON_FOOT_CHAR_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the other character on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "otherChar", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "00F9", + "member": "LocateInCarChar2D", + "name": "LOCATE_CHAR_IN_CAR_CHAR_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the other character in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00FA", + "member": "LocateAnyMeans3D", + "name": "LOCATE_PLAYER_ANY_MEANS_3D", + "num_params": 8, + "short_desc": "Returns true if the player is within the specified 3D area" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00FB", + "member": "LocateOnFoot3D", + "name": "LOCATE_PLAYER_ON_FOOT_3D", + "num_params": 8, + "short_desc": "Returns true if the player is within the specified 3D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00FC", + "member": "LocateInCar3D", + "name": "LOCATE_PLAYER_IN_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the player is within the specified 3D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00FD", + "member": "LocateStoppedAnyMeans3D", + "name": "LOCATE_STOPPED_PLAYER_ANY_MEANS_3D", + "num_params": 8, + "short_desc": "Returns true if the player stopped within the specified 3D area" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00FE", + "member": "LocateStoppedOnFoot3D", + "name": "LOCATE_STOPPED_PLAYER_ON_FOOT_3D", + "num_params": 8, + "short_desc": "Returns true if the player stopped within the specified 3D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "00FF", + "member": "LocateStoppedInCar3D", + "name": "LOCATE_STOPPED_PLAYER_IN_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the player stopped within the specified 3D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0100", + "member": "LocateAnyMeansChar3D", + "name": "LOCATE_PLAYER_ANY_MEANS_CHAR_3D", + "num_params": 6, + "short_desc": "Returns true if the player is nearby the specified character" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0101", + "member": "LocateOnFootChar3D", + "name": "LOCATE_PLAYER_ON_FOOT_CHAR_3D", + "num_params": 6, + "short_desc": "Returns true if the player is nearby the specified character on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0102", + "member": "LocateInCarChar3D", + "name": "LOCATE_PLAYER_IN_CAR_CHAR_3D", + "num_params": 6, + "short_desc": "Returns true if the player is nearby the specified character in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0103", + "member": "LocateAnyMeans3D", + "name": "LOCATE_CHAR_ANY_MEANS_3D", + "num_params": 8, + "short_desc": "Returns true if the character is within the 3D radius of the coordinates point" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0104", + "member": "LocateOnFoot3D", + "name": "LOCATE_CHAR_ON_FOOT_3D", + "num_params": 8, + "short_desc": "Returns true if the character is within the 3D radius of the coordinates point on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0105", + "member": "LocateInCar3D", + "name": "LOCATE_CHAR_IN_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the character is within the 3D radius of the coordinates point in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0106", + "member": "LocateStoppedAnyMeans3D", + "name": "LOCATE_STOPPED_CHAR_ANY_MEANS_3D", + "num_params": 8, + "short_desc": "Returns true if the character stopped within the 3D radius of the coordinates point" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0107", + "member": "LocateStoppedOnFoot3D", + "name": "LOCATE_STOPPED_CHAR_ON_FOOT_3D", + "num_params": 8, + "short_desc": "Returns true if the character stopped within the 3D radius of the coordinates point on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0108", + "member": "LocateStoppedInCar3D", + "name": "LOCATE_STOPPED_CHAR_IN_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the character stopped within the 3D radius of the coordinates point in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0109", + "member": "LocateAnyMeansChar3D", + "name": "LOCATE_CHAR_ANY_MEANS_CHAR_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the other character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "010A", + "member": "LocateOnFootChar3D", + "name": "LOCATE_CHAR_ON_FOOT_CHAR_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the other character on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "010B", + "member": "LocateInCarChar3D", + "name": "LOCATE_CHAR_IN_CAR_CHAR_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the other character in a vehicle" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_object" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Object", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Object", + "id": "010C", + "member": "Create", + "name": "CREATE_OBJECT", + "num_params": 5, + "short_desc": "Creates an object at the specified location, with the specified model" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "attrs": { + "is_destructor": true + }, + "class": "Object", + "id": "010D", + "member": "Delete", + "name": "DELETE_OBJECT", + "num_params": 1, + "short_desc": "Destroys the object, freeing game memory" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "money", + "type": "int" + } + ], + "class": "Player", + "id": "010E", + "member": "AddScore", + "name": "ADD_SCORE", + "num_params": 2, + "short_desc": "Adds to the player's money" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "money", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "010F", + "member": "IsScoreGreater", + "name": "IS_SCORE_GREATER", + "num_params": 2, + "short_desc": "Returns true if the player's money is over the specified value" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "money", + "type": "int", + "source": "var_any" + } + ], + "class": "Player", + "id": "0110", + "member": "StoreScore", + "name": "STORE_SCORE", + "num_params": 2, + "short_desc": "Returns the player's money" + }, + { + "id": "0111", + "name": "COMMAND_0111", + "num_params": 6, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "wantedLevel", + "type": "int" + } + ], + "class": "Player", + "id": "0112", + "member": "AlterWantedLevel", + "name": "ALTER_WANTED_LEVEL", + "num_params": 2, + "short_desc": "Sets the player's wanted level" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "wantedLevel", + "type": "int" + } + ], + "class": "Player", + "id": "0113", + "member": "AlterWantedLevelNoDrop", + "name": "ALTER_WANTED_LEVEL_NO_DROP", + "num_params": 2, + "short_desc": "Sets the player's wanted level if the specified level is higher than the current one" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "wantedLevel", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0114", + "member": "IsWantedLevelGreater", + "name": "IS_WANTED_LEVEL_GREATER", + "num_params": 2, + "short_desc": "Returns true if the player's wanted level is over the specified value" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "class": "Player", + "id": "0115", + "member": "ClearWantedLevel", + "name": "CLEAR_WANTED_LEVEL", + "num_params": 1, + "short_desc": "Clears the player's wanted level" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "class": "", + "id": "0116", + "member": "", + "name": "SET_DEATHARREST_STATE", + "num_params": 1, + "short_desc": "Sets the detection of death and arrest during a mission (0112)", + "attrs": { + "is_keyword": true + } + }, + { + "attrs": { + "is_condition": true, + "is_keyword": true + }, + "class": "", + "id": "0117", + "member": "", + "name": "HAS_DEATHARREST_BEEN_EXECUTED", + "num_params": 0, + "short_desc": "Returns true if the player is dead (wasted) or arrested (busted)" + }, + { + "id": "0118", + "name": "ADD_AMMO_TO_PLAYER", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "weaponType", + "type": "WeaponType" + }, + { + "name": "ammo", + "type": "int" + } + ], + "class": "Char", + "id": "0119", + "member": "AddAmmo", + "name": "ADD_AMMO_TO_CHAR", + "num_params": 3, + "short_desc": "Adds the specified amount of ammo to the character's weapon, if the character has the weapon" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "011A", + "name": "ADD_AMMO_TO_CAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "id": "011B", + "name": "IS_PLAYER_STILL_ALIVE", + "num_params": 1, + "attrs": { + "is_condition": true + }, + "class": "Player", + "member": "IsStillAlive", + "short_desc": "Checks if the player is not dead (not wasted), opposite of IS_PLAYER_DEAD" + }, + { + "input": [ + { + "name": "handle", + "type": "any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Player", + "id": "011C", + "member": "IsDead", + "name": "IS_PLAYER_DEAD", + "num_params": 1, + "short_desc": "Returns true if the handle is an invalid player handle or the player is dead (wasted)" + }, + { + "input": [ + { + "name": "handle", + "type": "any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Char", + "id": "011D", + "member": "IsDead", + "name": "IS_CHAR_DEAD", + "num_params": 1, + "short_desc": "Returns true if the handle is an invalid character handle or the character is dead (wasted)" + }, + { + "input": [ + { + "name": "handle", + "type": "any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Car", + "id": "011E", + "member": "IsDead", + "name": "IS_CAR_DEAD", + "num_params": 1, + "short_desc": "Returns true if the handle is an invalid vehicle handle or the vehicle has been destroyed (wrecked)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "pedThreat", + "type": "int" + } + ], + "class": "Char", + "id": "011F", + "member": "SetThreatSearch", + "name": "SET_CHAR_THREAT_SEARCH", + "num_params": 2, + "short_desc": "Sets the character's hostility to other ped types" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0120", + "name": "SET_CHAR_THREAT_REACTION", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0121", + "member": "SetObjNoObj", + "name": "SET_CHAR_OBJ_NO_OBJ", + "num_params": 1, + "short_desc": "Clears the character's current objective" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0122", + "name": "ORDER_DRIVER_OUT_OF_CAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0123", + "name": "ORDER_CHAR_TO_DRIVE_CAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0124", + "name": "ADD_PATROL_POINT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0125", + "name": "IS_PLAYER_IN_GANGZONE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "zone", + "type": "zone_key" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0126", + "member": "IsInZone", + "name": "IS_PLAYER_IN_ZONE", + "num_params": 2, + "short_desc": "Returns true if the player is in the specified map zone" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0127", + "member": "IsPressingHorn", + "name": "IS_PLAYER_PRESSING_HORN", + "num_params": 1, + "short_desc": "Returns true if the player is honking the horn in a car" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "player", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0128", + "member": "HasSpottedPlayer", + "name": "HAS_CHAR_SPOTTED_PLAYER", + "num_params": 2, + "short_desc": "Returns true if the character has seen the specified player" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0129", + "name": "ORDER_CHAR_TO_BACKDOOR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "012A", + "name": "ADD_CHAR_TO_GANG", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "012B", + "member": "IsObjectivePassed", + "name": "IS_CHAR_OBJECTIVE_PASSED", + "num_params": 1, + "short_desc": "Returns true if the character has completed their objective" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "012C", + "name": "SET_CHAR_DRIVE_AGGRESSION", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "012D", + "name": "SET_CHAR_MAX_DRIVESPEED", + "num_params": 0 + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "pedType", + "type": "PedType" + }, + { + "name": "modelId", + "type": "model_char" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Char", + "id": "012E", + "member": "CreateInsideCar", + "name": "CREATE_CHAR_INSIDE_CAR", + "num_params": 4, + "short_desc": "Creates a character in the driver's seat of the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Player", + "id": "012F", + "member": "WarpFromCarToCoord", + "name": "WARP_PLAYER_FROM_CAR_TO_COORD", + "num_params": 4, + "short_desc": "Puts the player at the specified location, removing them from any vehicle they're in" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0130", + "name": "MAKE_CHAR_DO_NOTHING", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0131", + "name": "SET_CHAR_INVINCIBLE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0132", + "name": "SET_PLAYER_INVINCIBLE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0133", + "name": "SET_CHAR_GRAPHIC_TYPE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0134", + "name": "SET_PLAYER_GRAPHIC_TYPE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0135", + "member": "HasBeenArrested", + "name": "HAS_PLAYER_BEEN_ARRESTED", + "num_params": 1, + "short_desc": "Returns true if the specified player is being arrested (busted)" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0136", + "name": "STOP_CHAR_DRIVING", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0137", + "name": "KILL_CHAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0138", + "name": "SET_FAVOURITE_CAR_MODEL_FOR_CHAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0139", + "name": "SET_CHAR_OCCUPATION", + "num_params": 0 + }, + { + "id": "013A", + "name": "CHANGE_CAR_LOCK", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "013B", + "name": "SHAKE_CAM_WITH_POINT", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "013C", + "member": "IsModel", + "name": "IS_CAR_MODEL", + "num_params": 2, + "short_desc": "Returns true if the vehicle has the specified model" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "013D", + "name": "IS_CAR_REMAP", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "013E", + "name": "HAS_CAR_JUST_SUNK", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "013F", + "name": "SET_CAR_NO_COLLIDE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0140", + "name": "IS_CAR_DEAD_IN_AREA_2D", + "num_params": 0 + }, + { + "id": "0141", + "name": "IS_CAR_DEAD_IN_AREA_3D", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0142", + "name": "IS_TRAILER_ATTACHED", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0143", + "name": "IS_CAR_ON_TRAILER", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0144", + "name": "HAS_CAR_GOT_WEAPON", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0145", + "name": "PARK", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0146", + "name": "HAS_PARK_FINISHED", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0147", + "name": "KILL_ALL_PASSENGERS", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0148", + "name": "SET_CAR_BULLETPROOF", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0149", + "name": "SET_CAR_FLAMEPROOF", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "014A", + "name": "SET_CAR_ROCKETPROOF", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "014B", + "name": "IS_CARBOMB_ACTIVE", + "num_params": 0 + }, + { + "id": "014C", + "name": "COMMAND_014C", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "014D", + "name": "PUT_CAR_ON_TRAILER", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "014E", + "member": "IsCrushed", + "name": "IS_CAR_CRUSHED", + "num_params": 1, + "short_desc": "Returns true if the specified vehicle has been crushed by the car crusher" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "014F", + "name": "CREATE_GANG_CAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "heading", + "type": "float" + }, + { + "name": "modelId", + "type": "model_vehicle" + }, + { + "name": "primaryColor", + "type": "int" + }, + { + "name": "secondaryColor", + "type": "int" + }, + { + "name": "forceSpawn", + "type": "bool" + }, + { + "name": "alarmChance", + "type": "int" + }, + { + "name": "doorLockChance", + "type": "int" + }, + { + "name": "minDelay", + "type": "int" + }, + { + "name": "maxDelay", + "type": "int" + } + ], + "output": [ + { + "name": "handle", + "type": "CarGenerator", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "CarGenerator", + "id": "0150", + "member": "Create", + "name": "CREATE_CAR_GENERATOR", + "num_params": 13, + "short_desc": "Initializes a parked car generator" + }, + { + "input": [ + { + "name": "self", + "type": "CarGenerator" + }, + { + "name": "amount", + "type": "int" + } + ], + "class": "CarGenerator", + "id": "0151", + "member": "Switch", + "name": "SWITCH_CAR_GENERATOR", + "num_params": 2, + "short_desc": "Specifies the number of times the car generator spawns a car (101 - infinite)" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0152", + "name": "ADD_PAGER_MESSAGE", + "num_params": 0 + }, + { + "id": "0153", + "name": "COMMAND_0153", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "timer", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "0154", + "member": "ClearTimer", + "name": "CLEAR_ONSCREEN_TIMER", + "num_params": 1, + "short_desc": "Removes the onscreen timer" + }, + { + "input": [ + { + "name": "counter", + "type": "int", + "source": "var_global" + }, + { + "name": "display", + "type": "CounterDisplay" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "0155", + "member": "DisplayCounter", + "name": "DISPLAY_ONSCREEN_COUNTER", + "num_params": 2, + "short_desc": "Displays an onscreen counter, either shown in numbers or as a bar" + }, + { + "input": [ + { + "name": "counter", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "0156", + "member": "ClearCounter", + "name": "CLEAR_ONSCREEN_COUNTER", + "num_params": 1, + "short_desc": "Removes the onscreen counter (0150 or 03C4)" + }, + { + "id": "0157", + "name": "COMMAND_0157", + "num_params": 13, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + }, + { + "name": "_p7", + "type": "any" + }, + { + "name": "_p8", + "type": "any" + }, + { + "name": "_p9", + "type": "any" + }, + { + "name": "_p10", + "type": "any" + }, + { + "name": "_p11", + "type": "any" + }, + { + "name": "_p12", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0158", + "name": "IS_CHAR_IN_GANG_ZONE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "zone", + "type": "zone_key" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0159", + "member": "IsInZone", + "name": "IS_CHAR_IN_ZONE", + "num_params": 2, + "short_desc": "Returns true if the character is in the specified map zone" + }, + { + "input": [ + { + "name": "zone", + "type": "zone_key" + }, + { + "name": "dayOrNight", + "type": "DayOrNight" + }, + { + "name": "density", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Zone", + "id": "015A", + "member": "SetCarDensity", + "name": "SET_CAR_DENSITY", + "num_params": 3, + "short_desc": "Sets the traffic density in the specified map zone during the day or at night" + }, + { + "input": [ + { + "name": "zone", + "type": "zone_key" + }, + { + "name": "dayOrNight", + "type": "DayOrNight" + }, + { + "name": "density", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Zone", + "id": "015B", + "member": "SetPedDensity", + "name": "SET_PED_DENSITY", + "num_params": 3, + "short_desc": "Sets the peds density in the specified map zone during the day or at night" + }, + { + "input": [ + { + "name": "player", + "type": "Player" + }, + { + "name": "mode", + "type": "CameraMode" + }, + { + "name": "switchStyle", + "type": "SwitchType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "015C", + "member": "PointAtPlayer", + "name": "POINT_CAMERA_AT_PLAYER", + "num_params": 3, + "short_desc": "Attaches the camera to the specified player" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "mode", + "type": "CameraMode" + }, + { + "name": "switchStyle", + "type": "SwitchType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "015D", + "member": "PointAtCar", + "name": "POINT_CAMERA_AT_CAR", + "num_params": 3, + "short_desc": "Attaches the camera to the specified vehicle" + }, + { + "input": [ + { + "name": "char", + "type": "Char" + }, + { + "name": "mode", + "type": "CameraMode" + }, + { + "name": "switchStyle", + "type": "SwitchType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "015E", + "member": "PointAtChar", + "name": "POINT_CAMERA_AT_CHAR", + "num_params": 3, + "short_desc": "Attaches the camera to the specified character" + }, + { + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "015F", + "member": "Restore", + "name": "RESTORE_CAMERA", + "num_params": 0, + "short_desc": "Restores the camera to its usual position" + }, + { + "id": "0160", + "name": "SHAKE_PAD", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "0161", + "name": "COMMAND_0161", + "num_params": 13, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + }, + { + "name": "_p7", + "type": "any" + }, + { + "name": "_p8", + "type": "any" + }, + { + "name": "_p9", + "type": "any" + }, + { + "name": "_p10", + "type": "any" + }, + { + "name": "_p11", + "type": "any" + }, + { + "name": "_p12", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "scale", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Clock", + "id": "0162", + "member": "SetTimeScale", + "name": "SET_TIME_SCALE", + "num_params": 1, + "short_desc": "Sets the game to run at the specified speed" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0163", + "name": "IS_CAR_IN_AIR", + "num_params": 0 + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRotation", + "type": "float" + }, + { + "name": "yRotation", + "type": "float" + }, + { + "name": "zRotation", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0164", + "member": "SetFixedPosition", + "name": "SET_FIXED_CAMERA_POSITION", + "num_params": 6, + "short_desc": "Sets the camera's position and rotation" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "switchStyle", + "type": "SwitchType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0165", + "member": "PointAtPoint", + "name": "POINT_CAMERA_AT_POINT", + "num_params": 4, + "short_desc": "Points the camera at the specified location and applies the position set by 0159" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "color", + "type": "BlipColor" + }, + { + "name": "display", + "type": "BlipDisplay" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "0166", + "member": "AddForCarOld", + "name": "ADD_BLIP_FOR_CAR_OLD", + "num_params": 4, + "short_desc": "Adds a blip with properties to the vehicle" + }, + { + "input": [ + { + "name": "char", + "type": "Char" + }, + { + "name": "color", + "type": "BlipColor" + }, + { + "name": "display", + "type": "BlipDisplay" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "0167", + "member": "AddForCharOld", + "name": "ADD_BLIP_FOR_CHAR_OLD", + "num_params": 4, + "short_desc": "Adds a blip with properties to the character" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0168", + "name": "ADD_BLIP_FOR_OBJECT_OLD", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Blip" + } + ], + "class": "Blip", + "id": "0169", + "member": "Remove", + "name": "REMOVE_BLIP", + "num_params": 1, + "short_desc": "Removes the blip", + "attrs": { + "is_destructor": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Blip" + }, + { + "name": "color", + "type": "BlipColor" + } + ], + "class": "Blip", + "id": "016A", + "member": "ChangeColor", + "name": "CHANGE_BLIP_COLOUR", + "num_params": 2, + "short_desc": "Sets the blip's color" + }, + { + "input": [ + { + "name": "self", + "type": "Blip" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Blip", + "id": "016B", + "member": "Dim", + "name": "DIM_BLIP", + "num_params": 2, + "short_desc": "Sets whether the blip should appear dimmed" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "colour", + "type": "BlipColor" + }, + { + "name": "display", + "type": "BlipDisplay" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "016C", + "member": "AddForCoordOld", + "name": "ADD_BLIP_FOR_COORD_OLD", + "num_params": 6, + "short_desc": "Adds a blip with properties at the location" + }, + { + "input": [ + { + "name": "self", + "type": "Blip" + }, + { + "name": "size", + "type": "int" + } + ], + "class": "Blip", + "id": "016D", + "member": "ChangeScale", + "name": "CHANGE_BLIP_SCALE", + "num_params": 2, + "short_desc": "Sets the blip's size" + }, + { + "input": [ + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "016E", + "member": "SetFadingColor", + "name": "SET_FADING_COLOUR", + "num_params": 3, + "short_desc": "Sets the RGB color of the fade command (016A)" + }, + { + "input": [ + { + "name": "time", + "type": "int" + }, + { + "name": "direction", + "type": "Fade" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "016F", + "member": "DoFade", + "name": "DO_FADE", + "num_params": 2, + "short_desc": "Fades the screen for the specified time" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Camera", + "id": "0170", + "member": "GetFadingStatus", + "name": "GET_FADING_STATUS", + "num_params": 0, + "short_desc": "Returns true if the screen is fading (016A)" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "heading", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "0171", + "member": "AddHospital", + "name": "ADD_HOSPITAL_RESTART", + "num_params": 4, + "short_desc": "Adds a new location where the player can respawn after death" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "heading", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "0172", + "member": "AddPolice", + "name": "ADD_POLICE_RESTART", + "num_params": 4, + "short_desc": "Adds a new location where the player can respawn after arrest" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "heading", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "0173", + "member": "OverrideNext", + "name": "OVERRIDE_NEXT_RESTART", + "num_params": 4, + "short_desc": "Forces this location to be the next respawn location" + }, + { + "id": "0174", + "name": "DRAW_SHADOW", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "heading", + "type": "float", + "source": "var_any" + } + ], + "class": "Player", + "id": "0175", + "member": "GetHeading", + "name": "GET_PLAYER_HEADING", + "num_params": 2, + "short_desc": "Returns the player's heading (z-angle)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "heading", + "type": "float" + } + ], + "class": "Player", + "id": "0176", + "member": "SetHeading", + "name": "SET_PLAYER_HEADING", + "num_params": 2, + "short_desc": "Sets the player's heading (z-angle)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "output": [ + { + "name": "heading", + "type": "float", + "source": "var_any" + } + ], + "class": "Char", + "id": "0177", + "member": "GetHeading", + "name": "GET_CHAR_HEADING", + "num_params": 2, + "short_desc": "Returns the character's heading (z-angle)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "heading", + "type": "float" + } + ], + "class": "Char", + "id": "0178", + "member": "SetHeading", + "name": "SET_CHAR_HEADING", + "num_params": 2, + "short_desc": "Sets the character's heading (z-angle)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "heading", + "type": "float", + "source": "var_any" + } + ], + "class": "Car", + "id": "0179", + "member": "GetHeading", + "name": "GET_CAR_HEADING", + "num_params": 2, + "short_desc": "Returns the vehicle's heading (z-angle)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "heading", + "type": "float" + } + ], + "class": "Car", + "id": "017A", + "member": "SetHeading", + "name": "SET_CAR_HEADING", + "num_params": 2, + "short_desc": "Sets the vehicle's heading (z-angle)" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "output": [ + { + "name": "heading", + "type": "float", + "source": "var_any" + } + ], + "class": "Object", + "id": "017B", + "member": "GetHeading", + "name": "GET_OBJECT_HEADING", + "num_params": 2, + "short_desc": "Returns the object's heading (z-angle)" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "heading", + "type": "float" + } + ], + "class": "Object", + "id": "017C", + "member": "SetHeading", + "name": "SET_OBJECT_HEADING", + "num_params": 2, + "short_desc": "Sets the object's heading (z-angle)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "object", + "type": "Object" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "017D", + "member": "IsTouchingObject", + "name": "IS_PLAYER_TOUCHING_OBJECT", + "num_params": 2, + "short_desc": "Returns true if the player is colliding with the specified object" + }, + { + "id": "017E", + "name": "IS_CHAR_TOUCHING_OBJECT", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "weaponType", + "type": "WeaponType" + }, + { + "name": "ammo", + "type": "int" + } + ], + "class": "Player", + "id": "017F", + "member": "SetAmmo", + "name": "SET_PLAYER_AMMO", + "num_params": 3, + "short_desc": "Sets the amount of ammo the player has in the specified weapon" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "weaponType", + "type": "WeaponType" + }, + { + "name": "ammo", + "type": "int" + } + ], + "id": "0180", + "name": "SET_CHAR_AMMO", + "num_params": 3, + "short_desc": "Sets the amount of ammo the character has in the specified weapon", + "class": "Char", + "member": "SetAmmo" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0181", + "name": "SET_CAR_AMMO", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0182", + "name": "LOAD_CAMERA_SPLINE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0183", + "name": "MOVE_CAMERA_ALONG_SPLINE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0184", + "name": "GET_CAMERA_POSITION_ALONG_SPLINE", + "num_params": 0 + }, + { + "input": [ + { + "name": "flag", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "0185", + "name": "DECLARE_MISSION_FLAG", + "num_params": 1, + "short_desc": "Links the global variable to the specific hardcoded flag that defines is there an active mission or not" + }, + { + "input": [ + { + "name": "contactId", + "type": "Contact" + }, + { + "name": "flag", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "0186", + "name": "DECLARE_MISSION_FLAG_FOR_CONTACT", + "num_params": 2, + "short_desc": "Sets the mission flag var for the specific contact" + }, + { + "id": "0187", + "name": "DECLARE_BASE_BRIEF_ID_FOR_CONTACT", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "health", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0188", + "member": "IsHealthGreater", + "name": "IS_PLAYER_HEALTH_GREATER", + "num_params": 2, + "short_desc": "Returns true if the player's health is over the specified value" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "health", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0189", + "member": "IsHealthGreater", + "name": "IS_CHAR_HEALTH_GREATER", + "num_params": 2, + "short_desc": "Returns true if the character's health is over the specified value" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "health", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "018A", + "member": "IsHealthGreater", + "name": "IS_CAR_HEALTH_GREATER", + "num_params": 2, + "short_desc": "Returns true if the car's health is over the specified value" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "018B", + "member": "AddForCar", + "name": "ADD_BLIP_FOR_CAR", + "num_params": 2, + "short_desc": "Adds a blip and a marker to the vehicle" + }, + { + "input": [ + { + "name": "char", + "type": "Char" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "018C", + "member": "AddForChar", + "name": "ADD_BLIP_FOR_CHAR", + "num_params": 2, + "short_desc": "Adds a blip and a marker to the character" + }, + { + "input": [ + { + "name": "object", + "type": "Object" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "018D", + "member": "AddForObject", + "name": "ADD_BLIP_FOR_OBJECT", + "num_params": 2, + "short_desc": "Adds a blip and a marker to the object" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "018E", + "member": "AddForContactPoint", + "name": "ADD_BLIP_FOR_CONTACT_POINT", + "num_params": 4, + "short_desc": "Adds a blip to the contact point" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "018F", + "member": "AddForCoord", + "name": "ADD_BLIP_FOR_COORD", + "num_params": 4, + "short_desc": "Adds a blip to the location" + }, + { + "input": [ + { + "name": "self", + "type": "Blip" + }, + { + "name": "display", + "type": "BlipDisplay" + } + ], + "class": "Blip", + "id": "0190", + "member": "ChangeDisplay", + "name": "CHANGE_BLIP_DISPLAY", + "num_params": 2, + "short_desc": "Changes the display of the specified blip" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "soundId", + "type": "ScriptSound" + } + ], + "attrs": { + "is_static": true + }, + "class": "Sound", + "id": "0191", + "member": "AddOneOffSound", + "name": "ADD_ONE_OFF_SOUND", + "num_params": 4, + "short_desc": "Plays a sound with the specified ID at the location" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "soundId", + "type": "ScriptSound" + } + ], + "output": [ + { + "name": "handle", + "type": "Sound", + "source": "var_any" + } + ], + "attrs": { + "is_static": true, + "is_constructor": true + }, + "class": "Sound", + "id": "0192", + "member": "AddContinuous", + "name": "ADD_CONTINUOUS_SOUND", + "num_params": 5, + "short_desc": "Creates a continuous sound at the location" + }, + { + "input": [ + { + "name": "self", + "type": "Sound" + } + ], + "class": "Sound", + "id": "0193", + "member": "Remove", + "name": "REMOVE_SOUND", + "num_params": 1, + "short_desc": "Stops the sound" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "0194", + "member": "IsStuckOnRoof", + "name": "IS_CAR_STUCK_ON_ROOF", + "num_params": 1, + "short_desc": "Returns true if the car has been upside down for more than 2 seconds (requires 0190)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "0195", + "member": "AddUpsidedownCheck", + "name": "ADD_UPSIDEDOWN_CAR_CHECK", + "num_params": 1, + "short_desc": "Activates upside-down car check for the car" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "0196", + "member": "RemoveUpsidedownCheck", + "name": "REMOVE_UPSIDEDOWN_CAR_CHECK", + "num_params": 1, + "short_desc": "Deactivates upside-down car check (0190) for the car" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0197", + "member": "SetObjWaitOnFoot", + "name": "SET_CHAR_OBJ_WAIT_ON_FOOT", + "num_params": 1, + "short_desc": "Sets the character's objective to stay idle on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0198", + "member": "SetObjFleeOnFootTillSafe", + "name": "SET_CHAR_OBJ_FLEE_ON_FOOT_TILL_SAFE", + "num_params": 1, + "short_desc": "Sets the character's objective to run away" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Char", + "id": "0199", + "member": "SetObjGuardSpot", + "name": "SET_CHAR_OBJ_GUARD_SPOT", + "num_params": 4, + "short_desc": "Sets the character's objective to guard the specified location" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + } + ], + "class": "Char", + "id": "019A", + "member": "SetObjGuardArea", + "name": "SET_CHAR_OBJ_GUARD_AREA", + "num_params": 5, + "short_desc": "Sets the character's objective to guard the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "019B", + "member": "SetObjWaitInCar", + "name": "SET_CHAR_OBJ_WAIT_IN_CAR", + "num_params": 1, + "short_desc": "Sets the character's objective to stay in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "019C", + "member": "IsInAreaOnFoot2D", + "name": "IS_PLAYER_IN_AREA_ON_FOOT_2D", + "num_params": 6, + "short_desc": "Returns true if the player is within the specified 2D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "019D", + "member": "IsInAreaInCar2D", + "name": "IS_PLAYER_IN_AREA_IN_CAR_2D", + "num_params": 6, + "short_desc": "Returns true if the player is within the specified 2D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "019E", + "member": "IsStoppedInArea2D", + "name": "IS_PLAYER_STOPPED_IN_AREA_2D", + "num_params": 6, + "short_desc": "Returns true if the player stopped within the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "019F", + "member": "IsStoppedInAreaOnFoot2D", + "name": "IS_PLAYER_STOPPED_IN_AREA_ON_FOOT_2D", + "num_params": 6, + "short_desc": "Returns true if the player stopped within the specified 2D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "01A0", + "member": "IsStoppedInAreaInCar2D", + "name": "IS_PLAYER_STOPPED_IN_AREA_IN_CAR_2D", + "num_params": 6, + "short_desc": "Returns true if the player stopped within the specified 2D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "01A1", + "member": "IsInAreaOnFoot3D", + "name": "IS_PLAYER_IN_AREA_ON_FOOT_3D", + "num_params": 8, + "short_desc": "Returns true if the player is within the specified 3D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "01A2", + "member": "IsInAreaInCar3D", + "name": "IS_PLAYER_IN_AREA_IN_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the player is within the specified 3D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "01A3", + "member": "IsStoppedInArea3D", + "name": "IS_PLAYER_STOPPED_IN_AREA_3D", + "num_params": 8, + "short_desc": "Returns true if the player stopped within the specified 3D area" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "01A4", + "member": "IsStoppedInAreaOnFoot3D", + "name": "IS_PLAYER_STOPPED_IN_AREA_ON_FOOT_3D", + "num_params": 8, + "short_desc": "Returns true if the player stopped within the specified 3D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "01A5", + "member": "IsStoppedInAreaInCar3D", + "name": "IS_PLAYER_STOPPED_IN_AREA_IN_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the player stopped within the specified 3D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01A6", + "member": "IsInAreaOnFoot2D", + "name": "IS_CHAR_IN_AREA_ON_FOOT_2D", + "num_params": 6, + "short_desc": "Returns true if the character is within the specified 2D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01A7", + "member": "IsInAreaInCar2D", + "name": "IS_CHAR_IN_AREA_IN_CAR_2D", + "num_params": 6, + "short_desc": "Returns true if the character is within the specified 2D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01A8", + "member": "IsStoppedInArea2D", + "name": "IS_CHAR_STOPPED_IN_AREA_2D", + "num_params": 6, + "short_desc": "Returns true if the character stopped within the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01A9", + "member": "IsStoppedInAreaOnFoot2D", + "name": "IS_CHAR_STOPPED_IN_AREA_ON_FOOT_2D", + "num_params": 6, + "short_desc": "Returns true if the character stopped within the specified 2D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01AA", + "member": "IsStoppedInAreaInCar2D", + "name": "IS_CHAR_STOPPED_IN_AREA_IN_CAR_2D", + "num_params": 6, + "short_desc": "Returns true if the character stopped within the specified 2D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01AB", + "member": "IsInAreaOnFoot3D", + "name": "IS_CHAR_IN_AREA_ON_FOOT_3D", + "num_params": 8, + "short_desc": "Returns true if the character is within the specified 3D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01AC", + "member": "IsInAreaInCar3D", + "name": "IS_CHAR_IN_AREA_IN_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the character is within the specified 3D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01AD", + "member": "IsStoppedInArea3D", + "name": "IS_CHAR_STOPPED_IN_AREA_3D", + "num_params": 8, + "short_desc": "Returns true if the character stopped within the specified 3D area" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01AE", + "member": "IsStoppedInAreaOnFoot3D", + "name": "IS_CHAR_STOPPED_IN_AREA_ON_FOOT_3D", + "num_params": 8, + "short_desc": "Returns true if the character stopped within the specified 3D area on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "01AF", + "member": "IsStoppedInAreaInCar3D", + "name": "IS_CHAR_STOPPED_IN_AREA_IN_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the character stopped within the specified 3D area in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01B0", + "member": "IsStoppedInArea2D", + "name": "IS_CAR_STOPPED_IN_AREA_2D", + "num_params": 6, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01B1", + "member": "IsStoppedInArea3D", + "name": "IS_CAR_STOPPED_IN_AREA_3D", + "num_params": 8, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01B2", + "member": "Locate2D", + "name": "LOCATE_CAR_2D", + "num_params": 6, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01B3", + "member": "LocateStopped2D", + "name": "LOCATE_STOPPED_CAR_2D", + "num_params": 6, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01B4", + "member": "Locate3D", + "name": "LOCATE_CAR_3D", + "num_params": 8, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01B5", + "member": "LocateStopped3D", + "name": "LOCATE_STOPPED_CAR_3D", + "num_params": 8, + "short_desc": "Returns true if the car is stopped in the radius of the specified point" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "weaponType", + "type": "WeaponType" + }, + { + "name": "ammo", + "type": "int" + } + ], + "class": "Player", + "id": "01B6", + "member": "GiveWeapon", + "name": "GIVE_WEAPON_TO_PLAYER", + "num_params": 3, + "short_desc": "Gives the player the weapon with the specified amount of ammo" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "weaponType", + "type": "WeaponType" + }, + { + "name": "ammo", + "type": "int" + } + ], + "class": "Char", + "id": "01B7", + "member": "GiveWeapon", + "name": "GIVE_WEAPON_TO_CHAR", + "num_params": 3, + "short_desc": "Gives the character the weapon with the specified amount of ammo" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01B8", + "name": "GIVE_WEAPON_TO_CAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "01B9", + "member": "SetControl", + "name": "SET_PLAYER_CONTROL", + "num_params": 2, + "short_desc": "Sets whether player's control is enabled" + }, + { + "input": [ + { + "name": "type", + "type": "WeatherType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Weather", + "id": "01BA", + "member": "Force", + "name": "FORCE_WEATHER", + "num_params": 1, + "short_desc": "Forces the game weather to the specified type" + }, + { + "input": [ + { + "name": "type", + "type": "WeatherType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Weather", + "id": "01BB", + "member": "ForceNow", + "name": "FORCE_WEATHER_NOW", + "num_params": 1, + "short_desc": "Forces the upcoming weather to the specified type" + }, + { + "attrs": { + "is_static": true + }, + "class": "Weather", + "id": "01BC", + "member": "Release", + "name": "RELEASE_WEATHER", + "num_params": 0, + "short_desc": "Allows the game to continue its usual weather pattern after using 01B5" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "class": "Player", + "id": "01BD", + "member": "SetCurrentWeapon", + "name": "SET_CURRENT_PLAYER_WEAPON", + "num_params": 2, + "short_desc": "Sets the player's currently held weapon" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "class": "Char", + "id": "01BE", + "member": "SetCurrentWeapon", + "name": "SET_CURRENT_CHAR_WEAPON", + "num_params": 2, + "short_desc": "Sets the character's currently held weapon" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01BF", + "name": "SET_CURRENT_CAR_WEAPON", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "class": "Object", + "id": "01C0", + "member": "GetCoordinates", + "name": "GET_OBJECT_COORDINATES", + "num_params": 4, + "short_desc": "Returns the object's coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Object", + "id": "01C1", + "member": "SetCoordinates", + "name": "SET_OBJECT_COORDINATES", + "num_params": 4, + "short_desc": "Puts the object at the specified location" + }, + { + "output": [ + { + "name": "time", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Clock", + "id": "01C2", + "member": "GetGameTimer", + "name": "GET_GAME_TIMER", + "num_params": 1, + "short_desc": "Returns the time passed in milliseconds since the game started" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Char", + "id": "01C3", + "member": "TurnToFaceCoord", + "name": "TURN_CHAR_TO_FACE_COORD", + "num_params": 4, + "short_desc": "Rotates the character to face the location" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Player", + "id": "01C4", + "member": "TurnToFaceCoord", + "name": "TURN_PLAYER_TO_FACE_COORD", + "num_params": 4, + "short_desc": "Rotates the player to face the location" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "wantedLevel", + "type": "int", + "source": "var_any" + } + ], + "class": "Player", + "id": "01C5", + "member": "StoreWantedLevel", + "name": "STORE_WANTED_LEVEL", + "num_params": 2, + "short_desc": "Returns the player's current wanted level" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01C6", + "member": "IsStopped", + "name": "IS_CAR_STOPPED", + "num_params": 1, + "short_desc": "Returns true if the vehicle is not moving" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "01C7", + "member": "MarkAsNoLongerNeeded", + "name": "MARK_CHAR_AS_NO_LONGER_NEEDED", + "num_params": 1, + "short_desc": "Allows the character to be deleted by the game if necessary, and also removes them from the mission cleanup list, if applicable" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "01C8", + "member": "MarkAsNoLongerNeeded", + "name": "MARK_CAR_AS_NO_LONGER_NEEDED", + "num_params": 1, + "short_desc": "Allows the vehicle to be deleted by the game if necessary, and also removes it from the mission cleanup list, if applicable" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "class": "Object", + "id": "01C9", + "member": "MarkAsNoLongerNeeded", + "name": "MARK_OBJECT_AS_NO_LONGER_NEEDED", + "num_params": 1, + "short_desc": "Allows the object to be deleted by the game if necessary, and also removes it from the mission cleanup list, if applicable" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "01CA", + "member": "DontRemove", + "name": "DONT_REMOVE_CHAR", + "num_params": 1, + "short_desc": "Removes the character from the mission cleanup list, preventing it from being deleted when the mission ends" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "01CB", + "member": "DontRemove", + "name": "DONT_REMOVE_CAR", + "num_params": 1, + "short_desc": "Removes the vehicle from the mission cleanup list, preventing it from being deleted when the mission ends" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "class": "Object", + "id": "01CC", + "member": "DontRemove", + "name": "DONT_REMOVE_OBJECT", + "num_params": 1, + "short_desc": "Removes the object from the mission cleanup list, preventing it from being deleted when the mission ends" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "pedType", + "type": "PedType" + }, + { + "name": "modelId", + "type": "model_char" + }, + { + "name": "seatId", + "type": "int" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Char", + "id": "01CD", + "member": "CreateAsPassenger", + "name": "CREATE_CHAR_AS_PASSENGER", + "num_params": 5, + "short_desc": "Creates a character with the specified model in the passenger seat of the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + } + ], + "class": "Char", + "id": "01CE", + "member": "SetObjKillCharOnFoot", + "name": "SET_CHAR_OBJ_KILL_CHAR_ON_FOOT", + "num_params": 2, + "short_desc": "Sets the character's objective to attack the other character on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Player" + } + ], + "class": "Char", + "id": "01CF", + "member": "SetObjKillPlayerOnFoot", + "name": "SET_CHAR_OBJ_KILL_PLAYER_ON_FOOT", + "num_params": 2, + "short_desc": "Sets the character's objective to attack the player on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + } + ], + "class": "Char", + "id": "01D0", + "member": "SetObjKillCharAnyMeans", + "name": "SET_CHAR_OBJ_KILL_CHAR_ANY_MEANS", + "num_params": 2, + "short_desc": "Sets the character's objective to attack the specified character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Player" + } + ], + "class": "Char", + "id": "01D1", + "member": "SetObjKillPlayerAnyMeans", + "name": "SET_CHAR_OBJ_KILL_PLAYER_ANY_MEANS", + "num_params": 2, + "short_desc": "Sets the character's objective to attack the player" + }, + { + "id": "01D2", + "name": "SET_CHAR_OBJ_FLEE_CHAR_ON_FOOT_TILL_SAFE", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Player" + } + ], + "class": "Char", + "id": "01D3", + "member": "SetObjFleePlayerOnFootTillSafe", + "name": "SET_CHAR_OBJ_FLEE_PLAYER_ON_FOOT_TILL_SAFE", + "num_params": 2, + "short_desc": "Sets the character's objective to escape on foot and stay away from the target player until it is safe" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + } + ], + "class": "Char", + "id": "01D4", + "member": "SetObjFleeCharOnFootAlways", + "name": "SET_CHAR_OBJ_FLEE_CHAR_ON_FOOT_ALWAYS", + "num_params": 2, + "short_desc": "Sets the character's objective to walk away forever and stay away from the target character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Player" + } + ], + "class": "Char", + "id": "01D5", + "member": "SetObjFleePlayerOnFootAlways", + "name": "SET_CHAR_OBJ_FLEE_PLAYER_ON_FOOT_ALWAYS", + "num_params": 2, + "short_desc": "Sets the character's objective to walk away forever and stay away from the target player" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + } + ], + "class": "Char", + "id": "01D6", + "member": "SetObjGotoCharOnFoot", + "name": "SET_CHAR_OBJ_GOTO_CHAR_ON_FOOT", + "num_params": 2, + "short_desc": "Sets the character's objective to walk towards the target character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Player" + } + ], + "class": "Char", + "id": "01D7", + "member": "SetObjGotoPlayerOnFoot", + "name": "SET_CHAR_OBJ_GOTO_PLAYER_ON_FOOT", + "num_params": 2, + "short_desc": "Sets the character's objective to walk towards the target player" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "Char", + "id": "01D8", + "member": "SetObjLeaveCar", + "name": "SET_CHAR_OBJ_LEAVE_CAR", + "num_params": 2, + "short_desc": "Sets the character's objective to leave the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "Char", + "id": "01D9", + "member": "SetObjEnterCarAsPassenger", + "name": "SET_CHAR_OBJ_ENTER_CAR_AS_PASSENGER", + "num_params": 2, + "short_desc": "Sets the character's objective to enter the vehicle as a passenger" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "Char", + "id": "01DA", + "member": "SetObjEnterCarAsDriver", + "name": "SET_CHAR_OBJ_ENTER_CAR_AS_DRIVER", + "num_params": 2, + "short_desc": "Sets the character's objective to enter the vehicle as a driver" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01DB", + "name": "SET_CHAR_OBJ_FOLLOW_CAR_IN_CAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01DC", + "name": "SET_CHAR_OBJ_FIRE_AT_OBJECT_FROM_VEHICLE", + "num_params": 0 + }, + { + "id": "01DD", + "name": "COMMAND_01DD", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "Char", + "id": "01DE", + "member": "SetObjDestroyCar", + "name": "SET_CHAR_OBJ_DESTROY_CAR", + "num_params": 2, + "short_desc": "Sets the character's objective to destroy the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + } + ], + "class": "Char", + "id": "01DF", + "member": "SetObjGotoAreaOnFoot", + "name": "SET_CHAR_OBJ_GOTO_AREA_ON_FOOT", + "num_params": 5, + "short_desc": "Sets the character's objective to walk into the specified 2D area" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01E0", + "name": "SET_CHAR_OBJ_GOTO_AREA_IN_CAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01E1", + "name": "SET_CHAR_OBJ_FOLLOW_CAR_ON_FOOT_WITH_OFFSET", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01E2", + "name": "SET_CHAR_OBJ_GUARD_ATTACK", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leader", + "type": "Char" + } + ], + "class": "Char", + "id": "01E3", + "member": "SetAsLeader", + "name": "SET_CHAR_AS_LEADER", + "num_params": 2, + "short_desc": "Makes the character follow the leader character", + "attrs": { + "is_overload": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leader", + "type": "Player" + } + ], + "class": "Char", + "id": "01E4", + "member": "SetAsLeader", + "name": "SET_PLAYER_AS_LEADER", + "num_params": 2, + "short_desc": "Makes the character follow the leader player", + "attrs": { + "is_overload": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "01E5", + "member": "LeaveGroup", + "name": "LEAVE_GROUP", + "num_params": 1, + "short_desc": "Makes the character stop following the leader (01DE or 01DF)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "routeId", + "type": "int" + }, + { + "name": "mode", + "type": "FollowRoute" + } + ], + "class": "Char", + "id": "01E6", + "member": "SetObjFollowRoute", + "name": "SET_CHAR_OBJ_FOLLOW_ROUTE", + "num_params": 3, + "short_desc": "Sets the character's objective to follow along the specified route" + }, + { + "input": [ + { + "name": "routeId", + "type": "int" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "01E7", + "member": "AddRoutePoint", + "name": "ADD_ROUTE_POINT", + "num_params": 4, + "short_desc": "Adds a new waypoint to the route with the specified id" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "01E8", + "member": "PrintWithNumberBig", + "name": "PRINT_WITH_NUMBER_BIG", + "num_params": 4, + "short_desc": "Displays a styled message in which the first string token~1~ is substituted with the specified number" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "flag", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "01E9", + "member": "PrintWithNumber", + "name": "PRINT_WITH_NUMBER", + "num_params": 4, + "short_desc": "Displays a styled message in which the first string token ~1~ is substituted with the specified number" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "flag", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "01EA", + "member": "PrintWithNumberNow", + "name": "PRINT_WITH_NUMBER_NOW", + "num_params": 4, + "short_desc": "Displays a styled message in which the first string token ~1~ is substituted with the specified number" + }, + { + "id": "01EB", + "name": "COMMAND_01EB", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "01EC", + "member": "SwitchRoadsOn", + "name": "SWITCH_ROADS_ON", + "num_params": 6, + "short_desc": "Allows cars to drive in the specified 3D area" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "01ED", + "member": "SwitchRoadsOff", + "name": "SWITCH_ROADS_OFF", + "num_params": 6, + "short_desc": "Prevents cars from driving on roads in the specified 3D area" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "count", + "type": "int", + "source": "var_any" + } + ], + "class": "Car", + "id": "01EE", + "member": "GetNumberOfPassengers", + "name": "GET_NUMBER_OF_PASSENGERS", + "num_params": 2, + "short_desc": "Returns the number of passengers sitting in the car" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "count", + "type": "int", + "source": "var_any" + } + ], + "class": "Car", + "id": "01EF", + "member": "GetMaximumNumberOfPassengers", + "name": "GET_MAXIMUM_NUMBER_OF_PASSENGERS", + "num_params": 2, + "short_desc": "Returns the maximum number of passengers that could sit in the car" + }, + { + "input": [ + { + "name": "multiplier", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "01F0", + "member": "SetCarDensityMultiplier", + "name": "SET_CAR_DENSITY_MULTIPLIER", + "num_params": 1, + "short_desc": "Sets the quantity of traffic that will spawn in the game" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "01F1", + "member": "SetHeavy", + "name": "SET_CAR_HEAVY", + "num_params": 2, + "short_desc": "Sets whether the car is heavy" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "01F2", + "member": "ClearThreatSearch", + "name": "CLEAR_CHAR_THREAT_SEARCH", + "num_params": 1, + "short_desc": "Resets character's hostility to other ped types (011A)" + }, + { + "input": [ + { + "name": "craneX", + "type": "float" + }, + { + "name": "craneY", + "type": "float" + }, + { + "name": "pickupZoneX1", + "type": "float" + }, + { + "name": "pickupZoneY1", + "type": "float" + }, + { + "name": "pickupZoneX2", + "type": "float" + }, + { + "name": "pickupZoneY2", + "type": "float" + }, + { + "name": "dropOffX", + "type": "float" + }, + { + "name": "dropOffY", + "type": "float" + }, + { + "name": "dropOffZ", + "type": "float" + }, + { + "name": "dropOffAngle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Crane", + "id": "01F3", + "member": "Activate", + "name": "ACTIVATE_CRANE", + "num_params": 10, + "short_desc": "Activates a crane located within 100.0 units of the specified location" + }, + { + "input": [ + { + "name": "craneX", + "type": "float" + }, + { + "name": "craneY", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Crane", + "id": "01F4", + "member": "Deactivate", + "name": "DEACTIVATE_CRANE", + "num_params": 2, + "short_desc": "Deactivates a crane located within 100.0 units of the specified location" + }, + { + "input": [ + { + "name": "wantedLevel", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "01F5", + "member": "SetMaxWantedLevel", + "name": "SET_MAX_WANTED_LEVEL", + "num_params": 1, + "short_desc": "Sets the maximum wanted level the player can receive" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01F6", + "name": "SAVE_VAR_INT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01F7", + "name": "SAVE_VAR_FLOAT", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01F8", + "member": "IsInAirProper", + "name": "IS_CAR_IN_AIR_PROPER", + "num_params": 1, + "short_desc": "Returns true if the vehicle is in the air" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "01F9", + "member": "IsUpsidedown", + "name": "IS_CAR_UPSIDEDOWN", + "num_params": 1, + "short_desc": "Returns true if the car is upside down" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "class": "Player", + "id": "01FA", + "member": "GetChar", + "name": "GET_PLAYER_CHAR", + "num_params": 2, + "short_desc": "Gets the character handle for the specified player" + }, + { + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "01FB", + "member": "CancelOverride", + "name": "CANCEL_OVERRIDE_RESTART", + "num_params": 0, + "short_desc": "Stops the player from spawning at the override location (016E)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "01FC", + "member": "SetIgnorePolice", + "name": "SET_POLICE_IGNORE_PLAYER", + "num_params": 2, + "short_desc": "Sets whether cops should ignore the player regardless of wanted level" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "01FD", + "name": "ADD_PAGER_MESSAGE_WITH_NUMBER", + "num_params": 0 + }, + { + "input": [ + { + "name": "text", + "type": "gxt_key" + }, + { + "name": "weaponType", + "type": "WeaponType" + }, + { + "name": "timeInMs", + "type": "int" + }, + { + "name": "targetsNum", + "type": "int" + }, + { + "name": "targetModel1", + "type": "model_any" + }, + { + "name": "targetModel2", + "type": "model_any" + }, + { + "name": "targetModel3", + "type": "model_any" + }, + { + "name": "targetModel4", + "type": "model_any" + }, + { + "name": "betaSoundsAndMessages", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "KillFrenzy", + "id": "01FE", + "member": "Start", + "name": "START_KILL_FRENZY", + "num_params": 9, + "short_desc": "Starts a rampage" + }, + { + "output": [ + { + "name": "status", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "KillFrenzy", + "id": "01FF", + "member": "ReadStatus", + "name": "READ_KILL_FRENZY_STATUS", + "num_params": 1, + "short_desc": "Returns the status of the current rampage" + }, + { + "input": [ + { + "name": "num", + "type": "float" + } + ], + "output": [ + { + "name": "result", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Math", + "id": "0200", + "member": "Sqrt", + "name": "SQRT", + "num_params": 2, + "short_desc": "Returns the square root of a number" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "handle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0201", + "member": "LocateAnyMeansCar2D", + "name": "LOCATE_PLAYER_ANY_MEANS_CAR_2D", + "num_params": 5, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "handle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0202", + "member": "LocateOnFootCar2D", + "name": "LOCATE_PLAYER_ON_FOOT_CAR_2D", + "num_params": 5, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "handle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0203", + "member": "LocateInCarCar2D", + "name": "LOCATE_PLAYER_IN_CAR_CAR_2D", + "num_params": 5, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "handle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0204", + "member": "LocateAnyMeansCar3D", + "name": "LOCATE_PLAYER_ANY_MEANS_CAR_3D", + "num_params": 6, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "handle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0205", + "member": "LocateOnFootCar3D", + "name": "LOCATE_PLAYER_ON_FOOT_CAR_3D", + "num_params": 6, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "handle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0206", + "member": "LocateInCarCar3D", + "name": "LOCATE_PLAYER_IN_CAR_CAR_3D", + "num_params": 6, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0207", + "member": "LocateAnyMeansCar2D", + "name": "LOCATE_CHAR_ANY_MEANS_CAR_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0208", + "member": "LocateOnFootCar2D", + "name": "LOCATE_CHAR_ON_FOOT_CAR_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the vehicle on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "handle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0209", + "member": "LocateInCarCar2D", + "name": "LOCATE_CHAR_IN_CAR_CAR_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the vehicle in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "020A", + "member": "LocateAnyMeansCar3D", + "name": "LOCATE_CHAR_ANY_MEANS_CAR_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "020B", + "member": "LocateOnFootCar3D", + "name": "LOCATE_CHAR_ON_FOOT_CAR_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the vehicle on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "020C", + "member": "LocateInCarCar3D", + "name": "LOCATE_CHAR_IN_CAR_CAR_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the vehicle in a vehicle" + }, + { + "input": [ + { + "name": "min", + "type": "float" + }, + { + "name": "max", + "type": "float" + } + ], + "output": [ + { + "name": "result", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Math", + "id": "020D", + "member": "RandomFloatInRange", + "name": "GENERATE_RANDOM_FLOAT_IN_RANGE", + "num_params": 3, + "short_desc": "Returns a random float between the specified ranges" + }, + { + "input": [ + { + "name": "min", + "type": "int" + }, + { + "name": "max", + "type": "int" + } + ], + "output": [ + { + "name": "result", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Math", + "id": "020E", + "member": "RandomIntInRange", + "name": "GENERATE_RANDOM_INT_IN_RANGE", + "num_params": 3, + "short_desc": "Returns a random integer between the specified ranges" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "lockStatus", + "type": "CarLock" + } + ], + "class": "Car", + "id": "020F", + "member": "LockDoors", + "name": "LOCK_CAR_DOORS", + "num_params": 2, + "short_desc": "Sets the locked status of the car's doors" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "0210", + "member": "Explode", + "name": "EXPLODE_CAR", + "num_params": 1, + "short_desc": "Makes the vehicle explode" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "type", + "type": "ExplosionType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Fx", + "id": "0211", + "member": "AddExplosion", + "name": "ADD_EXPLOSION", + "num_params": 4, + "short_desc": "Creates an explosion at the point" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "0212", + "member": "IsUpright", + "name": "IS_CAR_UPRIGHT", + "num_params": 1, + "short_desc": "Returns true if the vehicle is in the normal position (upright)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "char", + "type": "Char" + } + ], + "class": "Char", + "id": "0213", + "member": "TurnToFaceChar", + "name": "TURN_CHAR_TO_FACE_CHAR", + "num_params": 2, + "short_desc": "Rotates the character to face the other character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "player", + "type": "Player" + } + ], + "class": "Char", + "id": "0214", + "member": "TurnToFacePlayer", + "name": "TURN_CHAR_TO_FACE_PLAYER", + "num_params": 2, + "short_desc": "Rotates the character to face the player" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "char", + "type": "Char" + } + ], + "class": "Player", + "id": "0215", + "member": "TurnToFaceChar", + "name": "TURN_PLAYER_TO_FACE_CHAR", + "num_params": 2, + "short_desc": "Rotates the player to face the character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "class": "Char", + "id": "0216", + "member": "SetObjGotoCoordOnFoot", + "name": "SET_CHAR_OBJ_GOTO_COORD_ON_FOOT", + "num_params": 3, + "short_desc": "Sets the character's objective to walk at the specified location" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0217", + "name": "SET_CHAR_OBJ_GOTO_COORD_IN_CAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "modelId", + "type": "model_object" + }, + { + "name": "pickupType", + "type": "PickupType" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Pickup", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Pickup", + "id": "0218", + "member": "Create", + "name": "CREATE_PICKUP", + "num_params": 6, + "short_desc": "Creates a pickup with the given model and type" + }, + { + "attrs": { + "is_condition": true + }, + "class": "Pickup", + "id": "0219", + "input": [ + { + "name": "self", + "type": "Pickup" + } + ], + "member": "HasBeenCollected", + "name": "HAS_PICKUP_BEEN_COLLECTED", + "num_params": 1, + "short_desc": "Returns true if specified pickup has been collected" + }, + { + "input": [ + { + "name": "self", + "type": "Pickup" + } + ], + "attrs": { + "is_destructor": true + }, + "class": "Pickup", + "id": "021A", + "member": "Remove", + "name": "REMOVE_PICKUP", + "num_params": 1, + "short_desc": "Destroys the specified pickup, freeing game memory" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "021B", + "member": "SetTaxiLights", + "name": "SET_TAXI_LIGHTS", + "num_params": 2, + "short_desc": "Sets whether the taxi's roof light is on" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "021C", + "member": "PrintBigQ", + "name": "PRINT_BIG_Q", + "num_params": 3, + "short_desc": "Displays a low-priority styled message for the specified time" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "021D", + "member": "PrintWithNumberBigQ", + "name": "PRINT_WITH_NUMBER_BIG_Q", + "num_params": 4, + "short_desc": "Displays a low-priority styled message in which the first string token~1~ is replaced with the specified number" + }, + { + "id": "021E", + "name": "COMMAND_021E", + "num_params": 10, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + }, + { + "name": "_p7", + "type": "any" + }, + { + "name": "_p8", + "type": "any" + }, + { + "name": "_p9", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "021F", + "name": "SET_GARAGE_WITH_CAR_MODEL", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "Garage", + "id": "0220", + "member": "SetTargetCarForMission", + "name": "SET_TARGET_CAR_FOR_MISSION_GARAGE", + "num_params": 2, + "short_desc": "Sets the garage to only accept the specified vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Garage", + "id": "0221", + "member": "IsCarInMission", + "name": "IS_CAR_IN_MISSION_GARAGE", + "num_params": 1, + "short_desc": "Returns true if a vehicle is in the garage" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "0222", + "member": "SetFreeBombs", + "name": "SET_FREE_BOMBS", + "num_params": 1, + "short_desc": "Sets whether the player can use bomb shops for free" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0223", + "name": "SET_POWERPOINT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0224", + "name": "SET_ALL_TAXI_LIGHTS", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "0225", + "member": "IsArmedWithAnyBomb", + "name": "IS_CAR_ARMED_WITH_ANY_BOMB", + "num_params": 1, + "short_desc": "Returns true if the specified vehicle has a car bomb installed" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0226", + "member": "ApplyBrakesToCar", + "name": "APPLY_BRAKES_TO_PLAYERS_CAR", + "num_params": 2, + "short_desc": "Applies brakes to the player's car" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "health", + "type": "int" + } + ], + "class": "Player", + "id": "0227", + "member": "SetHealth", + "name": "SET_PLAYER_HEALTH", + "num_params": 2, + "short_desc": "Sets the player's health" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "health", + "type": "int" + } + ], + "class": "Char", + "id": "0228", + "member": "SetHealth", + "name": "SET_CHAR_HEALTH", + "num_params": 2, + "short_desc": "Sets the character's health" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "health", + "type": "int" + } + ], + "class": "Car", + "id": "0229", + "member": "SetHealth", + "name": "SET_CAR_HEALTH", + "num_params": 2, + "short_desc": "Sets the vehicle's health" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "health", + "type": "int", + "source": "var_any" + } + ], + "class": "Player", + "id": "022A", + "member": "GetHealth", + "name": "GET_PLAYER_HEALTH", + "num_params": 2, + "short_desc": "Returns the player's health" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "output": [ + { + "name": "health", + "type": "int", + "source": "var_any" + } + ], + "class": "Char", + "id": "022B", + "member": "GetHealth", + "name": "GET_CHAR_HEALTH", + "num_params": 2, + "short_desc": "Returns the character's health" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "health", + "type": "int", + "source": "var_any" + } + ], + "class": "Car", + "id": "022C", + "member": "GetHealth", + "name": "GET_CAR_HEALTH", + "num_params": 2, + "short_desc": "Returns the vehicle's health" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "status", + "type": "BombType" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "022D", + "member": "IsArmedWithBomb", + "name": "IS_CAR_ARMED_WITH_BOMB", + "num_params": 2, + "short_desc": "Returns true if the vehicle is armed with a bomb of the specified status" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "primaryColor", + "type": "int" + }, + { + "name": "secondaryColor", + "type": "int" + } + ], + "class": "Car", + "id": "022E", + "member": "ChangeColor", + "name": "CHANGE_CAR_COLOUR", + "num_params": 3, + "short_desc": "Sets the car's primary and secondary colors" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "022F", + "member": "SwitchPedRoadsOn", + "name": "SWITCH_PED_ROADS_ON", + "num_params": 6, + "short_desc": "Allows pedestrians to walk into the specified area" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "0230", + "member": "SwitchPedRoadsOff", + "name": "SWITCH_PED_ROADS_OFF", + "num_params": 6, + "short_desc": "Forbids pedestrians to walk into the specified area" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + } + ], + "class": "Char", + "id": "0231", + "member": "LookAtCharAlways", + "name": "CHAR_LOOK_AT_CHAR_ALWAYS", + "num_params": 2, + "short_desc": "Makes the character to keep looking at the direction of the other character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Player" + } + ], + "class": "Char", + "id": "0232", + "member": "LookAtPlayerAlways", + "name": "CHAR_LOOK_AT_PLAYER_ALWAYS", + "num_params": 2, + "short_desc": "Makes the character to keep looking at the direction of the player" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "target", + "type": "Char" + } + ], + "class": "Player", + "id": "0233", + "member": "LookAtCharAlways", + "name": "PLAYER_LOOK_AT_CHAR_ALWAYS", + "num_params": 2, + "short_desc": "Makes the player to keep looking at the direction of the character" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0234", + "member": "StopLooking", + "name": "STOP_CHAR_LOOKING", + "num_params": 1, + "short_desc": "Makes the character to stop looking at the other character (022C) or player (022D)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "class": "Player", + "id": "0235", + "member": "StopLooking", + "name": "STOP_PLAYER_LOOKING", + "num_params": 1, + "short_desc": "Makes the player to stop looking at the character (022E)" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0236", + "name": "SWITCH_HELICOPTER", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0237", + "name": "SET_GANG_ATTITUDE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0238", + "name": "SET_GANG_GANG_ATTITUDE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0239", + "name": "SET_GANG_PLAYER_ATTITUDE", + "num_params": 0 + }, + { + "id": "023A", + "name": "COMMAND_023A", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "gangId", + "type": "GangType" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Gang", + "id": "023B", + "member": "SetCarModel", + "name": "SET_GANG_CAR_MODEL", + "num_params": 2, + "short_desc": "Sets the car used by members of the specified gang" + }, + { + "input": [ + { + "name": "gangId", + "type": "GangType" + }, + { + "name": "weaponType1", + "type": "WeaponType" + }, + { + "name": "weaponType2", + "type": "WeaponType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Gang", + "id": "023C", + "member": "SetWeapons", + "name": "SET_GANG_WEAPONS", + "num_params": 3, + "short_desc": "Sets the weapons that the specified gang can use" + }, + { + "id": "023D", + "name": "SET_CHAR_OBJ_RUN_TO_AREA", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "class": "Char", + "id": "023E", + "member": "SetObjRunToCoord", + "name": "SET_CHAR_OBJ_RUN_TO_COORD", + "num_params": 3, + "short_desc": "Sets the character's objective to run at the specified location" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "023F", + "name": "IS_PLAYER_TOUCHING_OBJECT_ON_FOOT", + "num_params": 0 + }, + { + "id": "0240", + "name": "IS_CHAR_TOUCHING_OBJECT_ON_FOOT", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "slotId", + "type": "int" + }, + { + "name": "modelName", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "0241", + "member": "LoadSpecialCharacter", + "name": "LOAD_SPECIAL_CHARACTER", + "num_params": 2, + "short_desc": "Requests a special character's model to be loaded into the specified slot" + }, + { + "input": [ + { + "name": "slotId", + "type": "int" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Streaming", + "id": "0242", + "member": "HasSpecialCharacterLoaded", + "name": "HAS_SPECIAL_CHARACTER_LOADED", + "num_params": 1, + "short_desc": "Returns true if the special character's model (023C) is available for creation" + }, + { + "id": "0243", + "name": "FLASH_CAR", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "0244", + "name": "FLASH_CHAR", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "0245", + "name": "FLASH_OBJECT", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0246", + "member": "IsInRemoteMode", + "name": "IS_PLAYER_IN_REMOTE_MODE", + "num_params": 1, + "short_desc": "Returns true if the player is controlling a remote-control vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "bombType", + "type": "BombType" + } + ], + "id": "0247", + "name": "ARM_CAR_WITH_BOMB", + "num_params": 2, + "class": "Car", + "member": "ArmWithBomb", + "short_desc": "Arms the vehicle with a bomb of the given type (In SA, this command only supports the mobile version)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "pedstat", + "type": "PedStat" + } + ], + "class": "Char", + "id": "0248", + "member": "SetPersonality", + "name": "SET_CHAR_PERSONALITY", + "num_params": 2, + "short_desc": "Sets the ped stat of the character" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "0249", + "member": "SetOffset", + "name": "SET_CUTSCENE_OFFSET", + "num_params": 3, + "short_desc": "Sets the position for a cutscene" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "animGroup", + "type": "AnimGroup" + } + ], + "class": "Char", + "id": "024A", + "member": "SetAnimGroup", + "name": "SET_ANIM_GROUP_FOR_CHAR", + "num_params": 2, + "short_desc": "Sets the animation group for the character" + }, + { + "id": "024B", + "name": "SET_ANIM_GROUP_FOR_PLAYER", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "modelId", + "type": "model_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "024C", + "member": "RequestModel", + "name": "REQUEST_MODEL", + "num_params": 1, + "short_desc": "Requests a new model to load" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Streaming", + "id": "024D", + "member": "HasModelLoaded", + "name": "HAS_MODEL_LOADED", + "num_params": 1, + "short_desc": "Returns true if the model is available for creation" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "024E", + "member": "MarkModelAsNoLongerNeeded", + "name": "MARK_MODEL_AS_NO_LONGER_NEEDED", + "num_params": 1, + "short_desc": "Releases the specified model, freeing game memory" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Phone", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Phone", + "id": "024F", + "member": "Grab", + "name": "GRAB_PHONE", + "num_params": 3, + "short_desc": "Gets the phone at the specified X and Y coordinates" + }, + { + "id": "0250", + "name": "SET_REPEATED_PHONE_MESSAGE", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "0251", + "name": "SET_PHONE_MESSAGE", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0252", + "name": "HAS_PHONE_DISPLAYED_MESSAGE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + } + ], + "class": "Phone", + "id": "0253", + "member": "TurnOff", + "name": "TURN_PHONE_OFF", + "num_params": 1, + "short_desc": "Disables the phone from ringing" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "size", + "type": "float" + }, + { + "name": "coronaType", + "type": "CoronaType" + }, + { + "name": "flareType", + "type": "FlareType" + }, + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Fx", + "id": "0254", + "member": "DrawCorona", + "name": "DRAW_CORONA", + "num_params": 9, + "short_desc": "Displays a corona at the specified location" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0255", + "name": "DRAW_LIGHT", + "num_params": 0 + }, + { + "attrs": { + "is_static": true + }, + "class": "Weather", + "id": "0256", + "member": "Store", + "name": "STORE_WEATHER", + "num_params": 0, + "short_desc": "Saves the weather (type, interpolation value and the amount of rain fallen)" + }, + { + "attrs": { + "is_static": true + }, + "class": "Weather", + "id": "0257", + "member": "Restore", + "name": "RESTORE_WEATHER", + "num_params": 0, + "short_desc": "Restores the weather previously saved with 0251" + }, + { + "attrs": { + "is_static": true + }, + "class": "Clock", + "id": "0258", + "member": "Store", + "name": "STORE_CLOCK", + "num_params": 0, + "short_desc": "Saves the current time in game" + }, + { + "attrs": { + "is_static": true + }, + "class": "Clock", + "id": "0259", + "member": "Restore", + "name": "RESTORE_CLOCK", + "num_params": 0, + "short_desc": "Restores the game time to the time when it was saved with 0253" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "heading", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "025A", + "member": "CriticalMission", + "name": "RESTART_CRITICAL_MISSION", + "num_params": 4, + "short_desc": "Fades the screen and puts the player at the location" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "025B", + "member": "IsPlaying", + "name": "IS_PLAYER_PLAYING", + "num_params": 1, + "short_desc": "Returns true if the player hasn't been wasted or busted (the player is still playing)" + }, + { + "id": "025C", + "name": "COMMAND_025C", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "025D", + "name": "COMMAND_025D", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "025E", + "name": "COMMAND_025E", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "025F", + "name": "COMMAND_025F", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "0260", + "name": "COMMAND_0260", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "0261", + "name": "COMMAND_0261", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0262", + "name": "COMMAND_0262", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0263", + "name": "COMMAND_0263", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0264", + "name": "COMMAND_0264", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0265", + "name": "COMMAND_0265", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0266", + "name": "COMMAND_0266", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0267", + "name": "COMMAND_0267", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0268", + "name": "COMMAND_0268", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0269", + "name": "COMMAND_0269", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "026A", + "name": "COMMAND_026A", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "026B", + "name": "COMMAND_026B", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "026C", + "name": "COMMAND_026C", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "026D", + "name": "COMMAND_026D", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "026E", + "name": "COMMAND_026E", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "026F", + "name": "SET_COLL_OBJ_FOLLOW_CAR_IN_CAR", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0270", + "name": "SET_COLL_OBJ_FIRE_AT_OBJECT_FROM_VEHICLE", + "num_params": 0 + }, + { + "id": "0271", + "name": "COMMAND_0271", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0272", + "name": "COMMAND_0272", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0273", + "name": "COMMAND_0273", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "0274", + "name": "COMMAND_0274", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0275", + "name": "SET_COLL_OBJ_FOLLOW_CAR_ON_FOOT_WITH_OFFSET", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0276", + "name": "SET_COLL_OBJ_GUARD_ATTACK", + "num_params": 0 + }, + { + "id": "0277", + "name": "COMMAND_0277", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "0278", + "name": "COMMAND_0278", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0279", + "name": "SET_COLL_OBJ_GOTO_COORD_IN_CAR", + "num_params": 0 + }, + { + "id": "027A", + "name": "COMMAND_027A", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "027B", + "name": "COMMAND_027B", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "027C", + "name": "COMMAND_027C", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "027D", + "name": "COMMAND_027D", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "027E", + "name": "COMMAND_027E", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "027F", + "name": "COMMAND_027F", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0280", + "name": "LOCATE_COLL_ANY_MEANS_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0281", + "name": "LOCATE_COLL_ON_FOOT_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0282", + "name": "LOCATE_COLL_IN_CAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0283", + "name": "LOCATE_STOPPED_COLL_ANY_MEANS_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0284", + "name": "LOCATE_STOPPED_COLL_ON_FOOT_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0285", + "name": "LOCATE_STOPPED_COLL_IN_CAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0286", + "name": "LOCATE_COLL_ANY_MEANS_CHAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0287", + "name": "LOCATE_COLL_ON_FOOT_CHAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0288", + "name": "LOCATE_COLL_IN_CAR_CHAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0289", + "name": "LOCATE_COLL_ANY_MEANS_CAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "028A", + "name": "LOCATE_COLL_ON_FOOT_CAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "028B", + "name": "LOCATE_COLL_IN_CAR_CAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "028C", + "name": "LOCATE_COLL_ANY_MEANS_PLAYER_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "028D", + "name": "LOCATE_COLL_ON_FOOT_PLAYER_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "028E", + "name": "LOCATE_COLL_IN_CAR_PLAYER_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "028F", + "name": "IS_COLL_IN_AREA_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0290", + "name": "IS_COLL_IN_AREA_ON_FOOT_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0291", + "name": "IS_COLL_IN_AREA_IN_CAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0292", + "name": "IS_COLL_STOPPED_IN_AREA_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0293", + "name": "IS_COLL_STOPPED_IN_AREA_ON_FOOT_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0294", + "name": "IS_COLL_STOPPED_IN_AREA_IN_CAR_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0295", + "name": "GET_NUMBER_OF_PEDS_IN_COLL", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0296", + "member": "SetHeedThreats", + "name": "SET_CHAR_HEED_THREATS", + "num_params": 2, + "short_desc": "Makes the character attack whoever attacks them" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0297", + "member": "SetHeedThreats", + "name": "SET_PLAYER_HEED_THREATS", + "num_params": 2, + "short_desc": "Makes the player to attack whoever attacks them" + }, + { + "output": [ + { + "name": "mode", + "type": "ControllerMode", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pad", + "id": "0298", + "member": "GetControllerMode", + "name": "GET_CONTROLLER_MODE", + "num_params": 1, + "short_desc": "Returns the controller mode" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0299", + "member": "SetCanRespray", + "name": "SET_CAN_RESPRAY_CAR", + "num_params": 2, + "short_desc": "Enables or disables the ability to Pay'n'Spray the car" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "029A", + "member": "IsTaxi", + "name": "IS_TAXI", + "num_params": 1, + "short_desc": "Returns true if the vehicle's model is Taxi (110), Cabbie (128), or Borgnine (148)" + }, + { + "input": [ + { + "name": "slotId", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "029B", + "member": "UnloadSpecialCharacter", + "name": "UNLOAD_SPECIAL_CHARACTER", + "num_params": 1, + "short_desc": "Releases the special character (023C), freeing game memory" + }, + { + "attrs": { + "is_static": true + }, + "class": "Player", + "id": "029C", + "member": "ResetNumOfModelsKilled", + "name": "RESET_NUM_OF_MODELS_KILLED_BY_PLAYER", + "num_params": 0, + "short_desc": "Resets the count of how many times the player has destroyed a certain model (0298)" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_any" + } + ], + "output": [ + { + "name": "num", + "type": "int", + "source": "var_any" + } + ], + "class": "Player", + "id": "029D", + "member": "GetNumOfModelsKilled", + "name": "GET_NUM_OF_MODELS_KILLED_BY_PLAYER", + "num_params": 2, + "short_desc": "Returns the amount of times the player has destroyed a specific model", + "attrs": { + "is_static": true + } + }, + { + "id": "029E", + "name": "ACTIVATE_GARAGE", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "029F", + "name": "SWITCH_TAXI_TIMER", + "num_params": 0 + }, + { + "input": [ + { + "name": "modelId", + "type": "model_object" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Object", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Object", + "id": "02A0", + "member": "CreateNoOffset", + "name": "CREATE_OBJECT_NO_OFFSET", + "num_params": 5, + "short_desc": "Creates an object without offset at the location" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "02A1", + "member": "IsBoat", + "name": "IS_BOAT", + "num_params": 1, + "short_desc": "Returns true if the vehicle is a boat" + }, + { + "id": "02A2", + "name": "SET_CHAR_OBJ_GOTO_AREA_ANY_MEANS", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "02A3", + "name": "SET_COLL_OBJ_GOTO_AREA_ANY_MEANS", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02A4", + "member": "IsStopped", + "name": "IS_PLAYER_STOPPED", + "num_params": 1, + "short_desc": "Returns true if the player is not moving" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "id": "02A5", + "name": "IS_CHAR_STOPPED", + "num_params": 1, + "short_desc": "Returns true if the character is not moving", + "attrs": { + "is_condition": true + }, + "class": "Char", + "member": "IsStopped" + }, + { + "input": [ + { + "name": "time", + "type": "int" + }, + { + "name": "allowSkip", + "type": "bool" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "02A6", + "name": "MESSAGE_WAIT", + "num_params": 2, + "short_desc": "Pauses the script execution (same as 0001) while allowing to skip the wait time by pressing X on the pad" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "02A7", + "name": "ADD_PARTICLE_EFFECT", + "num_params": 0 + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "02A8", + "member": "SwitchWidescreen", + "name": "SWITCH_WIDESCREEN", + "num_params": 1, + "short_desc": "Enables widescreen" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "02A9", + "name": "ADD_SPRITE_BLIP_FOR_CAR", + "num_params": 0 + }, + { + "id": "02AA", + "name": "ADD_SPRITE_BLIP_FOR_CHAR", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "02AB", + "name": "ADD_SPRITE_BLIP_FOR_OBJECT", + "num_params": 0 + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "sprite", + "type": "RadarSprite" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "02AC", + "member": "AddSpriteForContactPoint", + "name": "ADD_SPRITE_BLIP_FOR_CONTACT_POINT", + "num_params": 5, + "short_desc": "Adds a sprite blip to the contact point" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "sprite", + "type": "RadarSprite" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "02AD", + "member": "AddSpriteForCoord", + "name": "ADD_SPRITE_BLIP_FOR_COORD", + "num_params": 5, + "short_desc": "Adds a sprite blip to the location" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "02AE", + "member": "SetOnlyDamagedByPlayer", + "name": "SET_CHAR_ONLY_DAMAGED_BY_PLAYER", + "num_params": 2, + "short_desc": "Makes a character immune to everything except the player" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "02AF", + "member": "SetOnlyDamagedByPlayer", + "name": "SET_CAR_ONLY_DAMAGED_BY_PLAYER", + "num_params": 2, + "short_desc": "Makes a vehicle immune to everything except the player" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "bulletProof", + "type": "bool" + }, + { + "name": "fireProof", + "type": "bool" + }, + { + "name": "explosionProof", + "type": "bool" + }, + { + "name": "collisionProof", + "type": "bool" + }, + { + "name": "meleeProof", + "type": "bool" + } + ], + "class": "Char", + "id": "02B0", + "member": "SetProofs", + "name": "SET_CHAR_PROOFS", + "num_params": 6, + "short_desc": "Sets the character's immunities" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "bulletProof", + "type": "bool" + }, + { + "name": "fireProof", + "type": "bool" + }, + { + "name": "explosionProof", + "type": "bool" + }, + { + "name": "collisionProof", + "type": "bool" + }, + { + "name": "meleeProof", + "type": "bool" + } + ], + "class": "Car", + "id": "02B1", + "member": "SetProofs", + "name": "SET_CAR_PROOFS", + "num_params": 6, + "short_desc": "Sets the vehicle's immunities" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02B2", + "member": "IsInAngledArea2D", + "name": "IS_PLAYER_IN_ANGLED_AREA_2D", + "num_params": 7, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02B3", + "member": "IsInAngledAreaOnFoot2D", + "name": "IS_PLAYER_IN_ANGLED_AREA_ON_FOOT_2D", + "num_params": 7, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02B4", + "member": "IsInAngledAreaInCar2D", + "name": "IS_PLAYER_IN_ANGLED_AREA_IN_CAR_2D", + "num_params": 7, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02B5", + "member": "IsStoppedInAngledArea2D", + "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_2D", + "num_params": 7, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02B6", + "member": "IsStoppedInAngledAreaOnFoot2D", + "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_ON_FOOT_2D", + "num_params": 7, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02B7", + "member": "IsStoppedInAngledAreaInCar2D", + "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_IN_CAR_2D", + "num_params": 7, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02B8", + "member": "IsInAngledArea3D", + "name": "IS_PLAYER_IN_ANGLED_AREA_3D", + "num_params": 9, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02B9", + "member": "IsInAngledAreaOnFoot3D", + "name": "IS_PLAYER_IN_ANGLED_AREA_ON_FOOT_3D", + "num_params": 9, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02BA", + "member": "IsInAngledAreaInCar3D", + "name": "IS_PLAYER_IN_ANGLED_AREA_IN_CAR_3D", + "num_params": 9, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02BB", + "member": "IsStoppedInAngledArea3D", + "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_3D", + "num_params": 9, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02BC", + "member": "IsStoppedInAngledAreaOnFoot3D", + "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_ON_FOOT_3D", + "num_params": 9, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02BD", + "member": "IsStoppedInAngledAreaInCar3D", + "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_IN_CAR_3D", + "num_params": 9, + "short_desc": "" + }, + { + "id": "02BE", + "name": "DEACTIVATE_GARAGE", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "id": "02BF", + "name": "GET_NUMBER_OF_CARS_COLLECTED_BY_GARAGE", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "02C0", + "name": "HAS_CAR_BEEN_TAKEN_TO_GARAGE", + "num_params": 0 + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "02C1", + "member": "SetSwatRequired", + "name": "SET_SWAT_REQUIRED", + "num_params": 1, + "short_desc": "Sets patrol cars to Police cars and Enforcers" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "02C2", + "name": "SET_FBI_REQUIRED", + "num_params": 0 + }, + { + "id": "02C3", + "name": "SET_ARMY_REQUIRED", + "num_params": 0, + "attrs": { + "is_unsupported": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "02C4", + "member": "IsInWater", + "name": "IS_CAR_IN_WATER", + "num_params": 1, + "short_desc": "Returns true if the vehicle is submerged in water" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "nodeX", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeY", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeZ", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "02C5", + "member": "GetClosestCharNode", + "name": "GET_CLOSEST_CHAR_NODE", + "num_params": 6, + "short_desc": "Returns the nearest path node from the specified coordinates that a pedestrian can walk on" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "nodeX", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeY", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeZ", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "02C6", + "member": "GetClosestCarNode", + "name": "GET_CLOSEST_CAR_NODE", + "num_params": 6, + "short_desc": "Returns the nearest path note from the specified coordinates that a vehicle can drive on" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Car", + "id": "02C7", + "member": "GotoCoordinatesAccurate", + "name": "CAR_GOTO_COORDINATES_ACCURATE", + "num_params": 4, + "short_desc": "Makes the AI drive to the specified location obeying the traffic rules" + }, + { + "input": [ + { + "name": "_zero", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02C8", + "member": "StartRace", + "name": "START_PACMAN_RACE", + "num_params": 1, + "short_desc": "Creates a predefined collection of donkey magazine pickups" + }, + { + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02C9", + "member": "StartRecord", + "name": "START_PACMAN_RECORD", + "num_params": 0, + "short_desc": "Stores the current player's position for debugging purposes during the pacman race" + }, + { + "output": [ + { + "name": "num", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02CA", + "member": "GetNumberOfPowerPillsEaten", + "name": "GET_NUMBER_OF_POWER_PILLS_EATEN", + "num_params": 1, + "short_desc": "Returns the number of donkey magazine pickups (02C3) collected" + }, + { + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02CB", + "member": "Clear", + "name": "CLEAR_PACMAN", + "num_params": 0, + "short_desc": "Removes all donkey magazine (02C3) and platinum (02C7) pickups" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "distance", + "type": "float" + }, + { + "name": "count", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02CC", + "member": "StartScramble", + "name": "START_PACMAN_SCRAMBLE", + "num_params": 5, + "short_desc": "Creates a collection of platinum pickups nearby the specified location" + }, + { + "output": [ + { + "name": "num", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02CD", + "member": "GetNumberOfPowerPillsCarried", + "name": "GET_NUMBER_OF_POWER_PILLS_CARRIED", + "num_params": 1, + "short_desc": "Returns the number of platinum pickups (02C7) collected in a vehicle" + }, + { + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02CE", + "member": "ClearNumberOfPowerPillsCarried", + "name": "CLEAR_NUMBER_OF_POWER_PILLS_CARRIED", + "num_params": 0, + "short_desc": "Clears the number of platinum pickups (02C7) collected in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "02CF", + "member": "IsOnScreen", + "name": "IS_CAR_ON_SCREEN", + "num_params": 1, + "short_desc": "Returns true if the car is visible" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "02D0", + "member": "IsOnScreen", + "name": "IS_CHAR_ON_SCREEN", + "num_params": 1, + "short_desc": "Returns true if the character is visible" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "02D1", + "member": "IsOnScreen", + "name": "IS_OBJECT_ON_SCREEN", + "num_params": 1, + "short_desc": "Returns true if the object is visible" + }, + { + "input": [ + { + "name": "", + "type": "label" + }, + { + "name": "_unused", + "type": "label" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "02D2", + "name": "GOSUB_FILE", + "num_params": 2, + "short_desc": "Transfers the script execution to the label as a subroutine" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "groundZ", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "02D3", + "member": "GetGroundZFor3DCoord", + "name": "GET_GROUND_Z_FOR_3D_COORD", + "num_params": 4, + "short_desc": "Stores the ground position at the location" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "ScriptFire", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "ScriptFire", + "id": "02D4", + "member": "Create", + "name": "START_SCRIPT_FIRE", + "num_params": 4, + "short_desc": "Creates a script fire at the location" + }, + { + "input": [ + { + "name": "self", + "type": "ScriptFire" + } + ], + "attrs": { + "is_condition": true + }, + "class": "ScriptFire", + "id": "02D5", + "member": "IsExtinguished", + "name": "IS_SCRIPT_FIRE_EXTINGUISHED", + "num_params": 1, + "short_desc": "Returns true if the script fire has been put out" + }, + { + "input": [ + { + "name": "self", + "type": "ScriptFire" + } + ], + "attrs": { + "is_destructor": true + }, + "class": "ScriptFire", + "id": "02D6", + "member": "Remove", + "name": "REMOVE_SCRIPT_FIRE", + "num_params": 1, + "short_desc": "Removes the script fire" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "02D7", + "member": "SetComedyControls", + "name": "SET_COMEDY_CONTROLS", + "num_params": 2, + "short_desc": "Makes the vehicle harder to control" + }, + { + "input": [ + { + "name": "self", + "type": "Boat" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Boat", + "id": "02D8", + "member": "Goto", + "name": "BOAT_GOTO_COORDS", + "num_params": 4, + "short_desc": "Makes the boat sail to the location" + }, + { + "input": [ + { + "name": "self", + "type": "Boat" + } + ], + "class": "Boat", + "id": "02D9", + "member": "Stop", + "name": "BOAT_STOP", + "num_params": 1, + "short_desc": "Turns off the car's engine" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02DA", + "member": "IsShootingInArea", + "name": "IS_PLAYER_SHOOTING_IN_AREA", + "num_params": 6, + "short_desc": "Returns true if the player fired a weapon within the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "topRightX", + "type": "float" + }, + { + "name": "topRightY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "02DB", + "member": "IsShootingInArea", + "name": "IS_CHAR_SHOOTING_IN_AREA", + "num_params": 6, + "short_desc": "Returns true if the character fired a weapon within the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02DC", + "member": "IsCurrentWeapon", + "name": "IS_CURRENT_PLAYER_WEAPON", + "num_params": 2, + "short_desc": "Returns true if the player is holding the given type of weapon" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "02DD", + "member": "IsCurrentWeapon", + "name": "IS_CURRENT_CHAR_WEAPON", + "num_params": 2, + "short_desc": "Returns true if the character is holding the given type of weapon" + }, + { + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02DE", + "member": "ClearNumberOfPowerPillsEaten", + "name": "CLEAR_NUMBER_OF_POWER_PILLS_EATEN", + "num_params": 0, + "short_desc": "Clears the number of donkey magazine pickups (02C3) collected" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pacman", + "id": "02DF", + "member": "AddPowerPill", + "name": "ADD_POWER_PILL", + "num_params": 3, + "short_desc": "Creates a single donkey magazine pickup" + }, + { + "input": [ + { + "name": "self", + "type": "Boat" + }, + { + "name": "maxSpeed", + "type": "float" + } + ], + "class": "Boat", + "id": "02E0", + "member": "SetCruiseSpeed", + "name": "SET_BOAT_CRUISE_SPEED", + "num_params": 2, + "short_desc": "Sets the boat's max speed" + }, + { + "id": "02E1", + "name": "COMMAND_02E1", + "num_params": 8, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + }, + { + "name": "_p7", + "type": "any" + } + ] + }, + { + "id": "02E2", + "name": "COMMAND_02E2", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02E3", + "member": "IsInTaxi", + "name": "IS_PLAYER_IN_TAXI", + "num_params": 1, + "short_desc": "Returns true if the player is driving a taxi" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "02E4", + "member": "IsShooting", + "name": "IS_PLAYER_SHOOTING", + "num_params": 1, + "short_desc": "Returns true if the player is firing a weapon" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "02E5", + "member": "IsShooting", + "name": "IS_CHAR_SHOOTING", + "num_params": 1, + "short_desc": "Returns true if the character is firing a weapon" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "cashAmount", + "type": "int" + } + ], + "output": [ + { + "name": "handle", + "type": "Pickup", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Pickup", + "id": "02E6", + "member": "CreateMoney", + "name": "CREATE_MONEY_PICKUP", + "num_params": 5, + "short_desc": "Creates a money pickup with the specified cash value" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "accuracy", + "type": "int" + } + ], + "class": "Char", + "id": "02E7", + "member": "SetAccuracy", + "name": "SET_CHAR_ACCURACY", + "num_params": 2, + "short_desc": "Affects how often the character will hit the target when attacking with a weapon" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "speed", + "type": "float", + "source": "var_any" + } + ], + "class": "Car", + "id": "02E8", + "member": "GetSpeed", + "name": "GET_CAR_SPEED", + "num_params": 2, + "short_desc": "Gets the car's speed" + }, + { + "input": [ + { + "name": "name", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "02E9", + "member": "Load", + "name": "LOAD_CUTSCENE", + "num_params": 1, + "short_desc": "Loads the data for the specified cutscene" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_any" + } + ], + "output": [ + { + "name": "handle", + "type": "CutsceneObject", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "CutsceneObject", + "id": "02EA", + "member": "Create", + "name": "CREATE_CUTSCENE_OBJECT", + "num_params": 2, + "short_desc": "Creates a new cutscene object with the model" + }, + { + "input": [ + { + "name": "self", + "type": "CutsceneObject" + }, + { + "name": "animation", + "type": "string" + } + ], + "class": "CutsceneObject", + "id": "02EB", + "member": "SetAnim", + "name": "SET_CUTSCENE_ANIM", + "num_params": 2, + "short_desc": "Sets the animation of the cutscene object" + }, + { + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "02EC", + "member": "Start", + "name": "START_CUTSCENE", + "num_params": 0, + "short_desc": "Starts the loaded cutscene (02E4)" + }, + { + "output": [ + { + "name": "time", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "02ED", + "member": "GetTime", + "name": "GET_CUTSCENE_TIME", + "num_params": 1, + "short_desc": "Returns the time in milliseconds passed since the cutscene has started (02E7)" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Cutscene", + "id": "02EE", + "member": "HasFinished", + "name": "HAS_CUTSCENE_FINISHED", + "num_params": 0, + "short_desc": "Returns true if the cutscene has finished" + }, + { + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "02EF", + "member": "Clear", + "name": "CLEAR_CUTSCENE", + "num_params": 0, + "short_desc": "Ends the current cutscene, freeing game memory" + }, + { + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "02F0", + "member": "RestoreJumpcut", + "name": "RESTORE_CAMERA_JUMPCUT", + "num_params": 0, + "short_desc": "Restores the camera, putting it back behind the player" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "02F1", + "member": "CreateCollectable", + "name": "CREATE_COLLECTABLE1", + "num_params": 3, + "short_desc": "Creates a hidden package pickup at the location" + }, + { + "input": [ + { + "name": "amount", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "02F2", + "member": "SetCollectableTotal", + "name": "SET_COLLECTABLE1_TOTAL", + "num_params": 1, + "short_desc": "Sets the total number of hidden packages to collect" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "02F3", + "member": "IsProjectileInArea", + "name": "IS_PROJECTILE_IN_AREA", + "num_params": 6, + "short_desc": "Returns true if a projectile is in the specified 3D area" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "02F4", + "member": "DestroyProjectilesInArea", + "name": "DESTROY_PROJECTILES_IN_AREA", + "num_params": 6, + "short_desc": "Destroys all projectiles in the specified 3D area" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pickup", + "id": "02F5", + "member": "DropMine", + "name": "DROP_MINE", + "num_params": 3, + "short_desc": "Creates a mine pickup of type MineInactive at the location" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pickup", + "id": "02F6", + "member": "DropNauticalMine", + "name": "DROP_NAUTICAL_MINE", + "num_params": 3, + "short_desc": "Creates a nautical mine pickup of type MineInactive at the location" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "modelId", + "type": "model_char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "02F7", + "member": "IsModel", + "name": "IS_CHAR_MODEL", + "num_params": 2, + "short_desc": "Returns true if the character's model ID is equivalent to the model ID passed" + }, + { + "input": [ + { + "name": "cutsceneModelId", + "type": "model_any" + }, + { + "name": "modelName", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "02F8", + "member": "LoadSpecialModel", + "name": "LOAD_SPECIAL_MODEL", + "num_params": 2, + "short_desc": "Loads a model with the given name as a cutscene model id (GTA III: 185-189, VC: 295-299)" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_any" + }, + { + "name": "cutsceneObject", + "type": "CutsceneObject" + } + ], + "output": [ + { + "name": "handle", + "type": "CutsceneHead", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "CutsceneHead", + "id": "02F9", + "member": "Create", + "name": "CREATE_CUTSCENE_HEAD", + "num_params": 3, + "short_desc": "Creates a head attached to the cutscene object (02E5)" + }, + { + "input": [ + { + "name": "self", + "type": "CutsceneHead" + }, + { + "name": "animation", + "type": "string" + } + ], + "class": "CutsceneHead", + "id": "02FA", + "member": "SetAnim", + "name": "SET_CUTSCENE_HEAD_ANIM", + "num_params": 2, + "short_desc": "Sets the animation of the cuscene head" + }, + { + "input": [ + { + "name": "angle", + "type": "float" + } + ], + "output": [ + { + "name": "result", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Math", + "id": "02FB", + "member": "Sin", + "name": "SIN", + "num_params": 2, + "short_desc": "Returns the sine of the angle" + }, + { + "input": [ + { + "name": "angle", + "type": "float" + } + ], + "output": [ + { + "name": "result", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Math", + "id": "02FC", + "member": "Cos", + "name": "COS", + "num_params": 2, + "short_desc": "Returns the cosine of the angle" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + } + ], + "class": "Car", + "id": "02FD", + "member": "GetForwardX", + "name": "GET_CAR_FORWARD_X", + "num_params": 2, + "short_desc": "Returns the X coord of the vehicle's angle" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "y", + "type": "float", + "source": "var_any" + } + ], + "class": "Car", + "id": "02FE", + "member": "GetForwardY", + "name": "GET_CAR_FORWARD_Y", + "num_params": 2, + "short_desc": "Returns the Y coord of the vehicle's angle" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + }, + { + "name": "type", + "type": "GarageType" + } + ], + "class": "Garage", + "id": "02FF", + "member": "ChangeType", + "name": "CHANGE_GARAGE_TYPE", + "num_params": 2, + "short_desc": "Sets the garage's type" + }, + { + "input": [ + { + "name": "craneX", + "type": "float" + }, + { + "name": "craneY", + "type": "float" + }, + { + "name": "pickupZoneX1", + "type": "float" + }, + { + "name": "pickupZoneY1", + "type": "float" + }, + { + "name": "pickupZoneX2", + "type": "float" + }, + { + "name": "pickupZoneY2", + "type": "float" + }, + { + "name": "dropOffX", + "type": "float" + }, + { + "name": "dropOffY", + "type": "float" + }, + { + "name": "dropOffZ", + "type": "float" + }, + { + "name": "dropOffAngle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Crane", + "id": "0300", + "member": "ActivateCrusher", + "name": "ACTIVATE_CRUSHER_CRANE", + "num_params": 10, + "short_desc": "Activates a crusher crane located within 100.0 units of the specified location" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0301", + "member": "PrintWith2Numbers", + "name": "PRINT_WITH_2_NUMBERS", + "num_params": 5, + "short_desc": "Displays a styled message in which the first two ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0302", + "member": "PrintWith2NumbersNow", + "name": "PRINT_WITH_2_NUMBERS_NOW", + "num_params": 5, + "short_desc": "Displays a styled message in which the first two ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0303", + "member": "PrintWith2NumbersSoon", + "name": "PRINT_WITH_2_NUMBERS_SOON", + "num_params": 5, + "short_desc": "Displays a styled message with the 2 specified numbers when there are no other messages being printed" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0304", + "member": "PrintWith3Numbers", + "name": "PRINT_WITH_3_NUMBERS", + "num_params": 6, + "short_desc": "Displays a styled message in which the first three ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0305", + "member": "PrintWith3NumbersNow", + "name": "PRINT_WITH_3_NUMBERS_NOW", + "num_params": 6, + "short_desc": "Displays a styled message in which the first three ~1~ tokens are substituted with the specified numbers" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0306", + "name": "PRINT_WITH_3_NUMBERS_SOON", + "num_params": 0 + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0307", + "member": "PrintWith4Numbers", + "name": "PRINT_WITH_4_NUMBERS", + "num_params": 7, + "short_desc": "Displays a styled message in which the first four ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0308", + "member": "PrintWith4NumbersNow", + "name": "PRINT_WITH_4_NUMBERS_NOW", + "num_params": 7, + "short_desc": "Displays a styled message in which the first four ~1~ tokens are substituted with the specified numbers" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0309", + "name": "PRINT_WITH_4_NUMBERS_SOON", + "num_params": 0 + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "num5", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "030A", + "member": "PrintWith5Numbers", + "name": "PRINT_WITH_5_NUMBERS", + "num_params": 8, + "short_desc": "Displays a styled message in which the first five ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "num5", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "030B", + "member": "PrintWith5NumbersNow", + "name": "PRINT_WITH_5_NUMBERS_NOW", + "num_params": 8, + "short_desc": "Displays a styled message in which the first five ~1~ tokens are substituted with the specified numbers" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "030C", + "name": "PRINT_WITH_5_NUMBERS_SOON", + "num_params": 0 + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "num5", + "type": "int" + }, + { + "name": "num6", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "030D", + "member": "PrintWith6Numbers", + "name": "PRINT_WITH_6_NUMBERS", + "num_params": 9, + "short_desc": "Displays a styled message in which the first six ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "num5", + "type": "int" + }, + { + "name": "num6", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "030E", + "member": "PrintWith6NumbersNow", + "name": "PRINT_WITH_6_NUMBERS_NOW", + "num_params": 9, + "short_desc": "Displays a styled message in which the first six ~1~ tokens are substituted with the specified numbers" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "030F", + "name": "PRINT_WITH_6_NUMBERS_SOON", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leader", + "type": "Char" + }, + { + "name": "formationType", + "type": "FormationType" + } + ], + "class": "Char", + "id": "0310", + "member": "SetObjFollowCharInFormation", + "name": "SET_CHAR_OBJ_FOLLOW_CHAR_IN_FORMATION", + "num_params": 3, + "short_desc": "Sets the character's objective to escort the leader character" + }, + { + "input": [ + { + "name": "progress", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0311", + "member": "PlayerMadeProgress", + "name": "PLAYER_MADE_PROGRESS", + "num_params": 1, + "short_desc": "Increases the progress made stat by the specified amount" + }, + { + "input": [ + { + "name": "maxProgress", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0312", + "member": "SetProgressTotal", + "name": "SET_PROGRESS_TOTAL", + "num_params": 1, + "short_desc": "Sets the maximum progress the player can reach" + }, + { + "input": [ + { + "name": "distance", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0313", + "member": "RegisterJumpDistance", + "name": "REGISTER_JUMP_DISTANCE", + "num_params": 1, + "short_desc": "Saves the highest insane jump distance stat" + }, + { + "input": [ + { + "name": "height", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0314", + "member": "RegisterJumpHeight", + "name": "REGISTER_JUMP_HEIGHT", + "num_params": 1, + "short_desc": "Saves the highest insane jump height stat" + }, + { + "input": [ + { + "name": "flips", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0315", + "member": "RegisterJumpFlips", + "name": "REGISTER_JUMP_FLIPS", + "num_params": 1, + "short_desc": "Saves the highest insane jump flips stat" + }, + { + "input": [ + { + "name": "spins", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0316", + "member": "RegisterJumpSpins", + "name": "REGISTER_JUMP_SPINS", + "num_params": 1, + "short_desc": "Saves the highest insane jump rotation stat" + }, + { + "input": [ + { + "name": "stunt", + "type": "StuntType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0317", + "member": "RegisterJumpStunt", + "name": "REGISTER_JUMP_STUNT", + "num_params": 1, + "short_desc": "Saves the best insane stunt stat" + }, + { + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0318", + "member": "RegisterUniqueJumpFound", + "name": "REGISTER_UNIQUE_JUMP_FOUND", + "num_params": 0, + "short_desc": "Increments the completed number of unique stunt jumps stat by 1" + }, + { + "input": [ + { + "name": "total", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0319", + "member": "SetUniqueJumpsTotal", + "name": "SET_UNIQUE_JUMPS_TOTAL", + "num_params": 1, + "short_desc": "Sets the total number of unique stunt jumps stat" + }, + { + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "031A", + "member": "RegisterPassengerDroppedOffTaxi", + "name": "REGISTER_PASSENGER_DROPPED_OFF_TAXI", + "num_params": 0, + "short_desc": "Increments the number of passengers dropped off stat by 1" + }, + { + "input": [ + { + "name": "cashAmount", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "031B", + "member": "RegisterMoneyMadeTaxi", + "name": "REGISTER_MONEY_MADE_TAXI", + "num_params": 1, + "short_desc": "Adds the value to the cash made in taxi stat" + }, + { + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "031C", + "member": "RegisterMissionGiven", + "name": "REGISTER_MISSION_GIVEN", + "num_params": 0, + "short_desc": "Increments the number of mission attempts stat by one" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "031D", + "member": "RegisterMissionPassed", + "name": "REGISTER_MISSION_PASSED", + "num_params": 1, + "short_desc": "Sets the GXT of the last mission passed" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "031E", + "member": "SetRunning", + "name": "SET_CHAR_RUNNING", + "num_params": 2, + "short_desc": "Makes the character run" + }, + { + "attrs": { + "is_static": true + }, + "class": "World", + "id": "031F", + "member": "RemoveAllScriptFires", + "name": "REMOVE_ALL_SCRIPT_FIRES", + "num_params": 0, + "short_desc": "Removes all script fires (02CF)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "color", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "0320", + "member": "IsFirstColor", + "name": "IS_FIRST_CAR_COLOUR", + "num_params": 2, + "short_desc": "Returns true if the vehicle's primary color matches the specified color" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "color", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "0321", + "member": "IsSecondColor", + "name": "IS_SECOND_CAR_COLOUR", + "num_params": 2, + "short_desc": "Returns true if the vehicle's secondary color matches the specified color" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0322", + "member": "HasBeenDamagedByWeapon", + "name": "HAS_CHAR_BEEN_DAMAGED_BY_WEAPON", + "num_params": 2, + "short_desc": "Returns true if the character has been hit by the specified weapon" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "0323", + "member": "HasBeenDamagedByWeapon", + "name": "HAS_CAR_BEEN_DAMAGED_BY_WEAPON", + "num_params": 2, + "short_desc": "Returns true if the vehicle has been hit by the specified weapon" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leader", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0324", + "member": "IsInCharsGroup", + "name": "IS_CHAR_IN_CHARS_GROUP", + "num_params": 2, + "short_desc": "Returns true if the character is part of the leader's group (01DE)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "leader", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0325", + "member": "IsInPlayersGroup", + "name": "IS_CHAR_IN_PLAYERS_GROUP", + "num_params": 2, + "short_desc": "Returns true if the character is part of the leader's group (01DF)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0326", + "member": "ExplodeHead", + "name": "EXPLODE_CHAR_HEAD", + "num_params": 1, + "short_desc": "Dismembers the character" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "class": "Player", + "id": "0327", + "member": "ExplodeHead", + "name": "EXPLODE_PLAYER_HEAD", + "num_params": 1, + "short_desc": "Kills the player" + }, + { + "input": [ + { + "name": "self", + "type": "Boat" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Boat", + "id": "0328", + "member": "Anchor", + "name": "ANCHOR_BOAT", + "num_params": 2, + "short_desc": "Makes the boat stay motionless in the water" + }, + { + "input": [ + { + "name": "zone", + "type": "zone_key" + }, + { + "name": "dayOrNight", + "type": "DayOrNight" + }, + { + "name": "pedGroup", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Zone", + "id": "0329", + "member": "SetGroup", + "name": "SET_ZONE_GROUP", + "num_params": 3, + "short_desc": "Assigns one of the ped groups defined in pedgrp.dat to the map zone" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + } + ], + "output": [ + { + "name": "handle", + "type": "ScriptFire", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "ScriptFire", + "id": "032A", + "member": "CreateCarFire", + "name": "START_CAR_FIRE", + "num_params": 2, + "short_desc": "Creates a script fire on the vehicle" + }, + { + "input": [ + { + "name": "char", + "type": "Char" + } + ], + "output": [ + { + "name": "handle", + "type": "ScriptFire", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "ScriptFire", + "id": "032B", + "member": "CreateCharFire", + "name": "START_CHAR_FIRE", + "num_params": 2, + "short_desc": "Creates a script fire on the character" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "class": "World", + "id": "032C", + "member": "GetRandomCarOfTypeInArea", + "name": "GET_RANDOM_CAR_OF_TYPE_IN_AREA", + "num_params": 6, + "short_desc": "Returns the handle of a random car with the specified model in the specified 2D area, or -1 otherwise", + "attrs": { + "is_constructor": true + } + }, + { + "input": [ + { + "name": "zone", + "type": "zone_key" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "class": "World", + "id": "032D", + "member": "GetRandomCarOfTypeInZone", + "name": "GET_RANDOM_CAR_OF_TYPE_IN_ZONE", + "num_params": 3, + "short_desc": "Returns the handle of a random vehicle with the specified model in the specified map zone, or -1 otherwise", + "attrs": { + "is_constructor": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Garage", + "id": "032E", + "member": "HasResprayHappened", + "name": "HAS_RESPRAY_HAPPENED", + "num_params": 1, + "short_desc": "Returns true if the player's car has been resprayed by the garage" + }, + { + "input": [ + { + "name": "zoom", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "032F", + "member": "SetZoom", + "name": "SET_CAMERA_ZOOM", + "num_params": 1, + "short_desc": "Sets how far behind the camera is from the player" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_object" + }, + { + "name": "pickupType", + "type": "PickupType" + }, + { + "name": "ammo", + "type": "int" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Pickup", + "source": "var_any" + } + ], + "class": "Pickup", + "id": "0330", + "member": "CreateWithAmmo", + "name": "CREATE_PICKUP_WITH_AMMO", + "num_params": 7, + "short_desc": "Creates a weapon pickup, giving the player the specified amount of ammo when they pick it up", + "attrs": { + "is_constructor": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "target", + "type": "Car" + } + ], + "class": "Car", + "id": "0331", + "member": "SetRamCar", + "name": "SET_CAR_RAM_CAR", + "num_params": 2, + "short_desc": "Sets the AI driver's mission to ram another car (similar to 00AF with RamCarFaraway)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "target", + "type": "Car" + } + ], + "class": "Car", + "id": "0332", + "member": "SetBlockCar", + "name": "SET_CAR_BLOCK_CAR", + "num_params": 2, + "short_desc": "Set's the AI driver's mission to obstruct another's car pathway (similar to 00AF with BlockCarFaraway)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0333", + "member": "SetObjCatchTrain", + "name": "SET_CHAR_OBJ_CATCH_TRAIN", + "num_params": 1, + "short_desc": "Sets the character's objective to enter a nearby train" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0334", + "name": "SET_COLL_OBJ_CATCH_TRAIN", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0335", + "member": "SetNeverGetsTired", + "name": "SET_PLAYER_NEVER_GETS_TIRED", + "num_params": 2, + "short_desc": "Defines whether the player can run fast forever" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0336", + "member": "SetFastReload", + "name": "SET_PLAYER_FAST_RELOAD", + "num_params": 2, + "short_desc": "Defines whether the player can reload their gun faster" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0337", + "member": "SetBleeding", + "name": "SET_CHAR_BLEEDING", + "num_params": 2, + "short_desc": "Makes a character bleed" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0338", + "member": "SetFunnySuspension", + "name": "SET_CAR_FUNNY_SUSPENSION", + "num_params": 2, + "short_desc": "", + "attrs": { + "is_nop": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0339", + "member": "SetBigWheels", + "name": "SET_CAR_BIG_WHEELS", + "num_params": 2, + "short_desc": "Sets the car's big wheels property (unused)" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "033A", + "member": "SetFreeResprays", + "name": "SET_FREE_RESPRAYS", + "num_params": 1, + "short_desc": "Defines whether the player can respray their car for free" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "033B", + "member": "SetVisible", + "name": "SET_PLAYER_VISIBLE", + "num_params": 2, + "short_desc": "Sets whether the player is visible or not" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "033C", + "member": "SetVisible", + "name": "SET_CHAR_VISIBLE", + "num_params": 2, + "short_desc": "Sets whether the character is visible or not" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "id": "033D", + "name": "SET_CAR_VISIBLE", + "num_params": 2, + "short_desc": "Sets whether the vehicle is visible or not", + "class": "Car", + "member": "SetVisible" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "solid", + "type": "bool" + }, + { + "name": "car", + "type": "bool" + }, + { + "name": "char", + "type": "bool" + }, + { + "name": "object", + "type": "bool" + }, + { + "name": "particle", + "type": "bool" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "033E", + "member": "IsAreaOccupied", + "name": "IS_AREA_OCCUPIED", + "num_params": 11, + "short_desc": "Returns true if there is anything with the specified properties within the 3D area" + }, + { + "attrs": { + "is_static": true + }, + "class": "DrugRun", + "id": "033F", + "member": "Start", + "name": "START_DRUG_RUN", + "num_params": 0, + "short_desc": "Creates a plane flying along the prerecorded path in the 'S.A.M.' mission" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "DrugRun", + "id": "0340", + "member": "HasBeenCompleted", + "name": "HAS_DRUG_RUN_BEEN_COMPLETED", + "num_params": 0, + "short_desc": "Returns true if the plane in the 'S.A.M.' mission has landed" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "DrugRun", + "id": "0341", + "member": "HasPlaneBeenShotDown", + "name": "HAS_DRUG_PLANE_BEEN_SHOT_DOWN", + "num_params": 0, + "short_desc": "Returns true if the plane in the 'S.A.M.' mission has been destroyed" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "class": "Player", + "id": "0342", + "member": "SaveFromFires", + "name": "SAVE_PLAYER_FROM_FIRES", + "num_params": 1, + "short_desc": "Removes all fires located within 3.0 units of the player's position" + }, + { + "input": [ + { + "name": "offsetLeft", + "type": "float" + }, + { + "name": "offsetTop", + "type": "float" + }, + { + "name": "key", + "type": "gxt_key" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0343", + "member": "Display", + "name": "DISPLAY_TEXT", + "num_params": 3, + "short_desc": "Draws text at the specified on-screen position" + }, + { + "input": [ + { + "name": "widthScale", + "type": "float" + }, + { + "name": "heightScale", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0344", + "member": "SetScale", + "name": "SET_TEXT_SCALE", + "num_params": 2, + "short_desc": "Scales the width and height of the text letters" + }, + { + "input": [ + { + "name": "red", + "type": "int" + }, + { + "name": "green", + "type": "int" + }, + { + "name": "blue", + "type": "int" + }, + { + "name": "alpha", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0345", + "member": "SetColor", + "name": "SET_TEXT_COLOUR", + "num_params": 4, + "short_desc": "Sets the color of the text letters" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0346", + "member": "SetJustify", + "name": "SET_TEXT_JUSTIFY", + "num_params": 1, + "short_desc": "Sets the text to be drawn justified, which means the text will wrap in order to fill an even rectangle of space" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0347", + "member": "SetCenter", + "name": "SET_TEXT_CENTRE", + "num_params": 1, + "short_desc": "Centers the text" + }, + { + "input": [ + { + "name": "width", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0348", + "member": "SetWrapX", + "name": "SET_TEXT_WRAPX", + "num_params": 1, + "short_desc": "Sets the line width of the text" + }, + { + "input": [ + { + "name": "width", + "type": "float" + } + ], + "id": "0349", + "name": "SET_TEXT_CENTRE_SIZE", + "num_params": 1, + "short_desc": "Sets the line width of the centered text", + "class": "Text", + "member": "SetCenterSize", + "attrs": { + "is_static": true + } + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "034A", + "member": "SetBackground", + "name": "SET_TEXT_BACKGROUND", + "num_params": 1, + "short_desc": "Gives the text a background (0346)" + }, + { + "input": [ + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + }, + { + "name": "a", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "034B", + "member": "SetBackgroundColor", + "name": "SET_TEXT_BACKGROUND_COLOUR", + "num_params": 4, + "short_desc": "Sets the color of the background of the text" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "034C", + "member": "SetBackgroundOnlyText", + "name": "SET_TEXT_BACKGROUND_ONLY_TEXT", + "num_params": 1, + "short_desc": "Sets the background of the text to enclose centered text (0342 and 0346)" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "034D", + "member": "SetProportional", + "name": "SET_TEXT_PROPORTIONAL", + "num_params": 1, + "short_desc": "Makes the text size proportionate" + }, + { + "input": [ + { + "name": "font", + "type": "Font" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "034E", + "member": "SetFont", + "name": "SET_TEXT_FONT", + "num_params": 1, + "short_desc": "Sets the text draw font" + }, + { + "id": "034F", + "name": "COMMAND_034F", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0350", + "name": "COMMAND_0350", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0351", + "name": "COMMAND_0351", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "fromAngle", + "type": "float" + }, + { + "name": "toAngle", + "type": "float" + }, + { + "name": "collisionCheck", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "0352", + "member": "Rotate", + "name": "ROTATE_OBJECT", + "num_params": 4, + "short_desc": "Rotates the object from one angle to another, optionally accounting for a collision during the rotation" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "fromX", + "type": "float" + }, + { + "name": "fromY", + "type": "float" + }, + { + "name": "fromZ", + "type": "float" + }, + { + "name": "xSpeed", + "type": "float" + }, + { + "name": "ySpeed", + "type": "float" + }, + { + "name": "zSpeed", + "type": "float" + }, + { + "name": "collisionCheck", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "0353", + "member": "Slide", + "name": "SLIDE_OBJECT", + "num_params": 8, + "short_desc": "Returns true if the object has finished moving" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0354", + "member": "RemoveElegantly", + "name": "REMOVE_CHAR_ELEGANTLY", + "num_params": 1, + "short_desc": "Removes the character with a fade, freeing game memory" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0355", + "member": "SetStayInSamePlace", + "name": "SET_CHAR_STAY_IN_SAME_PLACE", + "num_params": 2, + "short_desc": "Makes the character maintain their position when attacked" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "0356", + "member": "IsNasty", + "name": "IS_NASTY_GAME", + "num_params": 0, + "short_desc": "Returns true if the game has no violent elements censored" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "modelName", + "type": "string" + } + ], + "class": "Char", + "id": "0357", + "member": "Undress", + "name": "UNDRESS_CHAR", + "num_params": 2, + "short_desc": "Removes the character and requests a new special model to load" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0358", + "member": "Dress", + "name": "DRESS_CHAR", + "num_params": 1, + "short_desc": "Respawns the character using the model requested with 0352" + }, + { + "input": [ + { + "name": "startTime", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "ChaseScene", + "id": "0359", + "member": "Start", + "name": "START_CHASE_SCENE", + "num_params": 1, + "short_desc": "Starts the chase scene (intro mission custscene)" + }, + { + "attrs": { + "is_static": true + }, + "class": "ChaseScene", + "id": "035A", + "member": "Stop", + "name": "STOP_CHASE_SCENE", + "num_params": 0, + "short_desc": "Stops the chase scene (intro mission custscene)" + }, + { + "input": [ + { + "name": "explosionType", + "type": "ExplosionType" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "035B", + "member": "IsExplosionInArea", + "name": "IS_EXPLOSION_IN_AREA", + "num_params": 7, + "short_desc": "Returns true if there is an explosion of the specified type in the 3D area" + }, + { + "input": [ + { + "name": "explosionType", + "type": "ExplosionType" + }, + { + "name": "zone", + "type": "zone_key" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "035C", + "member": "IsExplosionInZone", + "name": "IS_EXPLOSION_IN_ZONE", + "num_params": 2, + "short_desc": "Returns true if an explosion of the specified type in the map zone" + }, + { + "attrs": { + "is_static": true + }, + "class": "DrugDropOff", + "id": "035D", + "member": "Start", + "name": "START_DRUG_DROP_OFF", + "num_params": 0, + "short_desc": "Creates a plane flying along the prerecorded path in the 'A Drop In The Ocean' mission" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "DrugDropOff", + "id": "035E", + "member": "HasPlaneBeenShotDown", + "name": "HAS_DROP_OFF_PLANE_BEEN_SHOT_DOWN", + "num_params": 0, + "short_desc": "Returns true if the plane in the 'A Drop In The Ocean' mission has been destroyed" + }, + { + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "DrugDropOff", + "id": "035F", + "member": "FindPlaneCoordinates", + "name": "FIND_DROP_OFF_PLANE_COORDINATES", + "num_params": 3, + "short_desc": "Stores the current coordinates of the plane in the 'A Drop In The Ocean' mission" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Pickup", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Pickup", + "id": "0360", + "member": "CreateFloatingPackage", + "name": "CREATE_FLOATING_PACKAGE", + "num_params": 4, + "short_desc": "Creates a pickup of type FloatingPackage at the given coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "xOffset", + "type": "float" + }, + { + "name": "yOffset", + "type": "float" + }, + { + "name": "zOffset", + "type": "float" + } + ], + "class": "Object", + "id": "0361", + "member": "PlaceRelativeToCar", + "name": "PLACE_OBJECT_RELATIVE_TO_CAR", + "num_params": 5, + "short_desc": "Places the object at an offset from the car" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "class": "Object", + "id": "0362", + "member": "MakeTargetable", + "name": "MAKE_OBJECT_TARGETABLE", + "num_params": 1, + "short_desc": "Makes the object targettable (ability to be auto-aimed)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "amount", + "type": "int" + } + ], + "class": "Player", + "id": "0363", + "member": "AddArmour", + "name": "ADD_ARMOUR_TO_PLAYER", + "num_params": 2, + "short_desc": "Increases the character's armour by the specified value to the maximum of 100.0" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "amount", + "type": "int" + } + ], + "class": "Char", + "id": "0364", + "member": "AddArmor", + "name": "ADD_ARMOUR_TO_CHAR", + "num_params": 2, + "short_desc": "Increases the character's armor by the specified value to the maximum of 100.0" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + } + ], + "class": "Garage", + "id": "0365", + "member": "Open", + "name": "OPEN_GARAGE", + "num_params": 1, + "short_desc": "Opens the garage" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + } + ], + "class": "Garage", + "id": "0366", + "member": "Close", + "name": "CLOSE_GARAGE", + "num_params": 1, + "short_desc": "Closes the garage" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Char", + "id": "0367", + "member": "WarpFromCarToCoord", + "name": "WARP_CHAR_FROM_CAR_TO_COORD", + "num_params": 4, + "short_desc": "Pulls the character out of their car and places at the location" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "modelId", + "type": "model_object" + }, + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "0368", + "member": "SetVisibilityOfClosestObjectOfType", + "name": "SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE", + "num_params": 6, + "short_desc": "Sets the visibility of the object closest to the specified coordinates, matching the specified model" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + } + ], + "id": "0369", + "name": "HAS_CHAR_SPOTTED_CHAR", + "num_params": 2, + "short_desc": "Returns true if the character can see the target character", + "attrs": { + "is_condition": true + }, + "class": "Char", + "member": "HasSpottedChar" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "036A", + "member": "SetObjHailTaxi", + "name": "SET_CHAR_OBJ_HAIL_TAXI", + "num_params": 1, + "short_desc": "Sets the character's objective to hail a taxi" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "036B", + "member": "HasBeenDamaged", + "name": "HAS_OBJECT_BEEN_DAMAGED", + "num_params": 1, + "short_desc": "Returns true if the object is damaged" + }, + { + "input": [ + { + "name": "text", + "type": "gxt_key" + }, + { + "name": "weaponType", + "type": "WeaponType" + }, + { + "name": "timeInMs", + "type": "int" + }, + { + "name": "targetsNum", + "type": "int" + }, + { + "name": "targetModel1", + "type": "model_any" + }, + { + "name": "targetModel2", + "type": "model_any" + }, + { + "name": "targetModel3", + "type": "model_any" + }, + { + "name": "targetModel4", + "type": "model_any" + }, + { + "name": "betaSoundsAndMessages", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "KillFrenzy", + "id": "036C", + "member": "StartHeadshot", + "name": "START_KILL_FRENZY_HEADSHOT", + "num_params": 9, + "short_desc": "Starts a headshot rampage" + }, + { + "input": [ + { + "name": "craneX", + "type": "float" + }, + { + "name": "craneY", + "type": "float" + }, + { + "name": "pickupZoneX1", + "type": "float" + }, + { + "name": "pickupZoneY1", + "type": "float" + }, + { + "name": "pickupZoneX2", + "type": "float" + }, + { + "name": "pickupZoneY2", + "type": "float" + }, + { + "name": "dropOffX", + "type": "float" + }, + { + "name": "dropOffY", + "type": "float" + }, + { + "name": "dropOffZ", + "type": "float" + }, + { + "name": "dropOffAngle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Crane", + "id": "036D", + "member": "ActivateMilitary", + "name": "ACTIVATE_MILITARY_CRANE", + "num_params": 10, + "short_desc": "Activates a military crane located within 100.0 units of the specified location" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "Player", + "id": "036E", + "member": "WarpIntoCar", + "name": "WARP_PLAYER_INTO_CAR", + "num_params": 2, + "short_desc": "Puts the player in the specified vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "Char", + "id": "036F", + "member": "WarpIntoCar", + "name": "WARP_CHAR_INTO_CAR", + "num_params": 2, + "short_desc": "Puts the character in the specified vehicle" + }, + { + "id": "0370", + "name": "COMMAND_0370", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0371", + "name": "SET_AUDIO_STREAM", + "num_params": 0 + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0372", + "member": "PrintWith2NumbersBig", + "name": "PRINT_WITH_2_NUMBERS_BIG", + "num_params": 5, + "short_desc": "Displays a styled message in which the first two ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0373", + "member": "PrintWith3NumbersBig", + "name": "PRINT_WITH_3_NUMBERS_BIG", + "num_params": 6, + "short_desc": "Displays a styled message in which the first three ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0374", + "member": "PrintWith4NumbersBig", + "name": "PRINT_WITH_4_NUMBERS_BIG", + "num_params": 7, + "short_desc": "Displays a styled message in which the first four ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "num5", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0375", + "member": "PrintWith5NumbersBig", + "name": "PRINT_WITH_5_NUMBERS_BIG", + "num_params": 8, + "short_desc": "Displays a styled message in which the first five ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + }, + { + "name": "num3", + "type": "int" + }, + { + "name": "num4", + "type": "int" + }, + { + "name": "num5", + "type": "int" + }, + { + "name": "num6", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0376", + "member": "PrintWith6NumbersBig", + "name": "PRINT_WITH_6_NUMBERS_BIG", + "num_params": 9, + "short_desc": "Displays a styled message in which the first six ~1~ tokens are substituted with the specified numbers" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "stateId", + "type": "WaitState" + }, + { + "name": "timeInMs", + "type": "int" + } + ], + "class": "Char", + "id": "0377", + "member": "SetWaitState", + "name": "SET_CHAR_WAIT_STATE", + "num_params": 3, + "short_desc": "Puts the character in the idle state for the given period of time" + }, + { + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0378", + "member": "SetBehindPlayer", + "name": "SET_CAMERA_BEHIND_PLAYER", + "num_params": 0, + "short_desc": "Puts the camera behind the player" + }, + { + "input": [ + { + "name": "type", + "type": "MotionBlurType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0379", + "member": "SetMotionBlur", + "name": "SET_MOTION_BLUR", + "num_params": 1, + "short_desc": "Sets the motion blur (camera overlay color)" + }, + { + "input": [ + { + "name": "templateKey", + "type": "gxt_key" + }, + { + "name": "replacementKey", + "type": "gxt_key" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "037A", + "member": "PrintStringInString", + "name": "PRINT_STRING_IN_STRING", + "num_params": 4, + "short_desc": "Displays a styled message in which the first string token ~a~ is substituted with the specified text" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Char", + "id": "037B", + "member": "CreateRandom", + "name": "CREATE_RANDOM_CHAR", + "num_params": 4, + "short_desc": "Creates a character with a randomised model and pedtype at the specified coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "037C", + "member": "SetObjStealAnyCar", + "name": "SET_CHAR_OBJ_STEAL_ANY_CAR", + "num_params": 1, + "short_desc": "Sets the character's objective to find any traffic vehicle nearby and take the driver's seat" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "037D", + "member": "Set2RepeatedMessages", + "name": "SET_2_REPEATED_PHONE_MESSAGES", + "num_params": 3, + "short_desc": "Assigns two script lines to the phone which can be picked up again in a minute" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "037E", + "member": "Set2Messages", + "name": "SET_2_PHONE_MESSAGES", + "num_params": 3, + "short_desc": "Assigns two script lines to the phone" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + }, + { + "name": "msg3", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "037F", + "member": "Set3RepeatedMessages", + "name": "SET_3_REPEATED_PHONE_MESSAGES", + "num_params": 4, + "short_desc": "Assigns three script lines to the phone which can be picked up again in a minute" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + }, + { + "name": "msg3", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "0380", + "member": "Set3Messages", + "name": "SET_3_PHONE_MESSAGES", + "num_params": 4, + "short_desc": "Assigns three script lines to the phone" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + }, + { + "name": "msg3", + "type": "gxt_key" + }, + { + "name": "msg4", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "0381", + "member": "Set4RepeatedMessages", + "name": "SET_4_REPEATED_PHONE_MESSAGES", + "num_params": 5, + "short_desc": "Assigns four script lines to the phone which can be picked up again in a minute" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + }, + { + "name": "msg3", + "type": "gxt_key" + }, + { + "name": "msg4", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "0382", + "member": "Set4Messages", + "name": "SET_4_PHONE_MESSAGES", + "num_params": 5, + "short_desc": "Assigns four script lines to the phone" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "0383", + "member": "IsSniperBulletInArea", + "name": "IS_SNIPER_BULLET_IN_AREA", + "num_params": 6, + "short_desc": "Returns true if a sniper bullet is in the specified area" + }, + { + "attrs": { + "is_static": true + }, + "class": "Player", + "id": "0384", + "member": "GiveDetonator", + "name": "GIVE_PLAYER_DETONATOR", + "num_params": 0, + "short_desc": "Gives the player a detonator" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0385", + "name": "SET_COLL_OBJ_STEAL_ANY_CAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "xSpeed", + "type": "float" + }, + { + "name": "ySpeed", + "type": "float" + }, + { + "name": "zSpeed", + "type": "float" + } + ], + "class": "Object", + "id": "0386", + "member": "SetVelocity", + "name": "SET_OBJECT_VELOCITY", + "num_params": 4, + "short_desc": "Sets the object's velocity" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Object", + "id": "0387", + "member": "SetCollision", + "name": "SET_OBJECT_COLLISION", + "num_params": 2, + "short_desc": "Sets the object's collision detection" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "0388", + "member": "IsIcecreamJingleOn", + "name": "IS_ICECREAM_JINGLE_ON", + "num_params": 1, + "short_desc": "Returns true if the vehicle's siren is on" + }, + { + "input": [ + { + "name": "templateKey", + "type": "gxt_key" + }, + { + "name": "replacementKey", + "type": "gxt_key" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "style", + "type": "TextStyle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0389", + "member": "PrintStringInStringNow", + "name": "PRINT_STRING_IN_STRING_NOW", + "num_params": 4, + "short_desc": "Displays a styled message in which the first string token ~a~ is substituted with the specified text" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "038A", + "name": "PRINT_STRING_IN_STRING_SOON", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + }, + { + "name": "msg3", + "type": "gxt_key" + }, + { + "name": "msg4", + "type": "gxt_key" + }, + { + "name": "msg5", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "038B", + "member": "Set5RepeatedMessages", + "name": "SET_5_REPEATED_PHONE_MESSAGES", + "num_params": 6, + "short_desc": "Assigns five script lines to the phone which can be picked up again in a minute" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + }, + { + "name": "msg3", + "type": "gxt_key" + }, + { + "name": "msg4", + "type": "gxt_key" + }, + { + "name": "msg5", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "038C", + "member": "Set5Messages", + "name": "SET_5_PHONE_MESSAGES", + "num_params": 6, + "short_desc": "Assigns five script lines to the phone" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + }, + { + "name": "msg3", + "type": "gxt_key" + }, + { + "name": "msg4", + "type": "gxt_key" + }, + { + "name": "msg5", + "type": "gxt_key" + }, + { + "name": "msg6", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "038D", + "member": "Set6RepeatedMessages", + "name": "SET_6_REPEATED_PHONE_MESSAGES", + "num_params": 7, + "short_desc": "Assigns six script lines to the phone which can be picked up again in a minute" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + }, + { + "name": "msg1", + "type": "gxt_key" + }, + { + "name": "msg2", + "type": "gxt_key" + }, + { + "name": "msg3", + "type": "gxt_key" + }, + { + "name": "msg4", + "type": "gxt_key" + }, + { + "name": "msg5", + "type": "gxt_key" + }, + { + "name": "msg6", + "type": "gxt_key" + } + ], + "class": "Phone", + "id": "038E", + "member": "Set6Messages", + "name": "SET_6_PHONE_MESSAGES", + "num_params": 7, + "short_desc": "Assigns six script lines to the phone" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "radiusX", + "type": "float" + }, + { + "name": "radiusY", + "type": "float" + }, + { + "name": "radiusZ", + "type": "float" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "038F", + "member": "IsPointObscuredByAMissionEntity", + "name": "IS_POINT_OBSCURED_BY_A_MISSION_ENTITY", + "num_params": 6, + "short_desc": "Returns true if there is a vehicle in the specified area" + }, + { + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "0390", + "member": "LoadAllModelsNow", + "name": "LOAD_ALL_MODELS_NOW", + "num_params": 0, + "short_desc": "Loads any requested models (0247 or 0353) synchronously" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Object", + "id": "0391", + "member": "AddToVelocity", + "name": "ADD_TO_OBJECT_VELOCITY", + "num_params": 4, + "short_desc": "Adds the given vector to the object's velocity (0381)" + }, + { + "input": [ + { + "name": "memorySlot", + "type": "int" + }, + { + "name": "offsetLeft", + "type": "float" + }, + { + "name": "offsetTop", + "type": "float" + }, + { + "name": "width", + "type": "float" + }, + { + "name": "height", + "type": "float" + }, + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + }, + { + "name": "a", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "0392", + "member": "DrawSprite", + "name": "DRAW_SPRITE", + "num_params": 9, + "short_desc": "Draws a loaded texture (038F) at the specified on-screen X and Y coordinates, with the specified size and RGBA color" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "width", + "type": "float" + }, + { + "name": "height", + "type": "float" + }, + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + }, + { + "name": "a", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "0393", + "member": "DrawRect", + "name": "DRAW_RECT", + "num_params": 8, + "short_desc": "Draws a box at the specified screen X and Y position, with the specified size and RGBA colors" + }, + { + "input": [ + { + "name": "memorySlot", + "type": "int" + }, + { + "name": "spriteName", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Txd", + "id": "0394", + "member": "LoadSprite", + "name": "LOAD_SPRITE", + "num_params": 2, + "short_desc": "Loads a sprite from the most recently loaded texture dictionary (0390)" + }, + { + "input": [ + { + "name": "name", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Txd", + "id": "0395", + "member": "LoadDictionary", + "name": "LOAD_TEXTURE_DICTIONARY", + "num_params": 1, + "short_desc": "Loads the texture dictionary for use in drawing sprites (038D) on the screen" + }, + { + "attrs": { + "is_static": true + }, + "class": "Txd", + "id": "0396", + "member": "Remove", + "name": "REMOVE_TEXTURE_DICTIONARY", + "num_params": 0, + "short_desc": "Unloads all currently loaded textures (038F), as well as texture dictionaries (0390), freeing game memory" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Object", + "id": "0397", + "member": "SetDynamic", + "name": "SET_OBJECT_DYNAMIC", + "num_params": 2, + "short_desc": "Defines whether or not the object is moveable" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "animSpeed", + "type": "float" + } + ], + "class": "Char", + "id": "0398", + "member": "SetAnimSpeed", + "name": "SET_CHAR_ANIM_SPEED", + "num_params": 2, + "short_desc": "Makes the character perform an animation at the specified speed" + }, + { + "input": [ + { + "name": "soundId", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Audio", + "id": "0399", + "member": "PlayMissionPassedTune", + "name": "PLAY_MISSION_PASSED_TUNE", + "num_params": 1, + "short_desc": "Plays an audio file with the specified ID from the Audio directory" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "clearParticles", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "039A", + "member": "ClearArea", + "name": "CLEAR_AREA", + "num_params": 5, + "short_desc": "Clears the area, removing all vehicles and pedestrians" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "039B", + "member": "FreezeTimer", + "name": "FREEZE_ONSCREEN_TIMER", + "num_params": 1, + "short_desc": "Makes the on-screen timer stop updating" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "039C", + "member": "SwitchSiren", + "name": "SWITCH_CAR_SIREN", + "num_params": 2, + "short_desc": "Sets whether the car's alarm can be activated" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "039D", + "member": "SwitchPedRoadsOnAngled", + "name": "SWITCH_PED_ROADS_ON_ANGLED", + "num_params": 7, + "short_desc": "Enables pedestrians walk into the specified angled area" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "039E", + "member": "SwitchPedRoadsOffAngled", + "name": "SWITCH_PED_ROADS_OFF_ANGLED", + "num_params": 7, + "short_desc": "Forbids pedestrians to walk into the specified angled area" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "039F", + "member": "SwitchRoadsOnAngled", + "name": "SWITCH_ROADS_ON_ANGLED", + "num_params": 7, + "short_desc": "Allows cars to drive in the specified angled area" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "angle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "03A0", + "member": "SwitchRoadsOffAngled", + "name": "SWITCH_ROADS_OFF_ANGLED", + "num_params": 7, + "short_desc": "Prevents cars from driving on roads in the specified angled area" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "03A1", + "member": "SetWatertight", + "name": "SET_CAR_WATERTIGHT", + "num_params": 2, + "short_desc": "Makes the vehicle watertight, meaning characters inside will not be harmed if the vehicle is submerged in water" + }, + { + "input": [ + { + "name": "particle", + "type": "ParticleObject" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "strengthX", + "type": "float" + }, + { + "name": "strengthY", + "type": "float" + }, + { + "name": "strengthZ", + "type": "float" + }, + { + "name": "scale", + "type": "float" + }, + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + }, + { + "name": "durationInMs", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Fx", + "id": "03A2", + "member": "AddMovingParticleEffect", + "name": "ADD_MOVING_PARTICLE_EFFECT", + "num_params": 12, + "short_desc": "Adds a moving particle effect" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "03A3", + "member": "SetCantBeDraggedOut", + "name": "SET_CHAR_CANT_BE_DRAGGED_OUT", + "num_params": 2, + "short_desc": "Locks the character while in a car" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "class": "Car", + "id": "03A4", + "member": "TurnToFaceCoord", + "name": "TURN_CAR_TO_FACE_COORD", + "num_params": 3, + "short_desc": "Sets the car's heading so that it is facing the 2D coordinate" + }, + { + "input": [ + { + "name": "craneX", + "type": "float" + }, + { + "name": "craneY", + "type": "float" + }, + { + "name": "car", + "type": "Car" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Crane", + "id": "03A5", + "member": "IsLiftingCar", + "name": "IS_CRANE_LIFTING_CAR", + "num_params": 3, + "short_desc": "Checks if a crane located within 100.0 units of the specified location is lifting the vehicle" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "radius", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Sphere", + "id": "03A6", + "member": "Draw", + "name": "DRAW_SPHERE", + "num_params": 4, + "short_desc": "Displays a red cylinder sphere" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "status", + "type": "EntityStatus" + } + ], + "class": "Car", + "id": "03A7", + "member": "SetStatus", + "name": "SET_CAR_STATUS", + "num_params": 2, + "short_desc": "Sets the car's status" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "03A8", + "member": "IsMale", + "name": "IS_CHAR_MALE", + "num_params": 1, + "short_desc": "Returns true if the character is male" + }, + { + "input": [ + { + "name": "name", + "type": "string" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "03A9", + "name": "SCRIPT_NAME", + "num_params": 1, + "short_desc": "Assigns a new name to the current script" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + }, + { + "name": "type", + "type": "GarageType" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "class": "Garage", + "id": "03AA", + "member": "ChangeTypeWithCarModel", + "name": "CHANGE_GARAGE_TYPE_WITH_CAR_MODEL", + "num_params": 3, + "short_desc": "Changes the type of garage and target model" + }, + { + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "DrugRun", + "id": "03AB", + "member": "FindPlaneCoordinates", + "name": "FIND_DRUG_PLANE_COORDINATES", + "num_params": 3, + "short_desc": "Returns the current coordinates of the plane in the 'S.A.M.' mission" + }, + { + "attrs": { + "is_nop": true + }, + "id": "03AC", + "input": [ + { + "name": "_p1", + "type": "int" + } + ], + "name": "SAVE_INT_TO_DEBUG_FILE", + "num_params": 1, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "03AD", + "input": [ + { + "name": "_p1", + "type": "float" + } + ], + "name": "SAVE_FLOAT_TO_DEBUG_FILE", + "num_params": 1, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_nop": true + }, + "id": "03AE", + "name": "SAVE_NEWLINE_TO_DEBUG_FILE", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Audio", + "id": "03AF", + "member": "PoliceRadioMessage", + "name": "POLICE_RADIO_MESSAGE", + "num_params": 3, + "short_desc": "Plays police radio message audio reporting the suspect has last been seen at the specified location" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "03B0", + "member": "SetStrong", + "name": "SET_CAR_STRONG", + "num_params": 2, + "short_desc": "Defines whether the car is more resistant to collisions than normal" + }, + { + "input": [ + { + "name": "routeId", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "03B1", + "member": "RemoveRoute", + "name": "REMOVE_ROUTE", + "num_params": 1, + "short_desc": "Clears all waypoints in the route with the specified id" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "03B2", + "member": "SwitchRubbish", + "name": "SWITCH_RUBBISH", + "num_params": 1, + "short_desc": "Toggles garbage on the streets" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "03B3", + "member": "RemoveParticleEffectsInArea", + "name": "REMOVE_PARTICLE_EFFECTS_IN_AREA", + "num_params": 6, + "short_desc": "Removes all particle effects (02A2 or 039D) in the specified area" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "03B4", + "member": "Switch", + "name": "SWITCH_STREAMING", + "num_params": 1, + "short_desc": "Sets the streaming of additional models like peds, cars, and maps" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Garage", + "id": "03B5", + "member": "IsOpen", + "name": "IS_GARAGE_OPEN", + "num_params": 1, + "short_desc": "Returns true if the garage's door is open" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Garage", + "id": "03B6", + "member": "IsClosed", + "name": "IS_GARAGE_CLOSED", + "num_params": 1, + "short_desc": "Returns true if the garage's door is closed" + }, + { + "attrs": { + "is_static": true + }, + "class": "CatalinaHeli", + "id": "03B7", + "member": "Start", + "name": "START_CATALINA_HELI", + "num_params": 0, + "short_desc": "Creates a heli flying in the 'The Exchange' mission " + }, + { + "attrs": { + "is_static": true + }, + "class": "CatalinaHeli", + "id": "03B8", + "member": "TakeOff", + "name": "CATALINA_HELI_TAKE_OFF", + "num_params": 0, + "short_desc": "Makes the heli in the 'The Exchange' mission take off" + }, + { + "attrs": { + "is_static": true + }, + "class": "CatalinaHeli", + "id": "03B9", + "member": "Remove", + "name": "REMOVE_CATALINA_HELI", + "num_params": 0, + "short_desc": "Deletes the heli flying in the 'The Exchange' mission" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "CatalinaHeli", + "id": "03BA", + "member": "HasBeenShotDown", + "name": "HAS_CATALINA_HELI_BEEN_SHOT_DOWN", + "num_params": 0, + "short_desc": "Returns true if the player damaged the heli flying in the 'The Exchange' mission" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "fromModelId", + "type": "model_object" + }, + { + "name": "toModelId", + "type": "model_object" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "03BB", + "member": "SwapNearestBuildingModel", + "name": "SWAP_NEAREST_BUILDING_MODEL", + "num_params": 6, + "short_desc": "Swaps a map model with another map model nearest to the center of the search area" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "03BC", + "member": "SwitchProcessing", + "name": "SWITCH_WORLD_PROCESSING", + "num_params": 1, + "short_desc": "Sets whether the game should render the world or only the cutscene objects" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "class": "Player", + "id": "03BD", + "member": "RemoveAllWeapons", + "name": "REMOVE_ALL_PLAYER_WEAPONS", + "num_params": 1, + "short_desc": "Takes all weapons away from the player" + }, + { + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "CatalinaHeli", + "id": "03BE", + "member": "Grab", + "name": "GRAB_CATALINA_HELI", + "num_params": 1, + "short_desc": "Returns the handle of the heli created with 03B2" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "03BF", + "member": "ClearAreaOfCars", + "name": "CLEAR_AREA_OF_CARS", + "num_params": 6, + "short_desc": "Clears all cars in the specified 3D area" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + } + ], + "class": "Garage", + "id": "03C0", + "member": "SetRotatingDoor", + "name": "SET_ROTATING_GARAGE_DOOR", + "num_params": 1, + "short_desc": "Sets the garage door to swing open instead of slide open" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "radius", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "Sphere", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Sphere", + "id": "03C1", + "member": "Create", + "name": "ADD_SPHERE", + "num_params": 5, + "short_desc": "Creates a static sphere at the location, with the specified radius" + }, + { + "input": [ + { + "name": "self", + "type": "Sphere" + } + ], + "attrs": { + "is_destructor": true + }, + "class": "Sphere", + "id": "03C2", + "member": "Remove", + "name": "REMOVE_SPHERE", + "num_params": 1, + "short_desc": "Destroys a static sphere" + }, + { + "attrs": { + "is_static": true + }, + "class": "CatalinaHeli", + "id": "03C3", + "member": "FlyAway", + "name": "CATALINA_HELI_FLY_AWAY", + "num_params": 0, + "short_desc": "Makes the heli in the 'The Exchange' mission fly high in the sky" + }, + { + "input": [ + { + "name": "handle", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "03C4", + "member": "SetEveryoneIgnorePlayer", + "name": "SET_EVERYONE_IGNORE_PLAYER", + "num_params": 2, + "short_desc": "Makes pedestrians pay no attention to the player" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "class": "Char", + "id": "03C5", + "member": "StoreCarIsInNoSave", + "name": "STORE_CAR_CHAR_IS_IN_NO_SAVE", + "num_params": 2, + "short_desc": "Returns the character's vehicle handle without marking it as used by the script, therefore allowing it to be deleted by the game at any time" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "class": "Player", + "id": "03C6", + "member": "StoreCarIsInNoSave", + "name": "STORE_CAR_PLAYER_IS_IN_NO_SAVE", + "num_params": 2, + "short_desc": "Returns the player's vehicle handle without marking it as used by the script, therefore allowing it to be deleted by the game at any time" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Phone", + "id": "03C7", + "member": "IsDisplayingMessage", + "name": "IS_PHONE_DISPLAYING_MESSAGE", + "num_params": 1, + "short_desc": "Returns true if the phone is displaying an assigned script line" + }, + { + "id": "03C8", + "name": "COMMAND_03C8", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "counter", + "type": "int", + "source": "var_global" + }, + { + "name": "display", + "type": "CounterDisplay" + }, + { + "name": "text", + "type": "gxt_key" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "03C9", + "member": "DisplayCounterWithString", + "name": "DISPLAY_ONSCREEN_COUNTER_WITH_STRING", + "num_params": 3, + "short_desc": "Displays an onscreen counter with the text, either shown in numbers or as a bar" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "heading", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "03CA", + "member": "CreateRandomCarForCarPark", + "name": "CREATE_RANDOM_CAR_FOR_CAR_PARK", + "num_params": 4, + "short_desc": "Starts spawning random cars at the specified location" + }, + { + "input": [ + { + "name": "level", + "type": "LevelName" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Streaming", + "id": "03CB", + "member": "IsCollisionInMemory", + "name": "IS_COLLISION_IN_MEMORY", + "num_params": 1, + "short_desc": "Returns true if the level (island) collision is loaded (03F7)" + }, + { + "input": [ + { + "name": "multiplier", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "03CC", + "member": "SetWantedMultiplier", + "name": "SET_WANTED_MULTIPLIER", + "num_params": 1, + "short_desc": "Sets sensitivity to crime, changing how many crimes a player can commit before police begin to pursue" + }, + { + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "03CD", + "member": "SetInFrontOfPlayer", + "name": "SET_CAMERA_IN_FRONT_OF_PLAYER", + "num_params": 0, + "short_desc": "Puts the camera in front of the player, pointing towards the player" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "id": "03CE", + "name": "IS_CAR_VISIBLY_DAMAGED", + "num_params": 1, + "short_desc": "Returns true if any of the car components is visibly damaged or lost", + "attrs": { + "is_condition": true + }, + "class": "Car", + "member": "IsVisiblyDamaged" + }, + { + "input": [ + { + "name": "handle", + "type": "any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Object", + "id": "03CF", + "member": "DoesExist", + "name": "DOES_OBJECT_EXIST", + "num_params": 1, + "short_desc": "Returns true if the handle is a valid object handle" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "03D0", + "member": "LoadScene", + "name": "LOAD_SCENE", + "num_params": 3, + "short_desc": "Starts loading a specific location, just like if the player was there, removing LOD textures" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "speed", + "type": "float" + }, + { + "name": "duration", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "StuckCarCheck", + "id": "03D1", + "member": "Add", + "name": "ADD_STUCK_CAR_CHECK", + "num_params": 3, + "short_desc": "Adds the vehicle to the stuck cars array" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + } + ], + "attrs": { + "is_static": true + }, + "class": "StuckCarCheck", + "id": "03D2", + "member": "Remove", + "name": "REMOVE_STUCK_CAR_CHECK", + "num_params": 1, + "short_desc": "Removes the vehicle from the stuck cars array" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "StuckCarCheck", + "id": "03D3", + "member": "IsCarStuck", + "name": "IS_CAR_STUCK", + "num_params": 1, + "short_desc": "Returns true if the car is stuck" + }, + { + "id": "03D4", + "name": "COMMAND_03D4", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "03D5", + "name": "COMMAND_03D5", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "03D6", + "name": "COMMAND_03D6", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "03D7", + "name": "COMMAND_03D7", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "output": [ + { + "name": "nodeX", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeY", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeZ", + "type": "float", + "source": "var_any" + }, + { + "name": "angle", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "03D8", + "member": "GetClosestCarNodeWithHeading", + "name": "GET_CLOSEST_CAR_NODE_WITH_HEADING", + "num_params": 7, + "short_desc": "Returns the position and heading of the closest vehicle path node to the specified position" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + }, + { + "name": "importSlot", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Garage", + "id": "03D9", + "member": "HasSlotBeenFilled", + "name": "HAS_IMPORT_GARAGE_SLOT_BEEN_FILLED", + "num_params": 2, + "short_desc": "Returns true if the import garage has collected a vehicle from the predefined list" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "03DA", + "member": "ClearThisPrint", + "name": "CLEAR_THIS_PRINT", + "num_params": 1, + "short_desc": "Removes the priority text from the screen" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "03DB", + "member": "ClearThisBigPrint", + "name": "CLEAR_THIS_BIG_PRINT", + "num_params": 1, + "short_desc": "Removes the styled text from the screen" + }, + { + "id": "03DC", + "name": "COMMAND_03DC", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "03DD", + "member": "ActivateSaveMenu", + "name": "ACTIVATE_SAVE_MENU", + "num_params": 0, + "short_desc": "Displays a screen prompting the player to save" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "03DE", + "member": "HasSaveGameFinished", + "name": "HAS_SAVE_GAME_FINISHED", + "num_params": 0, + "short_desc": "Returns true if the player has saved their game" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + } + ], + "class": "Garage", + "id": "03DF", + "member": "NoSpecialCameraForThisGarage", + "name": "NO_SPECIAL_CAMERA_FOR_THIS_GARAGE", + "num_params": 1, + "short_desc": "Disables special camera when in the garage" + }, + { + "input": [ + { + "name": "pickup", + "type": "Pickup" + }, + { + "name": "color", + "type": "BlipColor" + }, + { + "name": "display", + "type": "BlipDisplay" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "03E0", + "member": "AddForPickupOld", + "name": "ADD_BLIP_FOR_PICKUP_OLD", + "num_params": 4, + "short_desc": "Adds a blip with properties to the pickup" + }, + { + "input": [ + { + "name": "pickup", + "type": "Pickup" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "03E1", + "member": "AddForPickup", + "name": "ADD_BLIP_FOR_PICKUP", + "num_params": 2, + "short_desc": "Adds a blip and a marker to the pickup" + }, + { + "input": [ + { + "name": "pickup", + "type": "Pickup" + }, + { + "name": "sprite", + "type": "RadarSprite" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "03E2", + "member": "AddSpriteForPickup", + "name": "ADD_SPRITE_BLIP_FOR_PICKUP", + "num_params": 3, + "short_desc": "Adds a sprite blip and a marker to the pickup" + }, + { + "input": [ + { + "name": "multiplier", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "03E3", + "member": "SetPedDensityMultiplier", + "name": "SET_PED_DENSITY_MULTIPLIER", + "num_params": 1, + "short_desc": "Sets the quantity of pedestrians to spawn in the game" + }, + { + "input": [ + { + "name": "pedType", + "type": "PedType" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "03E4", + "member": "ForceRandomPedType", + "name": "FORCE_RANDOM_PED_TYPE", + "num_params": 1, + "short_desc": "Forces the game to spawn only pedestrians of the given type" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "03E5", + "member": "SetDrawBeforeFade", + "name": "SET_TEXT_DRAW_BEFORE_FADE", + "num_params": 1, + "short_desc": "Causes the next text to be drawn before the fade is drawn" + }, + { + "output": [ + { + "name": "num", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "03E6", + "member": "GetCollectablesCollected", + "name": "GET_COLLECTABLE1S_COLLECTED", + "num_params": 1, + "short_desc": "Returns the number of hidden packages collected" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "03E7", + "member": "SetObjLeaveAnyCar", + "name": "SET_CHAR_OBJ_LEAVE_ANY_CAR", + "num_params": 1, + "short_desc": "Sets the character's objective to leave the car they are in" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "03E8", + "member": "SetSpritesDrawBeforeFade", + "name": "SET_SPRITES_DRAW_BEFORE_FADE", + "num_params": 1, + "short_desc": "Causes the next texture to be drawn (038D) before the fade is drawn" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "03E9", + "member": "SetRightJustify", + "name": "SET_TEXT_RIGHT_JUSTIFY", + "num_params": 1, + "short_desc": "Sets the text draw to be aligned to the right" + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "03EA", + "member": "PrintHelp", + "name": "PRINT_HELP", + "num_params": 1, + "short_desc": "Displays a black text box for a few seconds" + }, + { + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "03EB", + "member": "ClearHelp", + "name": "CLEAR_HELP", + "num_params": 0, + "short_desc": "Removes the text box from the screen" + }, + { + "input": [ + { + "name": "object", + "type": "HudObject" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "03EC", + "member": "FlashObject", + "name": "FLASH_HUD_OBJECT", + "num_params": 1, + "short_desc": "Makes a specific part of the HUD disappear and reappear several times" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "03ED", + "name": "FLASH_RADAR_BLIP", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "03EE", + "member": "IsInControl", + "name": "IS_CHAR_IN_CONTROL", + "num_params": 1, + "short_desc": "Returns true if the character can move" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "03EF", + "member": "SetGenerateCarsAround", + "name": "SET_GENERATE_CARS_AROUND_CAMERA", + "num_params": 1, + "short_desc": "Enables traffic spawn at the camera position, otherwise at the player position (default)" + }, + { + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "03F0", + "member": "ClearSmallPrints", + "name": "CLEAR_SMALL_PRINTS", + "num_params": 0, + "short_desc": "Clears small messages from the screen" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Crane", + "id": "03F1", + "member": "HasMilitaryCollectedAllCars", + "name": "HAS_MILITARY_CRANE_COLLECTED_ALL_CARS", + "num_params": 0, + "short_desc": "Checks if the military crane has collected all vehicles" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "03F2", + "member": "SetUpsidedownNotDamaged", + "name": "SET_UPSIDEDOWN_CAR_NOT_DAMAGED", + "num_params": 2, + "short_desc": "Disables the car from exploding when it is upside down, as long as the player is not in the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "03F3", + "member": "CanStartMission", + "name": "CAN_PLAYER_START_MISSION", + "num_params": 1, + "short_desc": "Returns true if the player can move" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "class": "Player", + "id": "03F4", + "member": "MakeSafeForCutscene", + "name": "MAKE_PLAYER_SAFE_FOR_CUTSCENE", + "num_params": 1, + "short_desc": "Makes the player safe, putting the character in a safe location" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "03F5", + "member": "UseCommands", + "name": "USE_TEXT_COMMANDS", + "num_params": 1, + "short_desc": "Enables text and texture drawing" + }, + { + "input": [ + { + "name": "type", + "type": "PedType" + }, + { + "name": "threatMask", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "03F6", + "member": "SetThreatForPedType", + "name": "SET_THREAT_FOR_PED_TYPE", + "num_params": 2, + "short_desc": "Sets the ped type's hostility to other ped types" + }, + { + "input": [ + { + "name": "type", + "type": "PedType" + }, + { + "name": "threatMask", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "03F7", + "member": "ClearThreatForPedType", + "name": "CLEAR_THREAT_FOR_PED_TYPE", + "num_params": 2, + "short_desc": "Clears the ped type's hostility to other ped types" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "primaryColour", + "type": "int", + "source": "var_any" + }, + { + "name": "secondaryColour", + "type": "int", + "source": "var_any" + } + ], + "class": "Car", + "id": "03F8", + "member": "GetColors", + "name": "GET_CAR_COLOURS", + "num_params": 3, + "short_desc": "Gets the car's primary and secondary colors" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "03F9", + "member": "SetAllCarsCanBeDamaged", + "name": "SET_ALL_CARS_CAN_BE_DAMAGED", + "num_params": 1, + "short_desc": "Sets whether all cars receive damage" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "03FA", + "member": "SetCanBeDamaged", + "name": "SET_CAR_CAN_BE_DAMAGED", + "num_params": 2, + "short_desc": "Sets whether the car receives damage" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "03FB", + "name": "MAKE_PLAYER_UNSAFE", + "num_params": 0 + }, + { + "input": [ + { + "name": "level", + "type": "LevelName" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "03FC", + "member": "LoadCollision", + "name": "LOAD_COLLISION", + "num_params": 1, + "short_desc": "Loads the level (island) collision" + }, + { + "output": [ + { + "name": "health", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Object", + "id": "03FD", + "member": "GetBodyCastHealth", + "name": "GET_BODY_CAST_HEALTH", + "num_params": 1, + "short_desc": "Stores the health of the bodycast object used in the 'Plaster Blaster' mission" + }, + { + "input": [ + { + "name": "char1", + "type": "Char" + }, + { + "name": "char2", + "type": "Char" + }, + { + "name": "duration", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "03FE", + "member": "SetCharsChatting", + "name": "SET_CHARS_CHATTING", + "num_params": 3, + "short_desc": "Makes the two characters chat for the specified period of time" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "03FF", + "name": "MAKE_PLAYER_SAFE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0400", + "member": "SetStaysInCurrentLevel", + "name": "SET_CAR_STAYS_IN_CURRENT_LEVEL", + "num_params": 2, + "short_desc": "Forces the AI-controlled vehicle to stay on the current island" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0401", + "member": "SetStaysInCurrentLevel", + "name": "SET_CHAR_STAYS_IN_CURRENT_LEVEL", + "num_params": 2, + "short_desc": "Forces the AI-controlled character to stay on the current island" + }, + { + "input": [ + { + "name": "pad", + "type": "PadId" + }, + { + "name": "delay", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pad", + "id": "0402", + "member": "SetDrunkInputDelay", + "name": "SET_DRUNK_INPUT_DELAY", + "num_params": 2, + "short_desc": "Affects the delay to the left and right steering while driving" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "amount", + "type": "int" + } + ], + "class": "Char", + "id": "0403", + "member": "SetMoney", + "name": "SET_CHAR_MONEY", + "num_params": 2, + "short_desc": "Sets the character's cash sum, setting how much cash they will drop when dead" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0404", + "name": "INCREASE_CHAR_MONEY", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "xOffset", + "type": "float" + }, + { + "name": "yOffset", + "type": "float" + }, + { + "name": "zOffset", + "type": "float" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "class": "Object", + "id": "0405", + "member": "GetOffsetInWorldCoords", + "name": "GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS", + "num_params": 7, + "short_desc": "Returns the object's coordinates with an offset" + }, + { + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0406", + "member": "RegisterLifeSaved", + "name": "REGISTER_LIFE_SAVED", + "num_params": 0, + "short_desc": "Increments the number of people saved in an ambulance stat by 1" + }, + { + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0407", + "member": "RegisterCriminalCaught", + "name": "REGISTER_CRIMINAL_CAUGHT", + "num_params": 0, + "short_desc": "Increments the number of criminals killed on Vigilante mission stat by 1" + }, + { + "input": [ + { + "name": "highestLevel", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0408", + "member": "RegisterAmbulanceLevel", + "name": "REGISTER_AMBULANCE_LEVEL", + "num_params": 1, + "short_desc": "Saves the highest paramedic mission level stat" + }, + { + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0409", + "member": "RegisterFireExtinguished", + "name": "REGISTER_FIRE_EXTINGUISHED", + "num_params": 0, + "short_desc": "Increments the number of fires extinguished stat by 1" + }, + { + "input": [ + { + "name": "self", + "type": "Phone" + } + ], + "class": "Phone", + "id": "040A", + "member": "TurnOn", + "name": "TURN_PHONE_ON", + "num_params": 1, + "short_desc": "Makes the phone ringing" + }, + { + "input": [ + { + "name": "timeInSec", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "040B", + "member": "RegisterLongestDodoFlight", + "name": "REGISTER_LONGEST_DODO_FLIGHT", + "num_params": 1, + "short_desc": "Saves the longest flight in Dodo stat" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "xOffset", + "type": "float" + }, + { + "name": "yOffset", + "type": "float" + }, + { + "name": "zOffset", + "type": "float" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "class": "Car", + "id": "040C", + "member": "GetOffsetInWorldCoords", + "name": "GET_OFFSET_FROM_CAR_IN_WORLD_COORDS", + "num_params": 7, + "short_desc": "Returns the coordinates of an offset of the vehicle's position, depending on the vehicle's rotation" + }, + { + "input": [ + { + "name": "total", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "040D", + "member": "SetTotalNumberOfKillFrenzies", + "name": "SET_TOTAL_NUMBER_OF_KILL_FRENZIES", + "num_params": 1, + "short_desc": "Sets the total number of rampages passed stat" + }, + { + "attrs": { + "is_static": true + }, + "class": "Rc", + "id": "040E", + "member": "BlowUpBuggy", + "name": "BLOW_UP_RC_BUGGY", + "num_params": 0, + "short_desc": "Destroys the remote-control vehicle" + }, + { + "input": [ + { + "name": "carIndex", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "ChaseScene", + "id": "040F", + "member": "RemoveCarFromChase", + "name": "REMOVE_CAR_FROM_CHASE", + "num_params": 1, + "short_desc": "Removes the car from the chase scene" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "0410", + "member": "IsFrench", + "name": "IS_FRENCH_GAME", + "num_params": 0, + "short_desc": "Returns true if the game language is set to French" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "0411", + "member": "IsGerman", + "name": "IS_GERMAN_GAME", + "num_params": 0, + "short_desc": "Returns true if the game language is set to German" + }, + { + "id": "0412", + "name": "COMMAND_0412", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "0413", + "member": "SetFadeInAfterNextArrest", + "name": "SET_FADE_IN_AFTER_NEXT_ARREST", + "num_params": 1, + "short_desc": "Sets whether the next arrest will cause the screen to fade in" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "0414", + "member": "SetFadeInAfterNextDeath", + "name": "SET_FADE_IN_AFTER_NEXT_DEATH", + "num_params": 1, + "short_desc": "Sets whether the next death will cause the screen to fade in" + }, + { + "input": [ + { + "name": "gangId", + "type": "GangType" + }, + { + "name": "override", + "type": "GangModelOverride" + } + ], + "attrs": { + "is_static": true + }, + "class": "Gang", + "id": "0415", + "member": "SetPedModelPreference", + "name": "SET_GANG_PED_MODEL_PREFERENCE", + "num_params": 2, + "short_desc": "Forces the game to spawn the gang members based on the specified override value" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0416", + "member": "SetUsePednodeSeek", + "name": "SET_CHAR_USE_PEDNODE_SEEK", + "num_params": 2, + "short_desc": "Sets whether the character should follow paths set for pedestrians" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0417", + "member": "SwitchWeapons", + "name": "SWITCH_VEHICLE_WEAPONS", + "num_params": 2, + "short_desc": "Enables or disabled guns on the vehicle that has them (e.g. boats)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0418", + "member": "SetGetOutOfJailFree", + "name": "SET_GET_OUT_OF_JAIL_FREE", + "num_params": 2, + "short_desc": "Sets whether the player loses the cash when gets busted (works once)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0419", + "member": "SetFreeHealthCare", + "name": "SET_FREE_HEALTH_CARE", + "num_params": 2, + "short_desc": "Sets whether the player loses the cash when gets wasted (works once)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "door", + "type": "CarDoor" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "041A", + "member": "IsDoorClosed", + "name": "IS_CAR_DOOR_CLOSED", + "num_params": 2, + "short_desc": "Returns true if the vehicle's door is present and closed" + }, + { + "attrs": { + "is_nop": true + }, + "id": "041B", + "name": "LOAD_AND_LAUNCH_MISSION", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "input": [ + { + "name": "index", + "type": "int" + } + ], + "id": "041C", + "name": "LOAD_AND_LAUNCH_MISSION_INTERNAL", + "num_params": 1, + "short_desc": "Loads a mission from the list defined in the main.scm header", + "class": "Mission", + "member": "LoadAndLaunchInternal", + "attrs": { + "is_static": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Object", + "id": "041D", + "member": "SetDrawLast", + "name": "SET_OBJECT_DRAW_LAST", + "num_params": 2, + "short_desc": "Sets the specified object to always draw on top of other objects" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "output": [ + { + "name": "ammo", + "type": "int", + "source": "var_any" + } + ], + "class": "Player", + "id": "041E", + "member": "GetAmmoInWeapon", + "name": "GET_AMMO_IN_PLAYER_WEAPON", + "num_params": 3, + "short_desc": "Gets the amount of ammo in the specified weapon of the player" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "output": [ + { + "name": "ammo", + "type": "int", + "source": "var_any" + } + ], + "id": "041F", + "name": "GET_AMMO_IN_CHAR_WEAPON", + "num_params": 3, + "short_desc": "Gets the amount of ammo in the specified weapon of the character", + "class": "Char", + "member": "GetAmmoInWeapon" + }, + { + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0420", + "member": "RegisterKillFrenzyPassed", + "name": "REGISTER_KILL_FRENZY_PASSED", + "num_params": 0, + "short_desc": "Increments the number of rampages passed stat by 1" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "soundId", + "type": "ScriptSound" + } + ], + "class": "Char", + "id": "0421", + "member": "SetSay", + "name": "SET_CHAR_SAY", + "num_params": 2, + "short_desc": "Makes the character shout once (sound ids 95, 96, 101, 103, 104, 105)" + }, + { + "input": [ + { + "name": "value", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0422", + "member": "SetNearClip", + "name": "SET_NEAR_CLIP", + "num_params": 1, + "short_desc": "Sets the near clip" + }, + { + "input": [ + { + "name": "channel", + "type": "RadioChannel" + }, + { + "name": "startFromMs", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Audio", + "id": "0423", + "member": "SetRadioChannel", + "name": "SET_RADIO_CHANNEL", + "num_params": 2, + "short_desc": "Sets the current radio station that is playing, if the player is in a vehicle" + }, + { + "input": [ + { + "name": "levelId", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "0424", + "member": "OverrideHospital", + "name": "OVERRIDE_HOSPITAL_LEVEL", + "num_params": 1, + "short_desc": "Overrides the hospital level (island)" + }, + { + "input": [ + { + "name": "levelId", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Restart", + "id": "0425", + "member": "OverridePolice", + "name": "OVERRIDE_POLICE_STATION_LEVEL", + "num_params": 1, + "short_desc": "Overrides the police station level (island)" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Weather", + "id": "0426", + "member": "ForceRain", + "name": "FORCE_RAIN", + "num_params": 1, + "short_desc": "Forces rain everywhere" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Garage", + "id": "0427", + "member": "DoesContainCar", + "name": "DOES_GARAGE_CONTAIN_CAR", + "num_params": 2, + "short_desc": "Returns true if the garage contains the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "traction", + "type": "float" + } + ], + "class": "Car", + "id": "0428", + "member": "SetTraction", + "name": "SET_CAR_TRACTION", + "num_params": 2, + "short_desc": "Overrides the default vehicle traction value of 1.0" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "0429", + "member": "AreMeasurementsInMeters", + "name": "ARE_MEASUREMENTS_IN_METRES", + "num_params": 0, + "short_desc": "Returns true if the game uses metric measurements (meters instead of feet)" + }, + { + "input": [ + { + "name": "meters", + "type": "float" + } + ], + "output": [ + { + "name": "feet", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true, + "is_overload": true + }, + "class": "Math", + "id": "042A", + "member": "ConvertMetersToFeet", + "name": "CONVERT_METRES_TO_FEET", + "num_params": 2, + "short_desc": "Returns the result of converting meters to feet" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "042B", + "member": "MarkRoadsBetweenLevels", + "name": "MARK_ROADS_BETWEEN_LEVELS", + "num_params": 6, + "short_desc": "Marks all car path nodes in the given 3D area as transitional between two levels (islands)" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "042C", + "member": "MarkPedRoadsBetweenLevels", + "name": "MARK_PED_ROADS_BETWEEN_LEVELS", + "num_params": 6, + "short_desc": "Marks all ped path nodes in the given 3D area as transitional between two levels (islands)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "042D", + "member": "SetAvoidLevelTransitions", + "name": "SET_CAR_AVOID_LEVEL_TRANSITIONS", + "num_params": 2, + "short_desc": "Sets whether the vehicle will avoid paths between levels (0426)" + }, + { + "attrs": { + "is_nop": true + }, + "id": "042E", + "input": [ + { + "name": "_p1", + "type": "int" + }, + { + "name": "_p2", + "type": "int" + } + ], + "name": "SET_CHAR_AVOID_LEVEL_TRANSITIONS", + "num_params": 2, + "short_desc": "Does nothing" + }, + { + "input": [ + { + "name": "type", + "type": "PedType" + }, + { + "name": "threatMask", + "type": "int" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "042F", + "member": "IsThreatForPedType", + "name": "IS_THREAT_FOR_PED_TYPE", + "num_params": 2, + "short_desc": "Returns true if the ped type is hostile to other ped types" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "0430", + "member": "ClearAreaOfChars", + "name": "CLEAR_AREA_OF_CHARS", + "num_params": 6, + "short_desc": "Clears all pedestrians from the given area" + }, + { + "input": [ + { + "name": "numMissions", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0431", + "member": "SetTotalNumberOfMissions", + "name": "SET_TOTAL_NUMBER_OF_MISSIONS", + "num_params": 1, + "short_desc": "Sets the total number of missions that can be completed" + }, + { + "input": [ + { + "name": "meters", + "type": "int" + } + ], + "output": [ + { + "name": "feet", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true, + "is_overload": true + }, + "class": "Math", + "id": "0432", + "member": "ConvertMetersToFeet", + "name": "CONVERT_METRES_TO_FEET_INT", + "num_params": 2, + "short_desc": "Returns the result of converting meters to feet" + }, + { + "input": [ + { + "name": "statId", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0433", + "member": "RegisterFastestTime", + "name": "REGISTER_FASTEST_TIME", + "num_params": 2, + "short_desc": "Updates the stat if the value is lower than the current stat value" + }, + { + "input": [ + { + "name": "statId", + "type": "int" + }, + { + "name": "value", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0434", + "member": "RegisterHighestScore", + "name": "REGISTER_HIGHEST_SCORE", + "num_params": 2, + "short_desc": "Updates the stat if the value is higher than the current stat value" + }, + { + "id": "0435", + "name": "COMMAND_0435", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "seatIndex", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "0436", + "member": "IsPassengerSeatFree", + "name": "IS_CAR_PASSENGER_SEAT_FREE", + "num_params": 2, + "short_desc": "Returns true if the specified car seat is empty" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "seatIndex", + "type": "int" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "id": "0437", + "name": "GET_CHAR_IN_CAR_PASSENGER_SEAT", + "num_params": 3, + "short_desc": "Returns the handle of a character sitting in the specified car seat", + "class": "Car", + "member": "GetCharInPassengerSeat" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0438", + "member": "SetIsChrisCriminal", + "name": "SET_CHAR_IS_CHRIS_CRIMINAL", + "num_params": 2, + "short_desc": "Sets whether the character is a psychotic killer or not" + }, + { + "id": "0439", + "name": "COMMAND_0439", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "attrs": { + "is_static": true + }, + "class": "Credits", + "id": "043A", + "member": "Stop", + "name": "STOP_CREDITS", + "num_params": 0, + "short_desc": "Stops the credits text from showing" + }, + { + "attrs": { + "is_static": true, + "is_condition": true + }, + "class": "Credits", + "id": "043B", + "member": "AreFinished", + "name": "ARE_CREDITS_FINISHED", + "num_params": 0, + "short_desc": "Returns true if the credits have finished" + }, + { + "input": [ + { + "name": "type", + "type": "int" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "strengthX", + "type": "float" + }, + { + "name": "strengthY", + "type": "float" + }, + { + "name": "strengthZ", + "type": "float" + }, + { + "name": "scale", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Fx", + "id": "043C", + "member": "CreateSingleParticle", + "name": "CREATE_SINGLE_PARTICLE", + "num_params": 8, + "short_desc": "Creates a single particle at the specified coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "043D", + "member": "SetIgnoreLevelTransitions", + "name": "SET_CHAR_IGNORE_LEVEL_TRANSITIONS", + "num_params": 2, + "short_desc": "Prevents the character from being despawned when the current level (island) changes" + }, + { + "input": [ + { + "name": "carIndex", + "type": "int" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "class": "ChaseScene", + "id": "043E", + "member": "GetChaseCar", + "name": "GET_CHASE_CAR", + "num_params": 2, + "short_desc": "Gets the control over a car from the chase scene", + "attrs": { + "is_constructor": true + } + }, + { + "attrs": { + "is_static": true, + "is_nop": true + }, + "class": "Fx", + "id": "043F", + "member": "StartBoatFoamAnimation", + "name": "START_BOAT_FOAM_ANIMATION", + "num_params": 0, + "short_desc": "Stores the current time when the foam animation starts (UNUSED)" + }, + { + "input": [ + { + "name": "object", + "type": "CutsceneObject" + } + ], + "attrs": { + "is_static": true + }, + "class": "Fx", + "id": "0440", + "member": "UpdateBoatFoamAnimation", + "name": "UPDATE_BOAT_FOAM_ANIMATION", + "num_params": 1, + "short_desc": "Updates the steaming effect around the specified cutscene object during the final scene of the 'Bomb Da Base: Act II' mission" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Audio", + "id": "0441", + "member": "SetMusicDoesFade", + "name": "SET_MUSIC_DOES_FADE", + "num_params": 1, + "short_desc": "Sets whether sounds should fade along with the screen" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "0442", + "member": "SetIntroIsPlaying", + "name": "SET_INTRO_IS_PLAYING", + "num_params": 1, + "short_desc": "Specifies that the intro cutscene is playing" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "hooker", + "type": "Char" + } + ], + "class": "Player", + "id": "0443", + "member": "SetHooker", + "name": "SET_PLAYER_HOOKER", + "num_params": 2, + "short_desc": "Makes the character act as the player's hooker" + }, + { + "attrs": { + "is_static": true + }, + "class": "Audio", + "id": "0444", + "member": "PlayEndOfGameTune", + "name": "PLAY_END_OF_GAME_TUNE", + "num_params": 0, + "short_desc": "Plays the theme tune" + }, + { + "attrs": { + "is_static": true + }, + "class": "Audio", + "id": "0445", + "member": "StopEndOfGameTune", + "name": "STOP_END_OF_GAME_TUNE", + "num_params": 0, + "short_desc": "Stops the theme tune" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "modelId", + "type": "model_vehicle", + "source": "var_any" + } + ], + "class": "Car", + "id": "0446", + "member": "GetModel", + "name": "GET_CAR_MODEL", + "num_params": 2, + "short_desc": "Returns the car's model id" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0447", + "member": "IsSittingInCar", + "name": "IS_PLAYER_SITTING_IN_CAR", + "num_params": 2, + "short_desc": "Returns true if the player is in the specified vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0448", + "member": "IsSittingInAnyCar", + "name": "IS_PLAYER_SITTING_IN_ANY_CAR", + "num_params": 1, + "short_desc": "Returns true if the player is sitting in any vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "ScriptFire" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "ScriptFire", + "id": "0449", + "member": "SetAudio", + "name": "SET_SCRIPT_FIRE_AUDIO", + "num_params": 2, + "short_desc": "Enables or disables the audio of the script fire" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "044A", + "member": "AreAnyCarCheatsActivated", + "name": "ARE_ANY_CAR_CHEATS_ACTIVATED", + "num_params": 0, + "short_desc": "Returns true if the player has used any of the cheats" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "044B", + "member": "SetSuffersCriticalHits", + "name": "SET_CHAR_SUFFERS_CRITICAL_HITS", + "num_params": 2, + "short_desc": "Sets whether the specified character is immune to headshots" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "044C", + "member": "IsLiftingAPhone", + "name": "IS_PLAYER_LIFTING_A_PHONE", + "num_params": 1, + "short_desc": "Returns true if the player is talking over the phone (024A)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "044D", + "member": "IsSittingInCar", + "name": "IS_CHAR_SITTING_IN_CAR", + "num_params": 2, + "short_desc": "Returns true if the character is sitting in the specified vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "044E", + "member": "IsSittingInAnyCar", + "name": "IS_CHAR_SITTING_IN_ANY_CAR", + "num_params": 1, + "short_desc": "Returns true if the character is sitting in any vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "044F", + "member": "IsOnFoot", + "name": "IS_PLAYER_ON_FOOT", + "num_params": 1, + "short_desc": "Returns true if the player is on foot, and not occupying a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0450", + "member": "IsOnFoot", + "name": "IS_CHAR_ON_FOOT", + "num_params": 1, + "short_desc": "Returns true if the character is on foot, and not occupying a vehicle" + }, + { + "input": [ + { + "name": "level", + "type": "LevelName" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "0451", + "member": "LoadCollisionWithScreen", + "name": "LOAD_COLLISION_WITH_SCREEN", + "num_params": 1, + "short_desc": "Loads a level (island) collision with a greeting message" + }, + { + "input": [ + { + "name": "txdName", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "0452", + "member": "LoadSplash", + "name": "LOAD_SPLASH_SCREEN", + "num_params": 1, + "short_desc": "Loads the specified splash screen" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0453", + "member": "SetIgnoreLevelTransitions", + "name": "SET_CAR_IGNORE_LEVEL_TRANSITIONS", + "num_params": 2, + "short_desc": "Prevents the vehicle from being despawned when the current level (island) changes" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0454", + "member": "MakeABitStronger", + "name": "MAKE_CRAIGS_CAR_A_BIT_STRONGER", + "num_params": 2, + "short_desc": "Makes the car more resistant to physical damage" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "0455", + "member": "SetOnPathToPlayer", + "name": "SET_JAMES_CAR_ON_PATH_TO_PLAYER", + "num_params": 1, + "short_desc": "Teleports the vehicle nearby the player's location" + }, + { + "attrs": { + "is_static": true + }, + "class": "Audio", + "id": "0456", + "member": "LoadEndOfGameTune", + "name": "LOAD_END_OF_GAME_TUNE", + "num_params": 0, + "short_desc": "Loads the end of game music" + }, + { + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0457", + "member": "EnablePlayerControl", + "name": "ENABLE_PLAYER_CONTROL_CAMERA", + "num_params": 0, + "short_desc": "Gives camera control to the player" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "class": "Object", + "id": "0458", + "member": "SetRotation", + "name": "SET_OBJECT_ROTATION", + "num_params": 4, + "short_desc": "Sets the object rotation along X, Y and Z axis" + }, + { + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0459", + "member": "GetDebugCoordinates", + "name": "GET_DEBUG_CAMERA_COORDINATES", + "num_params": 3, + "short_desc": "Returns the debug camera position" + }, + { + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "045A", + "member": "GetDebugFrontVector", + "name": "GET_DEBUG_CAMERA_FRONT_VECTOR", + "num_params": 3, + "short_desc": "Stores the debug camera front vector" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "045B", + "member": "IsTargettingAnyChar", + "name": "IS_PLAYER_TARGETTING_ANY_CHAR", + "num_params": 1, + "short_desc": "Returns true if the player is aiming at any character" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "handle", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "045C", + "member": "IsTargettingChar", + "name": "IS_PLAYER_TARGETTING_CHAR", + "num_params": 2, + "short_desc": "Returns true if the player is aiming at the specified character" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "handle", + "type": "Object" + } + ], + "id": "045D", + "name": "IS_PLAYER_TARGETTING_OBJECT", + "num_params": 2, + "short_desc": "Returns true if the player is aiming at the specified object", + "attrs": { + "is_condition": true + }, + "class": "Player", + "member": "IsTargettingObject" + }, + { + "input": [ + { + "name": "name", + "type": "string" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "045E", + "name": "TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME", + "num_params": 1, + "short_desc": "Ends any script whose name (03A4) matches the given string" + }, + { + "input": [ + { + "name": "offsetLeft", + "type": "float" + }, + { + "name": "offsetTop", + "type": "float" + }, + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "045F", + "member": "DisplayWithNumber", + "name": "DISPLAY_TEXT_WITH_NUMBER", + "num_params": 4, + "short_desc": "Draws text with one number" + }, + { + "input": [ + { + "name": "offsetLeft", + "type": "float" + }, + { + "name": "offsetTop", + "type": "float" + }, + { + "name": "key", + "type": "gxt_key" + }, + { + "name": "num1", + "type": "int" + }, + { + "name": "num2", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0460", + "member": "DisplayWith2Numbers", + "name": "DISPLAY_TEXT_WITH_2_NUMBERS", + "num_params": 5, + "short_desc": "Draws text with two numbers" + }, + { + "attrs": { + "is_static": true + }, + "class": "Mission", + "id": "0461", + "member": "Fail", + "name": "FAIL_CURRENT_MISSION", + "num_params": 0, + "short_desc": "Terminates the active mission by executing its mission cleanup routine" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "range", + "type": "float" + }, + { + "name": "modelId", + "type": "model_object" + } + ], + "output": [ + { + "name": "handle", + "type": "Object", + "source": "var_any" + } + ], + "class": "World", + "id": "0462", + "member": "GetClosestObjectOfType", + "name": "GET_CLOSEST_OBJECT_OF_TYPE", + "num_params": 6, + "short_desc": "Returns the handle of an object with the specified model located in the 2D area, or -1 otherwise", + "attrs": { + "is_constructor": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "target", + "type": "Object" + }, + { + "name": "offsetX", + "type": "float" + }, + { + "name": "offsetY", + "type": "float" + }, + { + "name": "offsetZ", + "type": "float" + } + ], + "class": "Object", + "id": "0463", + "member": "PlaceRelativeToObject", + "name": "PLACE_OBJECT_RELATIVE_TO_OBJECT", + "num_params": 5, + "short_desc": "Places the object relative to the other object" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "0464", + "member": "SetAllOccupantsLeave", + "name": "SET_ALL_OCCUPANTS_OF_CAR_LEAVE_CAR", + "num_params": 1, + "short_desc": "Sets the driver and all passengers' objective to leave the vehicle" + }, + { + "input": [ + { + "name": "_p1", + "type": "float" + }, + { + "name": "time", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0465", + "member": "SetInterpolationParameters", + "name": "SET_INTERPOLATION_PARAMETERS", + "num_params": 2, + "short_desc": "Sets how long the camera transition will last" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "destX", + "type": "float" + }, + { + "name": "destY", + "type": "float" + } + ], + "output": [ + { + "name": "nodeX", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeY", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeZ", + "type": "float", + "source": "var_any" + }, + { + "name": "angle", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "0466", + "member": "GetClosestCarNodeWithHeadingTowardsPoint", + "name": "GET_CLOSEST_CAR_NODE_WITH_HEADING_TOWARDS_POINT", + "num_params": 9, + "short_desc": "Returns the position and heading of the closest vehicle path node to the specified position and with rotation towards the point" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "destX", + "type": "float" + }, + { + "name": "destY", + "type": "float" + } + ], + "output": [ + { + "name": "nodeX", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeY", + "type": "float", + "source": "var_any" + }, + { + "name": "nodeZ", + "type": "float", + "source": "var_any" + }, + { + "name": "angle", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "0467", + "member": "GetClosestCarNodeWithHeadingAwayPoint", + "name": "GET_CLOSEST_CAR_NODE_WITH_HEADING_AWAY_POINT", + "num_params": 9, + "short_desc": "Returns the position and heading of the closest vehicle path node to the specified position and with rotation away from the point" + }, + { + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0468", + "member": "GetDebugPointAt", + "name": "GET_DEBUG_CAMERA_POINT_AT", + "num_params": 3, + "short_desc": "Stores the location the debug camera is pointing to" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "xOffset", + "type": "float" + }, + { + "name": "yOffset", + "type": "float" + }, + { + "name": "zOffset", + "type": "float" + }, + { + "name": "position", + "type": "int" + }, + { + "name": "angleLimit", + "type": "float" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "class": "Char", + "id": "0469", + "member": "AttachToCar", + "name": "ATTACH_CHAR_TO_CAR", + "num_params": 8, + "short_desc": "Puts character into a turret on the vehicle, allowing them to shoot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "046A", + "member": "DetachFromCar", + "name": "DETACH_CHAR_FROM_CAR", + "num_params": 1, + "short_desc": "Takes the character out of turret mode (0464)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "046B", + "member": "SetChangeLane", + "name": "SET_CAR_CHANGE_LANE", + "num_params": 2, + "short_desc": "Set's whether the AI driver will occupy the fast (left) lane on a two-way road" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "046C", + "member": "ClearLastWeaponDamage", + "name": "CLEAR_CHAR_LAST_WEAPON_DAMAGE", + "num_params": 1, + "short_desc": "Clears the character's last weapon damage (see 031D)" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "046D", + "member": "ClearLastWeaponDamage", + "name": "CLEAR_CAR_LAST_WEAPON_DAMAGE", + "num_params": 1, + "short_desc": "Clears the vehicle's last weapon damage (see 031E)" + }, + { + "id": "046E", + "name": "COMMAND_046E", + "num_params": 10, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + }, + { + "name": "_p7", + "type": "any" + }, + { + "name": "_p8", + "type": "any" + }, + { + "name": "_p9", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "zone", + "type": "zone_key" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Zone", + "id": "046F", + "member": "GetRandomCop", + "name": "GET_RANDOM_COP_IN_ZONE", + "num_params": 2, + "short_desc": "Returns the handle of a random law enforcement ped in the map zone" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "Char", + "id": "0470", + "member": "SetObjFleeCar", + "name": "SET_CHAR_OBJ_FLEE_CAR", + "num_params": 2, + "short_desc": "Makes the character leave their car and run away from it" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "class": "Car", + "id": "0471", + "member": "GetDriver", + "name": "GET_DRIVER_OF_CAR", + "num_params": 2, + "short_desc": "Returns the car's driver handle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "output": [ + { + "name": "number", + "type": "int", + "source": "var_any" + } + ], + "class": "Char", + "id": "0472", + "member": "GetNumberOfFollowers", + "name": "GET_NUMBER_OF_FOLLOWERS", + "num_params": 2, + "short_desc": "Returns the number of members which are in a group of the character (01DE)" + }, + { + "input": [ + { + "name": "handle", + "type": "Player" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "angle", + "type": "float" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "attrs": { + "is_static": true + }, + "class": "Rc", + "id": "0473", + "member": "GiveModelToPlayer", + "name": "GIVE_REMOTE_CONTROLLED_MODEL_TO_PLAYER", + "num_params": 6, + "short_desc": "Puts the player in control of a remote-control vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "weaponType", + "type": "WeaponType", + "source": "var_any" + } + ], + "id": "0474", + "name": "GET_CURRENT_PLAYER_WEAPON", + "num_params": 2, + "class": "Player", + "member": "GetCurrentWeapon", + "short_desc": "Returns the type of weapon that the player is currently holding" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "output": [ + { + "name": "weaponType", + "type": "WeaponType", + "source": "var_any" + } + ], + "class": "Char", + "id": "0475", + "member": "GetCurrentWeapon", + "name": "GET_CURRENT_CHAR_WEAPON", + "num_params": 2, + "short_desc": "Returns the type of weapon that the character is currently holding" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0476", + "member": "LocateAnyMeansObject2D", + "name": "LOCATE_CHAR_ANY_MEANS_OBJECT_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the object" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0477", + "member": "LocateOnFootObject2D", + "name": "LOCATE_CHAR_ON_FOOT_OBJECT_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the object on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0478", + "member": "LocateInCarObject2D", + "name": "LOCATE_CHAR_IN_CAR_OBJECT_2D", + "num_params": 5, + "short_desc": "Returns true if the character is within the 2D radius of the object in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0479", + "member": "LocateAnyMeansObject3D", + "name": "LOCATE_CHAR_ANY_MEANS_OBJECT_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the object" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "047A", + "member": "LocateOnFootObject3D", + "name": "LOCATE_CHAR_ON_FOOT_OBJECT_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the object on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "047B", + "member": "LocateInCarObject3D", + "name": "LOCATE_CHAR_IN_CAR_OBJECT_3D", + "num_params": 6, + "short_desc": "Returns true if the character is within the 3D radius of the object in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "actionId", + "type": "TempAction" + }, + { + "name": "timeInMs", + "type": "int" + } + ], + "class": "Car", + "id": "047C", + "member": "SetTempAction", + "name": "SET_CAR_TEMP_ACTION", + "num_params": 3, + "short_desc": "Makes the AI driver perform the action in the vehicle for the specified period of time" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "timeInMs", + "type": "int" + } + ], + "class": "Car", + "id": "047D", + "member": "SetHandbrakeTurnRight", + "name": "SET_CAR_HANDBRAKE_TURN_RIGHT", + "num_params": 2, + "short_desc": "Makes the AI driver in the vehicle turn hard right and brake for the specified period of time" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "timeInMs", + "type": "int" + } + ], + "class": "Car", + "id": "047E", + "member": "SetHandbrakeStop", + "name": "SET_CAR_HANDBRAKE_STOP", + "num_params": 2, + "short_desc": "Makes the AI driver in the vehicle brake for the specified period of time" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "047F", + "member": "IsOnAnyBike", + "name": "IS_CHAR_ON_ANY_BIKE", + "num_params": 1, + "short_desc": "Returns true if the character is riding a bike" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "0480", + "member": "LocateSniperBullet2D", + "name": "LOCATE_SNIPER_BULLET_2D", + "num_params": 5, + "short_desc": "Returns true if a sniper bullet is flying in the specified 2D area" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "topRightX", + "type": "float" + }, + { + "name": "topRightY", + "type": "float" + }, + { + "name": "topRightZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "0481", + "member": "LocateSniperBullet3D", + "name": "LOCATE_SNIPER_BULLET_3D", + "num_params": 7, + "short_desc": "Returns true if a sniper bullet is flying in the specified 3D area" + }, + { + "input": [ + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "output": [ + { + "name": "seatsNum", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Car", + "id": "0482", + "member": "GetNumberOfSeatsInModel", + "name": "GET_NUMBER_OF_SEATS_IN_MODEL", + "num_params": 2, + "short_desc": "Returns the number of seats in the vehicle model" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "id": "0483", + "name": "IS_PLAYER_ON_ANY_BIKE", + "num_params": 1, + "class": "Player", + "member": "IsOnAnyBike", + "attrs": { + "is_condition": true + }, + "short_desc": "Returns true if the player is driving a bike" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0484", + "member": "IsLyingDown", + "name": "IS_CHAR_LYING_DOWN", + "num_params": 1, + "short_desc": "Returns true if the character has fallen" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "pedType", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0485", + "member": "CanSeeDeadChar", + "name": "CAN_CHAR_SEE_DEAD_CHAR", + "num_params": 2, + "short_desc": "Returns true if the character sees a dead body of the given type" + }, + { + "input": [ + { + "name": "value", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Char", + "id": "0486", + "member": "SetEnterCarRangeMultiplier", + "name": "SET_ENTER_CAR_RANGE_MULTIPLIER", + "num_params": 1, + "short_desc": "Sets a multiplier for the range of a character's ability to go and occupy a vehicle" + }, + { + "input": [ + { + "name": "value", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Char", + "id": "0487", + "member": "SetThreatReactionRangeMultiplier", + "name": "SET_THREAT_REACTION_RANGE_MULTIPLIER", + "num_params": 1, + "short_desc": "Sets a multiplier for the range of a character's ability to react on deadly events around", + "versions": [ + "1.0" + ] + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "timer", + "type": "int" + } + ], + "class": "Char", + "id": "0488", + "member": "SetCeaseAttackTimer", + "name": "SET_CHAR_CEASE_ATTACK_TIMER", + "num_params": 2, + "short_desc": "Sets the maximum time the character can withstand the damage" + }, + { + "input": [ + { + "name": "player", + "type": "Player" + } + ], + "output": [ + { + "name": "car", + "type": "Car", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Rc", + "id": "0489", + "member": "GetCar", + "name": "GET_REMOTE_CONTROLLED_CAR", + "num_params": 2, + "short_desc": "Returns the player's radio-controlled vehicle" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "048A", + "member": "IsPcVersion", + "name": "IS_PC_VERSION", + "num_params": 0, + "short_desc": "Returns true on PC versions of the game" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "048B", + "name": "REPLAY", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "048C", + "name": "IS_REPLAY_PLAYING", + "num_params": 0 + }, + { + "input": [ + { + "name": "modelId", + "type": "model_any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Streaming", + "id": "048D", + "member": "IsModelAvailable", + "name": "IS_MODEL_AVAILABLE", + "num_params": 1, + "short_desc": "Returns true if the specified model exists in the loaded " + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "048E", + "member": "ShutUp", + "name": "SHUT_CHAR_UP", + "num_params": 2, + "short_desc": "Sets the character's ability to talk" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Rc", + "id": "048F", + "member": "SetEnableDetonate", + "name": "SET_ENABLE_RC_DETONATE", + "num_params": 1, + "short_desc": "Enables a remote-control vehicle detonation" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "routeSeed", + "type": "int" + } + ], + "class": "Car", + "id": "0490", + "member": "SetRandomRouteSeed", + "name": "SET_CAR_RANDOM_ROUTE_SEED", + "num_params": 2, + "short_desc": "Sets the car on a specific route" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "0491", + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "member": "IsAnyPickupAtCoords", + "name": "IS_ANY_PICKUP_AT_COORDS", + "num_params": 3, + "short_desc": "Returns true if the pickup at the specified coordinates is available to be picked up" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0492", + "name": "GET_FIRST_PICKUP_COORDS", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0493", + "name": "GET_NEXT_PICKUP_COORDS", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0494", + "member": "RemoveAllWeapons", + "name": "REMOVE_ALL_CHAR_WEAPONS", + "num_params": 1, + "short_desc": "Removes the characters weapons" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "weaponId", + "type": "WeaponType" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0495", + "member": "HasGotWeapon", + "name": "HAS_PLAYER_GOT_WEAPON", + "num_params": 2, + "short_desc": "Returns true if the player has the specified weapon" + }, + { + "id": "0496", + "name": "COMMAND_0496", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0497", + "name": "IS_PLAYER_FACING_CHAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Tank" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Tank", + "id": "0498", + "member": "SetDetonateCars", + "name": "SET_TANK_DETONATE_CARS", + "num_params": 2, + "short_desc": "Sets the tank's ability to detonate vehicles on contact" + }, + { + "input": [ + { + "name": "pad", + "type": "PadId" + } + ], + "output": [ + { + "name": "leftStickX", + "type": "int", + "source": "var_any" + }, + { + "name": "leftStickY", + "type": "int", + "source": "var_any" + }, + { + "name": "rightStickX", + "type": "int", + "source": "var_any" + }, + { + "name": "rightStickY", + "type": "int", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Pad", + "id": "0499", + "member": "GetPositionOfAnalogueSticks", + "name": "GET_POSITION_OF_ANALOGUE_STICKS", + "num_params": 5, + "short_desc": "Returns the offset of the specified Left/Right, Up/Down, Look Left/Look Right and Look Up/Look Down keys" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "049A", + "member": "IsOnFire", + "name": "IS_CAR_ON_FIRE", + "num_params": 1, + "short_desc": "Returns true if the car is burning" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "tireId", + "type": "int" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "049B", + "member": "IsTireBurst", + "name": "IS_CAR_TYRE_BURST", + "num_params": 2, + "short_desc": "Returns true if a given tire on the car is deflated" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "049C", + "name": "SET_CAR_DRIVE_STRAIGHT_AHEAD", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "049D", + "name": "SET_CAR_WAIT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "049E", + "name": "IS_PLAYER_STANDING_ON_A_VEHICLE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "049F", + "name": "IS_PLAYER_FOOT_DOWN", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04A0", + "name": "IS_CHAR_FOOT_DOWN", + "num_params": 0 + }, + { + "input": [ + { + "name": "pathId", + "type": "int" + }, + { + "name": "width", + "type": "float" + } + ], + "output": [ + { + "name": "handle", + "type": "ObjectPath", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "ObjectPath", + "id": "04A1", + "member": "Initialise", + "name": "INITIALISE_OBJECT_PATH", + "num_params": 3, + "short_desc": "Initialises a script path" + }, + { + "input": [ + { + "name": "self", + "type": "ObjectPath" + }, + { + "name": "object", + "type": "Object" + } + ], + "class": "ObjectPath", + "id": "04A2", + "member": "Start", + "name": "START_OBJECT_ON_PATH", + "num_params": 2, + "short_desc": "Attaches the object to the script path" + }, + { + "input": [ + { + "name": "self", + "type": "ObjectPath" + }, + { + "name": "speed", + "type": "float" + } + ], + "class": "ObjectPath", + "id": "04A3", + "member": "SetSpeed", + "name": "SET_OBJECT_PATH_SPEED", + "num_params": 2, + "short_desc": "Sets the speed of objects on the script path" + }, + { + "input": [ + { + "name": "self", + "type": "ObjectPath" + }, + { + "name": "position", + "type": "float" + } + ], + "class": "ObjectPath", + "id": "04A4", + "member": "SetPosition", + "name": "SET_OBJECT_PATH_POSITION", + "num_params": 2, + "short_desc": "Sets the distance along the script path" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04A5", + "name": "GET_OBJECT_DISTANCE_ALONG_PATH", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "ObjectPath" + } + ], + "class": "ObjectPath", + "id": "04A6", + "member": "Clear", + "name": "CLEAR_OBJECT_PATH", + "num_params": 1, + "short_desc": "Removes the script path", + "attrs": { + "is_destructor": true + } + }, + { + "input": [ + { + "name": "self", + "type": "Heli" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "speed", + "type": "int" + } + ], + "class": "Heli", + "id": "04A7", + "member": "GotoCoords", + "name": "HELI_GOTO_COORDS", + "num_params": 5, + "short_desc": "Makes the helicopter fly to the specified location, keeping a specific Z height/altitude" + }, + { + "attrs": { + "is_condition": true + }, + "id": "04A8", + "input": [ + { + "name": "_p1", + "type": "int" + }, + { + "name": "_p2", + "type": "int" + } + ], + "name": "IS_INT_VAR_EQUAL_TO_CONSTANT", + "num_params": 2, + "short_desc": "Returns true if the value of the variable is equal to the constant" + }, + { + "attrs": { + "is_condition": true + }, + "id": "04A9", + "input": [ + { + "name": "_p1", + "type": "int" + }, + { + "name": "_p2", + "type": "int" + } + ], + "name": "IS_INT_LVAR_EQUAL_TO_CONSTANT", + "num_params": 2, + "short_desc": "Returns true if the first local variable is equivalent to the second" + }, + { + "input": [ + { + "name": "char", + "type": "Char" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "04AA", + "member": "GetDeadCharPickupCoords", + "name": "GET_DEAD_CHAR_PICKUP_COORDS", + "num_params": 4, + "short_desc": "Returns appropriate coordinates for creating a pickup by a dead character" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "revenueLimit", + "type": "int" + }, + { + "name": "revenueRate", + "type": "int" + } + ], + "output": [ + { + "name": "handle", + "type": "Pickup", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Pickup", + "id": "04AB", + "member": "CreateProtection", + "name": "CREATE_PROTECTION_PICKUP", + "num_params": 6, + "short_desc": "Creates an asset revenue pickup" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04AC", + "name": "IS_CHAR_IN_ANY_BOAT", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "04AD", + "member": "IsInAnyBoat", + "name": "IS_PLAYER_IN_ANY_BOAT", + "num_params": 1, + "short_desc": "Returns true if the player is on a boat" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04AE", + "name": "IS_CHAR_IN_ANY_HELI", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "04AF", + "member": "IsInAnyHeli", + "name": "IS_PLAYER_IN_ANY_HELI", + "num_params": 1, + "short_desc": "Returns true if the player is in a helicopter" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04B0", + "name": "IS_CHAR_IN_ANY_PLANE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "04B1", + "member": "IsInAnyPlane", + "name": "IS_PLAYER_IN_ANY_PLANE", + "num_params": 1, + "short_desc": "Returns true if the player is on a plane" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "04B2", + "member": "IsInWater", + "name": "IS_CHAR_IN_WATER", + "num_params": 1, + "short_desc": "Returns true if the character is in water" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "id": "04B3", + "name": "SET_VAR_INT_TO_CONSTANT", + "num_params": 2, + "short_desc": "Assigns the global variable to the integer constant" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "id": "04B4", + "name": "SET_LVAR_INT_TO_CONSTANT", + "num_params": 2, + "short_desc": "Assigns the local variable to the integer constant" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "04B5", + "name": "IS_INT_VAR_GREATER_THAN_CONSTANT", + "num_params": 2, + "short_desc": "Returns true if the value of the global variable is greater than the integer constant" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "04B6", + "name": "IS_INT_LVAR_GREATER_THAN_CONSTANT", + "num_params": 2, + "short_desc": "Returns true if the value of the local variable is greater than the integer constant" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "literal" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "04B7", + "name": "IS_CONSTANT_GREATER_THAN_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the integer constant is greater than the value of the global variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "literal" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "04B8", + "name": "IS_CONSTANT_GREATER_THAN_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the integer constant is greater than the value of the local variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "04B9", + "name": "IS_INT_VAR_GREATER_OR_EQUAL_TO_CONSTANT", + "num_params": 2, + "short_desc": "Returns true if the value of the global variable is equal to or greater than the integer constant " + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "attrs": { + "is_condition": true + }, + "id": "04BA", + "name": "IS_INT_LVAR_GREATER_OR_EQUAL_TO_CONSTANT", + "num_params": 2, + "short_desc": "Returns true if the value of the local variable is greater than or equal to the integer constant " + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "literal" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "attrs": { + "is_condition": true + }, + "id": "04BB", + "name": "IS_CONSTANT_GREATER_OR_EQUAL_TO_INT_VAR", + "num_params": 2, + "short_desc": "Returns true if the integer constant is equal to or greater than the value of the global variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "literal" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "attrs": { + "is_condition": true + }, + "id": "04BC", + "name": "IS_CONSTANT_GREATER_OR_EQUAL_TO_INT_LVAR", + "num_params": 2, + "short_desc": "Returns true if the integer constant is equal to or greater than the value of the local variable" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "weaponSlotId", + "type": "WeaponSlot" + } + ], + "output": [ + { + "name": "weaponType", + "type": "WeaponType", + "source": "var_any" + }, + { + "name": "weaponAmmo", + "type": "int", + "source": "var_any" + }, + { + "name": "weaponModel", + "type": "model_object", + "source": "var_any" + } + ], + "class": "Char", + "id": "04BD", + "member": "GetWeaponInSlot", + "name": "GET_CHAR_WEAPON_IN_SLOT", + "num_params": 5, + "short_desc": "Returns the weapon type, ammo and model from the specified slot" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "minDist", + "type": "float" + }, + { + "name": "maxDist", + "type": "float" + } + ], + "output": [ + { + "name": "node1X", + "type": "float", + "source": "var_any" + }, + { + "name": "node1Y", + "type": "float", + "source": "var_any" + }, + { + "name": "node1Z", + "type": "float", + "source": "var_any" + }, + { + "name": "node2X", + "type": "float", + "source": "var_any" + }, + { + "name": "node2Y", + "type": "float", + "source": "var_any" + }, + { + "name": "node2Z", + "type": "float", + "source": "var_any" + }, + { + "name": "angle", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "04BE", + "member": "GetClosestStraightRoad", + "name": "GET_CLOSEST_STRAIGHT_ROAD", + "num_params": 12, + "short_desc": "Gets two closest path nodes within the specified distance range" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "forwardSpeed", + "type": "float" + } + ], + "class": "Car", + "id": "04BF", + "member": "SetForwardSpeed", + "name": "SET_CAR_FORWARD_SPEED", + "num_params": 2, + "short_desc": "Sets the speed of the car" + }, + { + "input": [ + { + "name": "areaId", + "type": "Interior" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "04C0", + "member": "SetAreaVisible", + "name": "SET_AREA_VISIBLE", + "num_params": 1, + "short_desc": "Sets the visibility of an interior area" + }, + { + "input": [ + { + "name": "animName", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "04C1", + "member": "SetAnimToLoop", + "name": "SET_CUTSCENE_ANIM_TO_LOOP", + "num_params": 1, + "short_desc": "Sets the cutscene animation to loop endlessly" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "04C2", + "member": "MarkAsConvoyCar", + "name": "MARK_CAR_AS_CONVOY_CAR", + "num_params": 2, + "short_desc": "Marks the car as being part of a convoy, which seems to follow a path set by 0994" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "class": "Player", + "id": "04C3", + "member": "ResetHavoc", + "name": "RESET_HAVOC_CAUSED_BY_PLAYER", + "num_params": 1, + "short_desc": "Resets the level of chaos inflicted by the player" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "level", + "type": "int", + "source": "var_any" + } + ], + "class": "Player", + "id": "04C4", + "member": "GetHavoc", + "name": "GET_HAVOC_CAUSED_BY_PLAYER", + "num_params": 2, + "short_desc": "Returns the level of chaos inflicted by the player since the last reset (04BE)" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "topRightX", + "type": "float" + }, + { + "name": "topRightY", + "type": "float" + }, + { + "name": "topRightZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "04C5", + "member": "CreateScriptRoadblock", + "name": "CREATE_SCRIPT_ROADBLOCK", + "num_params": 6, + "short_desc": "Creates a roadblock in the specified area" + }, + { + "attrs": { + "is_static": true + }, + "class": "World", + "id": "04C6", + "member": "ClearAllScriptRoadblocks", + "name": "CLEAR_ALL_SCRIPT_ROADBLOCKS", + "num_params": 0, + "short_desc": "Removes references to all created roadblocks (04C0), freeing game memory" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + } + ], + "class": "Char", + "id": "04C7", + "member": "SetObjWalkToChar", + "name": "SET_CHAR_OBJ_WALK_TO_CHAR", + "num_params": 2, + "short_desc": "Sets the character's objective to walk towards the target character" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04C8", + "name": "IS_PICKUP_IN_ZONE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "xOffset", + "type": "float" + }, + { + "name": "yOffset", + "type": "float" + }, + { + "name": "zOffset", + "type": "float" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "class": "Char", + "id": "04C9", + "member": "GetOffsetInWorldCoords", + "name": "GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS", + "num_params": 7, + "short_desc": "Returns the coordinates of the character, with an offset" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "04CA", + "member": "HasBeenPhotographed", + "name": "HAS_CHAR_BEEN_PHOTOGRAPHED", + "num_params": 1, + "short_desc": "Returns true if the character has been photographed" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "target", + "type": "Char" + } + ], + "class": "Char", + "id": "04CB", + "member": "SetObjAimGunAtChar", + "name": "SET_CHAR_OBJ_AIM_GUN_AT_CHAR", + "num_params": 2, + "short_desc": "Sets the character's objective to aim the current weapon at the target character" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "04CC", + "member": "SwitchSecurity", + "name": "SWITCH_SECURITY_CAMERA", + "num_params": 1, + "short_desc": "Displays a green scan line overlay on the screen" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04CD", + "name": "IS_CHAR_IN_FLYING_VEHICLE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "04CE", + "member": "IsInFlyingVehicle", + "name": "IS_PLAYER_IN_FLYING_VEHICLE", + "num_params": 1, + "short_desc": "Returns true if the player is flying in a plane or a helicopter" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04CF", + "name": "HAS_SONY_CD_BEEN_READ", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04D0", + "name": "GET_NUMBER_OF_SONY_CDS_READ", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04D1", + "name": "ADD_SHORT_RANGE_BLIP_FOR_COORD_OLD", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04D2", + "name": "ADD_SHORT_RANGE_BLIP_FOR_COORD", + "num_params": 0 + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "sprite", + "type": "RadarSprite" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "04D3", + "member": "AddShortRangeSpriteForCoord", + "name": "ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD", + "num_params": 5, + "short_desc": "Adds a sprite blip for the specified coordinates" + }, + { + "input": [ + { + "name": "amount", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "04D4", + "member": "AddMoneySpentOnClothes", + "name": "ADD_MONEY_SPENT_ON_CLOTHES", + "num_params": 1, + "short_desc": "Adds to the fashion budget stat" + }, + { + "input": [ + { + "name": "self", + "type": "Heli" + }, + { + "name": "angle", + "type": "float" + } + ], + "class": "Heli", + "id": "04D5", + "member": "SetOrientation", + "name": "SET_HELI_ORIENTATION", + "num_params": 2, + "short_desc": "Forces the heli rotation relative to the north" + }, + { + "input": [ + { + "name": "self", + "type": "Heli" + } + ], + "class": "Heli", + "id": "04D6", + "member": "ClearOrientation", + "name": "CLEAR_HELI_ORIENTATION", + "num_params": 1, + "short_desc": "Resets the heli rotation set with 04D0" + }, + { + "input": [ + { + "name": "self", + "type": "Plane" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "speed", + "type": "int" + } + ], + "class": "Plane", + "id": "04D7", + "member": "GotoCoords", + "name": "PLANE_GOTO_COORDS", + "num_params": 5, + "short_desc": "Makes the AI fly the plane to the specified location" + }, + { + "input": [ + { + "name": "fromX", + "type": "float" + }, + { + "name": "fromY", + "type": "float" + }, + { + "name": "fromZ", + "type": "float" + }, + { + "name": "n", + "type": "int" + } + ], + "output": [ + { + "name": "x", + "type": "float", + "source": "var_any" + }, + { + "name": "y", + "type": "float", + "source": "var_any" + }, + { + "name": "z", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Path", + "id": "04D8", + "member": "GetNthClosestCarNode", + "name": "GET_NTH_CLOSEST_CAR_NODE", + "num_params": 7, + "short_desc": "Gets the coordinates of the nth car path node closest to the given coordinates" + }, + { + "id": "04D9", + "name": "COMMAND_04D9", + "num_params": 7, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "size", + "type": "float" + }, + { + "name": "coronaType", + "type": "CoronaType" + }, + { + "name": "flareType", + "type": "FlareType" + }, + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Fx", + "id": "04DA", + "member": "DrawWeaponshopCorona", + "name": "DRAW_WEAPONSHOP_CORONA", + "num_params": 9, + "short_desc": "Displays a corona with the lowered draw distance at the specified coordinates" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Rc", + "id": "04DB", + "member": "SetEnableDetonateOnContact", + "name": "SET_ENABLE_RC_DETONATE_ON_CONTACT", + "num_params": 1, + "short_desc": "Sets whether RC Bandits detonate on contact with the wheels of any four-wheeled vehicles" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "04DC", + "member": "FreezePosition", + "name": "FREEZE_CHAR_POSITION", + "num_params": 2, + "short_desc": "Sets whether the character's position remains unchanged" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "04DD", + "member": "SetDrownsInWater", + "name": "SET_CHAR_DROWNS_IN_WATER", + "num_params": 2, + "short_desc": "Controls whether the character can drown in water" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Object", + "id": "04DE", + "member": "SetRecordsCollisions", + "name": "SET_OBJECT_RECORDS_COLLISIONS", + "num_params": 2, + "short_desc": "Enables the use of collision checking for the object" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "04DF", + "member": "HasCollidedWithAnything", + "name": "HAS_OBJECT_COLLIDED_WITH_ANYTHING", + "num_params": 1, + "short_desc": "Returns true if the object has collided" + }, + { + "attrs": { + "is_static": true + }, + "class": "Rc", + "id": "04E0", + "member": "RemoveBuggy", + "name": "REMOVE_RC_BUGGY", + "num_params": 0, + "short_desc": "Exits remote-control mode" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04E1", + "name": "HAS_PHOTOGRAPH_BEEN_TAKEN", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "output": [ + { + "name": "armor", + "type": "int", + "source": "var_any" + } + ], + "class": "Char", + "id": "04E2", + "member": "GetArmor", + "name": "GET_CHAR_ARMOUR", + "num_params": 2, + "short_desc": "Returns the character's armor amount" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04E3", + "name": "SET_CHAR_ARMOUR", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Heli" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Heli", + "id": "04E4", + "member": "SetStabiliser", + "name": "SET_HELI_STABILISER", + "num_params": 2, + "short_desc": "Limits the amount a helicopter can tilt" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "distance", + "type": "int" + } + ], + "class": "Car", + "id": "04E5", + "member": "SetStraightLineDistance", + "name": "SET_CAR_STRAIGHT_LINE_DISTANCE", + "num_params": 2, + "short_desc": "Sets the minimum distance for the AI driver to start ignoring car paths and go straight to the target" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "04E6", + "member": "PopBoot", + "name": "POP_CAR_BOOT", + "num_params": 1, + "short_desc": "Opens the car's trunk and keeps it open" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "04E7", + "member": "ShutUp", + "name": "SHUT_PLAYER_UP", + "num_params": 2, + "short_desc": "Shuts the player up" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "mood", + "type": "PlayerMood" + }, + { + "name": "time", + "type": "int" + } + ], + "class": "Player", + "id": "04E8", + "member": "SetMood", + "name": "SET_PLAYER_MOOD", + "num_params": 3, + "short_desc": "Sets the players mood, affecting the dialogue spoken by the player" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "04E9", + "member": "RequestCollision", + "name": "REQUEST_COLLISION", + "num_params": 2, + "short_desc": "Reloads the area at the specified coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "04EA", + "member": "Locate2D", + "name": "LOCATE_OBJECT_2D", + "num_params": 6, + "short_desc": "Returns true if the object is near the specified coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "xRadius", + "type": "float" + }, + { + "name": "yRadius", + "type": "float" + }, + { + "name": "zRadius", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "04EB", + "member": "Locate3D", + "name": "LOCATE_OBJECT_3D", + "num_params": 8, + "short_desc": "Returns true if the object is near the specified point" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "04EC", + "member": "IsInWater", + "name": "IS_OBJECT_IN_WATER", + "num_params": 1, + "short_desc": "Returns true if the object is in water" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04ED", + "name": "SET_CHAR_OBJ_STEAL_ANY_CAR_EVEN_MISSION_CAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "04EE", + "member": "IsInArea2D", + "name": "IS_OBJECT_IN_AREA_2D", + "num_params": 6, + "short_desc": "Returns true if object is in the specified area" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "leftBottomZ", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "rightTopZ", + "type": "float" + }, + { + "name": "drawSphere", + "type": "bool" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Object", + "id": "04EF", + "member": "IsInArea3D", + "name": "IS_OBJECT_IN_AREA_3D", + "num_params": 8, + "short_desc": "Returns true if the object is in the specified area" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + }, + { + "name": "time", + "type": "int" + } + ], + "class": "Char", + "id": "04F0", + "member": "SetCrouch", + "name": "SET_CHAR_CROUCH", + "num_params": 3, + "short_desc": "Makes the character crouch" + }, + { + "input": [ + { + "name": "zone", + "type": "zone_key" + }, + { + "name": "dayOrNight", + "type": "DayOrNight" + }, + { + "name": "normal", + "type": "int" + }, + { + "name": "poor", + "type": "int" + }, + { + "name": "rich", + "type": "int" + }, + { + "name": "exec", + "type": "int" + }, + { + "name": "worker", + "type": "int" + }, + { + "name": "big", + "type": "int" + }, + { + "name": "taxi", + "type": "int" + }, + { + "name": "moped", + "type": "int" + }, + { + "name": "motorbike", + "type": "int" + }, + { + "name": "leisureBoat", + "type": "int" + }, + { + "name": "workerBoat", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Zone", + "id": "04F1", + "member": "SetCivilianCarInfo", + "name": "SET_ZONE_CIVILIAN_CAR_INFO", + "num_params": 13, + "short_desc": "Sets the traffic density of cars and boats in the zone" + }, + { + "input": [ + { + "name": "animationFile", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "04F2", + "member": "RequestAnimation", + "name": "REQUEST_ANIMATION", + "num_params": 1, + "short_desc": "Loads the specified IFP File" + }, + { + "input": [ + { + "name": "animationFile", + "type": "string" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Streaming", + "id": "04F3", + "member": "HasAnimationLoaded", + "name": "HAS_ANIMATION_LOADED", + "num_params": 1, + "short_desc": "Returns true if the specified IFP file is loaded" + }, + { + "input": [ + { + "name": "animationFile", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Streaming", + "id": "04F4", + "member": "RemoveAnimation", + "name": "REMOVE_ANIMATION", + "num_params": 1, + "short_desc": "Releases the specified IFP file, freeing game memory" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "04F5", + "member": "IsWaitingForWorldCollision", + "name": "IS_CHAR_WAITING_FOR_WORLD_COLLISION", + "num_params": 1, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Car", + "id": "04F6", + "member": "IsWaitingForWorldCollision", + "name": "IS_CAR_WAITING_FOR_WORLD_COLLISION", + "num_params": 1, + "short_desc": "" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04F7", + "name": "IS_OBJECT_WAITING_FOR_WORLD_COLLISION", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "04F8", + "member": "SetShuffleIntoDriversSeat", + "name": "SET_CHAR_SHUFFLE_INTO_DRIVERS_SEAT", + "num_params": 1, + "short_desc": "Moves the character from a passenger seat to the driver seat" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "handle", + "type": "Object" + }, + { + "name": "xOffset", + "type": "float" + }, + { + "name": "yOffset", + "type": "float" + }, + { + "name": "zOffset", + "type": "float" + }, + { + "name": "orientation", + "type": "int" + }, + { + "name": "angleLimit", + "type": "float" + }, + { + "name": "weaponType", + "type": "WeaponType" + } + ], + "class": "Char", + "id": "04F9", + "member": "AttachToObject", + "name": "ATTACH_CHAR_TO_OBJECT", + "num_params": 8, + "short_desc": "Attaches the character to the specified object, in turret mode" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "player", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "04FA", + "member": "SetAsPlayerFriend", + "name": "SET_CHAR_AS_PLAYER_FRIEND", + "num_params": 3, + "short_desc": "Sets whether the character ignores the player's crimes" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "04FB", + "name": "DISPLAY_NTH_ONSCREEN_COUNTER", + "num_params": 0 + }, + { + "input": [ + { + "name": "counter", + "type": "int", + "source": "var_global" + }, + { + "name": "display", + "type": "CounterDisplay" + }, + { + "name": "slot", + "type": "int" + }, + { + "name": "text", + "type": "gxt_key" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "04FC", + "member": "DisplayNthCounterWithString", + "name": "DISPLAY_NTH_ONSCREEN_COUNTER_WITH_STRING", + "num_params": 4, + "short_desc": "Displays an onscreen counter with the text in the specified slot, either shown in numbers or as a bar" + }, + { + "input": [ + { + "name": "type", + "type": "SetPieceType" + }, + { + "name": "fromX", + "type": "float" + }, + { + "name": "fromY", + "type": "float" + }, + { + "name": "toX", + "type": "float" + }, + { + "name": "toY", + "type": "float" + }, + { + "name": "spawnPoliceAAtX", + "type": "float" + }, + { + "name": "spawnPoliceAAtY", + "type": "float" + }, + { + "name": "headedTowardsAAtX", + "type": "float" + }, + { + "name": "headedTowardsAAtY", + "type": "float" + }, + { + "name": "spawnPoliceBAtX", + "type": "float" + }, + { + "name": "spawnPoliceBAtY", + "type": "float" + }, + { + "name": "headedTowardsBAtX", + "type": "float" + }, + { + "name": "headedTowardsBAtY", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "04FD", + "member": "AddSetPiece", + "name": "ADD_SET_PIECE", + "num_params": 13, + "short_desc": "Creates a trigger zone for police to appear during chases" + }, + { + "input": [ + { + "name": "color", + "type": "int" + }, + { + "name": "fade", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "04FE", + "member": "SetExtraColors", + "name": "SET_EXTRA_COLOURS", + "num_params": 2, + "short_desc": "Sets the extra color of the sky" + }, + { + "input": [ + { + "name": "withFade", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "04FF", + "member": "ClearExtraColors", + "name": "CLEAR_EXTRA_COLOURS", + "num_params": 1, + "short_desc": "Clears the extra color of the sky" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0500", + "name": "CLOSE_CAR_BOOT", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "twoWheelsTime", + "type": "int", + "source": "var_any" + }, + { + "name": "twoWheelsDistance", + "type": "float", + "source": "var_any" + }, + { + "name": "wheelieTime", + "type": "int", + "source": "var_any" + }, + { + "name": "wheelieDistance", + "type": "float", + "source": "var_any" + }, + { + "name": "stoppieTime", + "type": "int", + "source": "var_any" + }, + { + "name": "stoppieDistance", + "type": "float", + "source": "var_any" + } + ], + "class": "Player", + "id": "0501", + "member": "GetWheelieStats", + "name": "GET_WHEELIE_STATS", + "num_params": 7, + "short_desc": "Returns the stats of the most recent wheelie or stoppie attempt" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0502", + "name": "DISARM_CHAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "tireId", + "type": "int" + } + ], + "class": "Car", + "id": "0503", + "member": "BurstTire", + "name": "BURST_CAR_TYRE", + "num_params": 2, + "short_desc": "Deflates the car's tire" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0504", + "member": "IsObjNoObj", + "name": "IS_CHAR_OBJ_NO_OBJ", + "num_params": 1, + "short_desc": "Returns true if the character has no objective (011C)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "modelName", + "type": "string" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0505", + "member": "IsWearing", + "name": "IS_PLAYER_WEARING", + "num_params": 2, + "short_desc": "Returns true if the player has the specified model (0352)" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0506", + "member": "SetCanDoDriveBy", + "name": "SET_PLAYER_CAN_DO_DRIVE_BY", + "num_params": 2, + "short_desc": "Sets the players driveby mode" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "class": "Char", + "id": "0507", + "member": "SetObjSprintToCoord", + "name": "SET_CHAR_OBJ_SPRINT_TO_COORD", + "num_params": 3, + "short_desc": "Sets the character's objective to sprint at the location" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "0508", + "member": "CreateSwatRope", + "name": "CREATE_SWAT_ROPE", + "num_params": 3, + "short_desc": "Creates a SWAT character coming down from a rope at the coordinates" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0509", + "name": "SET_FIRST_PERSON_CONTROL_CAMERA", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "050A", + "name": "GET_NEAREST_TYRE_TO_POINT", + "num_params": 0 + }, + { + "input": [ + { + "name": "_unused", + "type": "model_vehicle" + }, + { + "name": "component1", + "type": "int" + }, + { + "name": "component2", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Car", + "id": "050B", + "member": "SetModelComponents", + "name": "SET_CAR_MODEL_COMPONENTS", + "num_params": 3, + "short_desc": "Sets the variation of the next car to be created" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "050C", + "member": "SwitchLift", + "name": "SWITCH_LIFT_CAMERA", + "num_params": 1, + "short_desc": "Displays a white interference overlay on the screen" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "050D", + "member": "CloseAllDoors", + "name": "CLOSE_ALL_CAR_DOORS", + "num_params": 1, + "short_desc": "Closes all car doors, hoods and boots" + }, + { + "input": [ + { + "name": "fromX", + "type": "float" + }, + { + "name": "fromY", + "type": "float" + }, + { + "name": "toX", + "type": "float" + }, + { + "name": "toZ", + "type": "float" + } + ], + "output": [ + { + "name": "distance", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Math", + "id": "050E", + "member": "GetDistanceBetweenCoords2D", + "name": "GET_DISTANCE_BETWEEN_COORDS_2D", + "num_params": 5, + "short_desc": "Gets the distance between two points" + }, + { + "input": [ + { + "name": "fromX", + "type": "float" + }, + { + "name": "fromY", + "type": "float" + }, + { + "name": "fromZ", + "type": "float" + }, + { + "name": "toX", + "type": "float" + }, + { + "name": "toY", + "type": "float" + }, + { + "name": "toZ", + "type": "float" + } + ], + "output": [ + { + "name": "distance", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Math", + "id": "050F", + "member": "GetDistanceBetweenCoords3D", + "name": "GET_DISTANCE_BETWEEN_COORDS_3D", + "num_params": 7, + "short_desc": "Gets the distance between two points" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "0510", + "member": "PopBootUsingPhysics", + "name": "POP_CAR_BOOT_USING_PHYSICS", + "num_params": 1, + "short_desc": "Opens the trunk/boot door component of the vehicle" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0511", + "name": "SET_FIRST_PERSON_WEAPON_CAMERA", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0512", + "member": "IsLeavingVehicleToDie", + "name": "IS_CHAR_LEAVING_VEHICLE_TO_DIE", + "num_params": 1, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "handle", + "type": "Car" + } + ], + "class": "Object", + "id": "0513", + "member": "SortOutCollisionWithCar", + "name": "SORT_OUT_OBJECT_COLLISION_WITH_CAR", + "num_params": 2, + "short_desc": "Makes the specified car have no collision with the specified object" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0514", + "name": "GET_MAX_WANTED_LEVEL", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "radius", + "type": "float" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0515", + "member": "IsWanderPathClear", + "name": "IS_CHAR_WANDER_PATH_CLEAR", + "num_params": 5, + "short_desc": "" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0516", + "name": "PRINT_HELP_WITH_NUMBER", + "num_params": 0 + }, + { + "input": [ + { + "name": "key", + "type": "gxt_key" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0517", + "member": "PrintHelpForever", + "name": "PRINT_HELP_FOREVER", + "num_params": 1, + "short_desc": "Shows a text box which stays on screen until it is removed by another command" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0518", + "name": "PRINT_HELP_FOREVER_WITH_NUMBER", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "gangId", + "type": "GangType" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0519", + "member": "SetCanBeDamagedByMembersOfGang", + "name": "SET_CHAR_CAN_BE_DAMAGED_BY_MEMBERS_OF_GANG", + "num_params": 3, + "short_desc": "Sets the character be damageable by members of the gang" + }, + { + "attrs": { + "is_nop": true + }, + "id": "051A", + "name": "LOAD_AND_LAUNCH_MISSION_EXCLUSIVE", + "num_params": 0, + "short_desc": "Does nothing" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "051B", + "name": "IS_MISSION_AUDIO_PLAYING", + "num_params": 0 + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "message", + "type": "gxt_key" + } + ], + "output": [ + { + "name": "handle", + "type": "Pickup", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Pickup", + "id": "051C", + "member": "CreateLockedProperty", + "name": "CREATE_LOCKED_PROPERTY_PICKUP", + "num_params": 5, + "short_desc": "Creates an asset icon for an asset that is not for sale" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "price", + "type": "int" + }, + { + "name": "message", + "type": "gxt_key" + } + ], + "output": [ + { + "name": "handle", + "type": "Pickup", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Pickup", + "id": "051D", + "member": "CreateForSaleProperty", + "name": "CREATE_FORSALE_PROPERTY_PICKUP", + "num_params": 6, + "short_desc": "Creates an asset pickup for an asset which can be bought" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "051E", + "member": "FreezePosition", + "name": "FREEZE_CAR_POSITION", + "num_params": 2, + "short_desc": "Locks the vehicle's position" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "handle", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "051F", + "member": "HasBeenDamagedByChar", + "name": "HAS_CHAR_BEEN_DAMAGED_BY_CHAR", + "num_params": 2, + "short_desc": "Returns true if the character has been hurt by the other character" + }, + { + "id": "0520", + "name": "COMMAND_0520", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0521", + "name": "COMMAND_0521", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0522", + "name": "COMMAND_0522", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0523", + "name": "COMMAND_0523", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0524", + "name": "DISPLAY_TEXT_WITH_3_NUMBERS", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0525", + "name": "IS_CAR_DROWNING_IN_WATER", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0526", + "member": "IsDrowningInWater", + "name": "IS_CHAR_DROWNING_IN_WATER", + "num_params": 1, + "short_desc": "Returns true if the character is taking damage from ocean water while on foot" + }, + { + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "0527", + "member": "DisableShadows", + "name": "DISABLE_CUTSCENE_SHADOWS", + "num_params": 0, + "short_desc": "" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "0528", + "member": "HasGlassBeenShatteredNearby", + "name": "HAS_GLASS_BEEN_SHATTERED_NEARBY", + "num_params": 3, + "short_desc": "Checks if glass has been shattered near the specified location" + }, + { + "input": [ + { + "name": "self", + "type": "CutsceneObject" + }, + { + "name": "char", + "type": "CutsceneObject" + }, + { + "name": "boneId", + "type": "Bone" + } + ], + "class": "CutsceneObject", + "id": "0529", + "member": "AttachToBone", + "name": "ATTACH_CUTSCENE_OBJECT_TO_BONE", + "num_params": 3, + "short_desc": "Attaches the cutscene object to the cutscene character's bone" + }, + { + "input": [ + { + "name": "self", + "type": "CutsceneObject" + }, + { + "name": "char", + "type": "CutsceneObject" + }, + { + "name": "frameName", + "type": "string" + } + ], + "class": "CutsceneObject", + "id": "052A", + "member": "AttachToComponent", + "name": "ATTACH_CUTSCENE_OBJECT_TO_COMPONENT", + "num_params": 3, + "short_desc": "Attaches the cutscene object to the cutscene character's frame" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "052B", + "member": "SetStayInCarWhenJacked", + "name": "SET_CHAR_STAY_IN_CAR_WHEN_JACKED", + "num_params": 2, + "short_desc": "Makes the character stay in the vehicle when it is jacked (characters let themselves get \"kidnapped\")" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "052C", + "name": "IS_MISSION_AUDIO_LOADING", + "num_params": 0 + }, + { + "input": [ + { + "name": "amount", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "052D", + "member": "AddMoneySpentOnWeapons", + "name": "ADD_MONEY_SPENT_ON_WEAPONS", + "num_params": 1, + "short_desc": "Adds to the weapon budget stat" + }, + { + "input": [ + { + "name": "amount", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "052E", + "member": "AddMoneySpentOnProperty", + "name": "ADD_MONEY_SPENT_ON_PROPERTY", + "num_params": 1, + "short_desc": "Adds to the property budget stat" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "052F", + "name": "ADD_MONEY_SPENT_ON_AUTO_PAINTING", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0530", + "member": "SetAnsweringMobile", + "name": "SET_CHAR_ANSWERING_MOBILE", + "num_params": 2, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "intensity", + "type": "int" + } + ], + "class": "Player", + "id": "0531", + "member": "SetDrunkenness", + "name": "SET_PLAYER_DRUNKENNESS", + "num_params": 2, + "short_desc": "Makes the camera start moving around in a swirling motion with the specified intensity as if drunk" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0532", + "name": "GET_PLAYER_DRUNKENNESS", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0533", + "name": "SET_PLAYER_DRUG_LEVEL", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0534", + "name": "GET_PLAYER_DRUG_LEVEL", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0535", + "name": "ADD_LOAN_SHARK_VISITS", + "num_params": 0 + }, + { + "input": [ + { + "name": "num", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0536", + "member": "AddStoresKnockedOff", + "name": "ADD_STORES_KNOCKED_OFF", + "num_params": 1, + "short_desc": "Adds to the stores knocked off stat" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0537", + "name": "ADD_MOVIE_STUNTS", + "num_params": 0 + }, + { + "input": [ + { + "name": "num", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0538", + "member": "AddNumberOfAssassinations", + "name": "ADD_NUMBER_OF_ASSASSINATIONS", + "num_params": 1, + "short_desc": "Adds to the assassination contracts stat" + }, + { + "input": [ + { + "name": "num", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0539", + "member": "AddPizzasDelivered", + "name": "ADD_PIZZAS_DELIVERED", + "num_params": 1, + "short_desc": "Adds to the pizzas delivered stat" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "053A", + "name": "ADD_GARBAGE_PICKUPS", + "num_params": 0 + }, + { + "input": [ + { + "name": "num", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "053B", + "member": "AddIceCreamsSold", + "name": "ADD_ICE_CREAMS_SOLD", + "num_params": 1, + "short_desc": "Adds to the \"ice cream\" sold stat" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "053C", + "name": "SET_TOP_SHOOTING_RANGE_SCORE", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "053D", + "name": "ADD_SHOOTING_RANGE_RANK", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "053E", + "name": "ADD_MONEY_SPENT_ON_GAMBLING", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "053F", + "name": "ADD_MONEY_WON_ON_GAMBLING", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0540", + "name": "SET_LARGEST_GAMBLING_WIN", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0541", + "member": "SetInPlayersGroupCanFight", + "name": "SET_CHAR_IN_PLAYERS_GROUP_CAN_FIGHT", + "num_params": 2, + "short_desc": "Sets whether the char assists the player in attacking another character on foot" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0542", + "member": "ClearWaitState", + "name": "CLEAR_CHAR_WAIT_STATE", + "num_params": 1, + "short_desc": "Stops the idle animation on the character (0372)" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "modelId", + "type": "model_vehicle" + } + ], + "output": [ + { + "name": "handle", + "type": "Car", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "0543", + "member": "GetRandomCarOfTypeInAreaNoSave", + "name": "GET_RANDOM_CAR_OF_TYPE_IN_AREA_NO_SAVE", + "num_params": 6, + "short_desc": "Loops through the pool of vehicles to retrieve one that matches the specified model in the specified 2D area" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0544", + "member": "SetCanBurstTires", + "name": "SET_CAN_BURST_CAR_TYRES", + "num_params": 2, + "short_desc": "Sets whether the car's tires can be deflated" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0545", + "member": "SetAutoAim", + "name": "SET_PLAYER_AUTO_AIM", + "num_params": 2, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Heli" + } + ], + "class": "Heli", + "id": "0546", + "member": "FireHunterGun", + "name": "FIRE_HUNTER_GUN", + "num_params": 1, + "short_desc": "Makes the Hunter helicopter fire cannon gun" + }, + { + "input": [ + { + "name": "propertyIndex", + "type": "Property" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0547", + "member": "SetPropertyAsOwned", + "name": "SET_PROPERTY_AS_OWNED", + "num_params": 1, + "short_desc": "Adds the property to the property owned stat" + }, + { + "input": [ + { + "name": "num", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0548", + "member": "AddBloodRingKills", + "name": "ADD_BLOOD_RING_KILLS", + "num_params": 1, + "short_desc": "Adds to the number of Bloodring kills stat" + }, + { + "input": [ + { + "name": "timeInSec", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0549", + "member": "SetLongestTimeInBloodRing", + "name": "SET_LONGEST_TIME_IN_BLOOD_RING", + "num_params": 1, + "short_desc": "Sets the longest time in Bloodring stat" + }, + { + "attrs": { + "is_static": true + }, + "class": "World", + "id": "054A", + "member": "RemoveEverythingForHugeCutscene", + "name": "REMOVE_EVERYTHING_FOR_HUGE_CUTSCENE", + "num_params": 0, + "short_desc": "Stops processing of everything in the world to free up the game memory" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "054B", + "member": "IsTouchingVehicle", + "name": "IS_PLAYER_TOUCHING_VEHICLE", + "num_params": 2, + "short_desc": "Returns true if the player is colliding with the vehicle either on foot or while driving" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "054C", + "name": "IS_CHAR_TOUCHING_VEHICLE", + "num_params": 0 + }, + { + "input": [ + { + "name": "player", + "type": "Player" + }, + { + "name": "offsetX", + "type": "float" + }, + { + "name": "offsetY", + "type": "float" + }, + { + "name": "offsetZ", + "type": "float" + }, + { + "name": "modelId1", + "type": "model_char" + }, + { + "name": "modelId2", + "type": "model_char" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "World", + "id": "054D", + "member": "CheckForPedModelAroundPlayer", + "name": "CHECK_FOR_PED_MODEL_AROUND_PLAYER", + "num_params": 6, + "short_desc": "Returns true if there is a pedestrian of the given model in the specified area around the player" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "054E", + "member": "ClearFollowPath", + "name": "CLEAR_CHAR_FOLLOW_PATH", + "num_params": 1, + "short_desc": "Clears the character's follow path (009E)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "054F", + "member": "SetCanBeShotInVehicle", + "name": "SET_CHAR_CAN_BE_SHOT_IN_VEHICLE", + "num_params": 2, + "short_desc": "Makes the character immune to a damage while in a vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "CutsceneObject" + }, + { + "name": "vehicle", + "type": "Car" + } + ], + "class": "CutsceneObject", + "id": "0550", + "member": "AttachToVehicle", + "name": "ATTACH_CUTSCENE_OBJECT_TO_VEHICLE", + "num_params": 2, + "short_desc": "Attaches the cutscene object to the vehicle" + }, + { + "input": [ + { + "name": "tableName", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Text", + "id": "0551", + "member": "LoadMissionText", + "name": "LOAD_MISSION_TEXT", + "num_params": 1, + "short_desc": "Makes the game use GXT Entries from the specified GXT Table" + }, + { + "input": [ + { + "name": "scrollbarMessage", + "type": "ScrollbarMessage" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "0552", + "member": "SetTonightsEvent", + "name": "SET_TONIGHTS_EVENT", + "num_params": 1, + "short_desc": "Sets the scrollbar message at Hyman Memorial Stadium" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0553", + "member": "ClearLastDamageEntity", + "name": "CLEAR_CHAR_LAST_DAMAGE_ENTITY", + "num_params": 1, + "short_desc": "" + }, + { + "id": "0554", + "name": "COMMAND_0554", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Object", + "id": "0555", + "member": "FreezePosition", + "name": "FREEZE_OBJECT_POSITION", + "num_params": 2, + "short_desc": "Sets whether the object's position remains unchanged" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0556", + "member": "SetHasMetDebbieHarry", + "name": "SET_PLAYER_HAS_MET_DEBBIE_HARRY", + "num_params": 1, + "short_desc": "", + "attrs": { + "is_static": true + } + }, + { + "input": [ + { + "name": "level", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "0557", + "member": "SetRiotIntensity", + "name": "SET_RIOT_INTENSITY", + "num_params": 1, + "short_desc": "Sets the riot sound volume level (0-127)" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0558", + "name": "IS_CAR_IN_ANGLED_AREA_2D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0559", + "name": "IS_CAR_IN_ANGLED_AREA_3D", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "055A", + "name": "REMOVE_WEAPON_FROM_CHAR", + "num_params": 0 + }, + { + "input": [ + { + "name": "pickUpX", + "type": "float" + }, + { + "name": "pickUpY", + "type": "float" + }, + { + "name": "pickUpZ", + "type": "float" + }, + { + "name": "pickUpAngle", + "type": "float" + }, + { + "name": "dropoffX", + "type": "float" + }, + { + "name": "dropoffY", + "type": "float" + }, + { + "name": "dropoffZ", + "type": "float" + }, + { + "name": "dropoffAngle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Shortcut", + "id": "055B", + "member": "SetUpTaxi", + "name": "SET_UP_TAXI_SHORTCUT", + "num_params": 8, + "short_desc": "Sets up both the pick-up (058D) and drop-off (058E) points of the taxi shortcut" + }, + { + "attrs": { + "is_static": true + }, + "class": "Shortcut", + "id": "055C", + "member": "ClearTaxi", + "name": "CLEAR_TAXI_SHORTCUT", + "num_params": 0, + "short_desc": "Clears any taxi shortcut that is set up by 0556 or 058E" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "055D", + "name": "SET_CHAR_OBJ_GOTO_CAR_ON_FOOT", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "055E", + "name": "GET_CLOSEST_WATER_NODE", + "num_params": 0 + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "055F", + "member": "AddPornLeafletToRubbish", + "name": "ADD_PORN_LEAFLET_TO_RUBBISH", + "num_params": 1, + "short_desc": "Sets visibility of secondary rubbish (03AD)" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "type", + "type": "Clothing" + } + ], + "output": [ + { + "name": "handle", + "type": "Pickup", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Pickup", + "id": "0560", + "member": "CreateClothes", + "name": "CREATE_CLOTHES_PICKUP", + "num_params": 5, + "short_desc": "Creates a clothing pickup at the location" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0561", + "name": "CHANGE_BLIP_THRESHOLD", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Player", + "id": "0562", + "member": "MakeFireProof", + "name": "MAKE_PLAYER_FIRE_PROOF", + "num_params": 2, + "short_desc": "Makes the player immune to fire" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "value", + "type": "int" + } + ], + "class": "Player", + "id": "0563", + "member": "IncreaseMaxHealth", + "name": "INCREASE_PLAYER_MAX_HEALTH", + "num_params": 2, + "short_desc": "Increases the players maximum health by the specified amount" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "value", + "type": "int" + } + ], + "class": "Player", + "id": "0564", + "member": "IncreaseMaxArmor", + "name": "INCREASE_PLAYER_MAX_ARMOUR", + "num_params": 2, + "short_desc": "Increases the players armor by the specified amount" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Char", + "id": "0565", + "member": "CreateRandomAsDriver", + "name": "CREATE_RANDOM_CHAR_AS_DRIVER", + "num_params": 2, + "short_desc": "Creates a driver in the vehicle" + }, + { + "input": [ + { + "name": "vehicle", + "type": "Car" + }, + { + "name": "seatId", + "type": "int" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Char", + "id": "0566", + "member": "CreateRandomAsPassenger", + "name": "CREATE_RANDOM_CHAR_AS_PASSENGER", + "num_params": 3, + "short_desc": "Creates a random character in the passenger seat of the vehicle" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0567", + "member": "SetIgnoreThreatsBehindObjects", + "name": "SET_CHAR_IGNORE_THREATS_BEHIND_OBJECTS", + "num_params": 2, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "ammo", + "type": "int" + } + ], + "class": "Player", + "id": "0568", + "member": "EnsureHasDriveByWeapon", + "name": "ENSURE_PLAYER_HAS_DRIVE_BY_WEAPON", + "num_params": 2, + "short_desc": "Sets the amount of ammo a player has during a driveby" + }, + { + "input": [ + { + "name": "self", + "type": "Heli" + } + ], + "class": "Heli", + "id": "0569", + "member": "MakeComeCrashingDown", + "name": "MAKE_HELI_COME_CRASHING_DOWN", + "num_params": 1, + "short_desc": "Makes helicopter simulate crash landing, exploding on the way if high up" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "type", + "type": "ExplosionType" + } + ], + "attrs": { + "is_static": true + }, + "class": "Fx", + "id": "056A", + "member": "AddExplosionNoSound", + "name": "ADD_EXPLOSION_NO_SOUND", + "num_params": 4, + "short_desc": "Creates an explosion with no sound" + }, + { + "input": [ + { + "name": "self", + "type": "Object" + }, + { + "name": "areaId", + "type": "Interior" + } + ], + "class": "Object", + "id": "056B", + "member": "SetAreaVisible", + "name": "SET_OBJECT_AREA_VISIBLE", + "num_params": 2, + "short_desc": "Sets the visibility of the object to the specified interior" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "056C", + "name": "WAS_VEHICLE_EVER_POLICE", + "num_params": 0 + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "056D", + "member": "SetNeverTargeted", + "name": "SET_CHAR_NEVER_TARGETED", + "num_params": 2, + "short_desc": "Sets whether the character won't be targeted by the autoaim system" + }, + { + "input": [ + { + "name": "animation", + "type": "string" + } + ], + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "056E", + "member": "LoadUncompressedAnim", + "name": "LOAD_UNCOMPRESSED_ANIM", + "num_params": 1, + "short_desc": "" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Cutscene", + "id": "056F", + "member": "WasSkipped", + "name": "WAS_CUTSCENE_SKIPPED", + "num_params": 0, + "short_desc": "Returns true if the cutscene was skipped" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0570", + "member": "SetCrouchWhenThreatened", + "name": "SET_CHAR_CROUCH_WHEN_THREATENED", + "num_params": 2, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0571", + "member": "IsInAnyPoliceVehicle", + "name": "IS_CHAR_IN_ANY_POLICE_VEHICLE", + "num_params": 1, + "short_desc": "Returns true if the character is driving a police vehicle" + }, + { + "input": [ + { + "name": "handle", + "type": "any" + } + ], + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Char", + "id": "0572", + "member": "DoesExist", + "name": "DOES_CHAR_EXIST", + "num_params": 1, + "short_desc": "Returns true if the handle is a valid character handle" + }, + { + "id": "0573", + "name": "COMMAND_0573", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0574", + "name": "ADD_SHORT_RANGE_BLIP_FOR_CONTACT_POINT", + "num_params": 0 + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "sprite", + "type": "RadarSprite" + } + ], + "output": [ + { + "name": "handle", + "type": "Blip", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "Blip", + "id": "0575", + "member": "AddShortRangeSpriteForContactPoint", + "name": "ADD_SHORT_RANGE_SPRITE_BLIP_FOR_CONTACT_POINT", + "num_params": 5, + "short_desc": "Adds a contact sprite blip for the specified coordinates" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0576", + "member": "IsStuck", + "name": "IS_CHAR_STUCK", + "num_params": 1, + "short_desc": "" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "0577", + "member": "SetAllTaxisHaveNitro", + "name": "SET_ALL_TAXIS_HAVE_NITRO", + "num_params": 1, + "short_desc": "Toggles whether all taxis have nitrous" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0578", + "member": "SetStopShootDontSeekEntity", + "name": "SET_CHAR_STOP_SHOOT_DONT_SEEK_ENTITY", + "num_params": 2, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "0579", + "member": "FreezePositionAndDontLoadCollision", + "name": "FREEZE_CAR_POSITION_AND_DONT_LOAD_COLLISION", + "num_params": 2, + "short_desc": "Makes the car maintain its position" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "057A", + "name": "FREEZE_CHAR_POSITION_AND_DONT_LOAD_COLLISION", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "057B", + "name": "FREEZE_OBJECT_POSITION_AND_DONT_LOAD_COLLISION", + "num_params": 0 + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "057C", + "name": "SET_FADE_AND_JUMPCUT_AFTER_RC_EXPLOSION", + "num_params": 0 + }, + { + "input": [ + { + "name": "highestLevel", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "057D", + "member": "RegisterVigilanteLevel", + "name": "REGISTER_VIGILANTE_LEVEL", + "num_params": 1, + "short_desc": "Saves the highest vigilante level stat" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "057E", + "member": "ClearAllAnims", + "name": "CLEAR_ALL_CHAR_ANIMS", + "num_params": 1, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Garage" + }, + { + "name": "max", + "type": "int" + } + ], + "class": "Garage", + "id": "057F", + "member": "SetMaximumNumberOfCars", + "name": "SET_MAXIMUM_NUMBER_OF_CARS_IN_GARAGE", + "num_params": 2, + "short_desc": "Sets the maximum number of vehicles for a save garage to open" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Hud", + "id": "0580", + "member": "AreWantedStarsFlashing", + "name": "WANTED_STARS_ARE_FLASHING", + "num_params": 0, + "short_desc": "Returns true if the wanted stars are flashing (normally after visiting a Pay'n'Spray)" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Weather", + "id": "0581", + "member": "SetAllowHurricanes", + "name": "SET_ALLOW_HURRICANES", + "num_params": 1, + "short_desc": "Allows hurricane weather" + }, + { + "input": [ + { + "name": "track", + "type": "AnnouncementTrack" + } + ], + "attrs": { + "is_static": true + }, + "class": "Audio", + "id": "0582", + "member": "PlayAnnouncement", + "name": "PLAY_ANNOUNCEMENT", + "num_params": 1, + "short_desc": "Plays an announcement audio" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Game", + "id": "0583", + "member": "SetIsInStadium", + "name": "SET_PLAYER_IS_IN_STADIUM", + "num_params": 1, + "short_desc": "Greys out the radar" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "output": [ + { + "name": "num", + "type": "int", + "source": "var_any" + } + ], + "class": "Player", + "id": "0584", + "member": "GetBusFaresCollected", + "name": "GET_BUS_FARES_COLLECTED_BY_PLAYER", + "num_params": 2, + "short_desc": "Gets the bus fares collected by the player" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "distributionCar", + "type": "Car" + } + ], + "output": [ + { + "name": "status", + "type": "ObjBuyIceCreamStatus", + "source": "var_any" + } + ], + "class": "Char", + "id": "0585", + "member": "SetObjBuyIceCream", + "name": "SET_CHAR_OBJ_BUY_ICE_CREAM", + "num_params": 3, + "short_desc": "Makes the character approach the distribution vehicle to buy \"ice cream\" and returns the status of this attempt" + }, + { + "input": [ + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Hud", + "id": "0586", + "member": "DisplayRadar", + "name": "DISPLAY_RADAR", + "num_params": 1, + "short_desc": "Displays or hides the radar" + }, + { + "input": [ + { + "name": "statId", + "type": "int" + }, + { + "name": "position", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0587", + "member": "RegisterBestPosition", + "name": "REGISTER_BEST_POSITION", + "num_params": 2, + "short_desc": "Updates the race best position" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + }, + { + "name": "infoZone", + "type": "gxt_key" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "0588", + "member": "IsInInfoZone", + "name": "IS_PLAYER_IN_INFO_ZONE", + "num_params": 2, + "short_desc": "Returns true if the player is in the specified zone" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "class": "Char", + "id": "0589", + "member": "ClearIceCreamPurchase", + "name": "CLEAR_CHAR_ICE_CREAM_PURCHASE", + "num_params": 1, + "short_desc": "Resets the information that the character has bought \"ice cream\"" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Pad", + "id": "058A", + "member": "IsInCarFireButtonPressed", + "name": "IS_IN_CAR_FIRE_BUTTON_PRESSED", + "num_params": 0, + "short_desc": "Returns true if the attack button is being pressed" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "058B", + "member": "HasAttemptedAttractor", + "name": "HAS_CHAR_ATTEMPTED_ATTRACTOR", + "num_params": 1, + "short_desc": "Checks if the distribution ped has been attracted" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Car", + "id": "058C", + "member": "SetLoadCollisionFlag", + "name": "SET_LOAD_COLLISION_FOR_CAR_FLAG", + "num_params": 2, + "short_desc": "" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "058D", + "member": "SetLoadCollisionFlag", + "name": "SET_LOAD_COLLISION_FOR_CHAR_FLAG", + "num_params": 2, + "short_desc": "" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "058E", + "name": "SET_LOAD_COLLISION_FOR_OBJECT_FLAG", + "num_params": 0 + }, + { + "input": [ + { + "name": "fromX", + "type": "float" + }, + { + "name": "fromY", + "type": "float" + }, + { + "name": "fromZ", + "type": "float" + }, + { + "name": "toX", + "type": "float" + }, + { + "name": "toY", + "type": "float" + }, + { + "name": "toZ", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Fx", + "id": "058F", + "member": "AddBigGunFlash", + "name": "ADD_BIG_GUN_FLASH", + "num_params": 6, + "short_desc": "Creates a gun flash particle effect" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "0590", + "member": "HasBoughtIceCream", + "name": "HAS_CHAR_BOUGHT_ICE_CREAM", + "num_params": 1, + "short_desc": "Returns true if the character has bought \"ice cream\"" + }, + { + "output": [ + { + "name": "percentage", + "type": "float", + "source": "var_any" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "0591", + "member": "GetProgressPercentage", + "name": "GET_PROGRESS_PERCENTAGE", + "num_params": 1, + "short_desc": "Gets the progress of completion as a percentage" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "angle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Shortcut", + "id": "0592", + "member": "SetPickupPoint", + "name": "SET_SHORTCUT_PICKUP_POINT", + "num_params": 4, + "short_desc": "Sets the taxi shortcut pick-up point for mission" + }, + { + "input": [ + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + }, + { + "name": "z", + "type": "float" + }, + { + "name": "angle", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "Shortcut", + "id": "0593", + "member": "SetDropoffPointForMission", + "name": "SET_SHORTCUT_DROPOFF_POINT_FOR_MISSION", + "num_params": 4, + "short_desc": "Sets the taxi shortcut pick-up point for mission" + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "rightTopX", + "type": "float" + }, + { + "name": "rightTopY", + "type": "float" + }, + { + "name": "allowCivilian", + "type": "int" + }, + { + "name": "allowGangMember", + "type": "int" + }, + { + "name": "allowCriminal", + "type": "int" + } + ], + "output": [ + { + "name": "handle", + "type": "Char", + "source": "var_any" + } + ], + "attrs": { + "is_constructor": true + }, + "class": "World", + "id": "0594", + "member": "GetRandomIceCreamCustomerInArea", + "name": "GET_RANDOM_ICE_CREAM_CUSTOMER_IN_AREA", + "num_params": 8, + "short_desc": "Returns the handle of the next ped in the given area who has not bought \"ice cream\" yet, or -1 otherwise" + }, + { + "attrs": { + "is_unsupported": true + }, + "id": "0595", + "name": "GET_RANDOM_ICE_CREAM_CUSTOMER_IN_ZONE", + "num_params": 0 + }, + { + "input": [ + { + "name": "leftBottomX", + "type": "float" + }, + { + "name": "leftBottomY", + "type": "float" + }, + { + "name": "topRightX", + "type": "float" + }, + { + "name": "topRightY", + "type": "float" + } + ], + "attrs": { + "is_static": true + }, + "class": "World", + "id": "0596", + "member": "UnlockAllCarDoorsInArea", + "name": "UNLOCK_ALL_CAR_DOORS_IN_AREA", + "num_params": 4, + "short_desc": "Unlocks all car doors in the specified rectangular area" + }, + { + "input": [ + { + "name": "gangId", + "type": "GangType" + }, + { + "name": "state", + "type": "bool" + } + ], + "attrs": { + "is_static": true + }, + "class": "Gang", + "id": "0597", + "member": "SetAttackPlayerWithCops", + "name": "SET_GANG_ATTACK_PLAYER_WITH_COPS", + "num_params": 2, + "short_desc": "Forces members of the specified gang to act as law enforcement towards the player" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + }, + { + "name": "state", + "type": "bool" + } + ], + "class": "Char", + "id": "0598", + "member": "SetFrightenedInJackedCar", + "name": "SET_CHAR_FRIGHTENED_IN_JACKED_CAR", + "num_params": 2, + "short_desc": "" + }, + { + "class": "Car", + "id": "0599", + "input": [ + { + "name": "self", + "type": "Car" + }, + { + "name": "alpha", + "type": "int" + } + ], + "member": "SetToFadeIn", + "name": "SET_VEHICLE_TO_FADE_IN", + "num_params": 2, + "short_desc": "Sets the alpha transparency of a distant vehicle" + }, + { + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "059A", + "member": "RegisterOddjobMissionPassed", + "name": "REGISTER_ODDJOB_MISSION_PASSED", + "num_params": 0, + "short_desc": "Sets the latest odd job mission passed" + }, + { + "input": [ + { + "name": "self", + "type": "Player" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Player", + "id": "059B", + "member": "IsInShortcutTaxi", + "name": "IS_PLAYER_IN_SHORTCUT_TAXI", + "num_params": 1, + "short_desc": "Returns true if the player is entering a shortcut taxi (0556)" + }, + { + "input": [ + { + "name": "self", + "type": "Char" + } + ], + "attrs": { + "is_condition": true + }, + "class": "Char", + "id": "059C", + "member": "IsDucking", + "name": "IS_CHAR_DUCKING", + "num_params": 1, + "short_desc": "Returns true if the specified character is crouching" + }, + { + "input": [ + { + "name": "heliObject", + "type": "CutsceneObject" + }, + { + "name": "radius", + "type": "float" + }, + { + "name": "density", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Cutscene", + "id": "059D", + "member": "CreateDustEffectForHeli", + "name": "CREATE_DUST_EFFECT_FOR_CUTSCENE_HELI", + "num_params": 3, + "short_desc": "Creates an effect of a heli blowing up dust on the ground" + }, + { + "input": [ + { + "name": "highestLevel", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Stat", + "id": "059E", + "member": "RegisterFireLevel", + "name": "REGISTER_FIRE_LEVEL", + "num_params": 1, + "short_desc": "Saves the highest firefighter level stat" + }, + { + "attrs": { + "is_condition": true, + "is_static": true + }, + "class": "Game", + "id": "059F", + "member": "IsAustralian", + "name": "IS_AUSTRALIAN_GAME", + "num_params": 0, + "short_desc": "Returns true if the current game is an Australian release" + }, + { + "input": [ + { + "name": "self", + "type": "Car" + } + ], + "class": "Car", + "id": "05A0", + "member": "DisarmBomb", + "name": "DISARM_CAR_BOMB", + "num_params": 1, + "short_desc": "Disarms the car's bomb" + }, + { + "id": "05A1", + "name": "COMMAND_05A1", + "num_params": 0 + }, + { + "id": "05A2", + "name": "COMMAND_05A2", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "05A3", + "name": "COMMAND_05A3", + "num_params": 0 + }, + { + "id": "05A4", + "name": "COMMAND_05A4", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "05A5", + "name": "COMMAND_05A5", + "num_params": 7, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + } + ] + }, + { + "id": "05A6", + "name": "COMMAND_05A6", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "05A7", + "name": "COMMAND_05A7", + "num_params": 7, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + } + ] + }, + { + "id": "05A8", + "name": "COMMAND_05A8", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "05A9", + "name": "COMMAND_05A9", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "05AA", + "name": "COMMAND_05AA", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "05AB", + "name": "COMMAND_05AB", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05AC", + "name": "COMMAND_05AC", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "05AD", + "name": "COMMAND_05AD", + "num_params": 0 + }, + { + "id": "05AE", + "name": "COMMAND_05AE", + "num_params": 0 + }, + { + "id": "05AF", + "name": "COMMAND_05AF", + "num_params": 0 + }, + { + "id": "05B0", + "name": "COMMAND_05B0", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05B1", + "name": "COMMAND_05B1", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05B2", + "name": "COMMAND_05B2", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05B3", + "name": "COMMAND_05B3", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05B4", + "name": "COMMAND_05B4", + "num_params": 0 + }, + { + "id": "05B5", + "name": "COMMAND_05B5", + "num_params": 0 + }, + { + "id": "05B6", + "name": "COMMAND_05B6", + "num_params": 0 + }, + { + "id": "05B7", + "name": "COMMAND_05B7", + "num_params": 0 + }, + { + "id": "05B8", + "name": "COMMAND_05B8", + "num_params": 0 + }, + { + "id": "05B9", + "name": "COMMAND_05B9", + "num_params": 0 + }, + { + "id": "05BA", + "name": "COMMAND_05BA", + "num_params": 0 + }, + { + "id": "05BB", + "name": "COMMAND_05BB", + "num_params": 0 + }, + { + "id": "05BC", + "name": "COMMAND_05BC", + "num_params": 0 + }, + { + "id": "05BD", + "name": "COMMAND_05BD", + "num_params": 0 + }, + { + "id": "05BE", + "name": "COMMAND_05BE", + "num_params": 0 + }, + { + "id": "05BF", + "name": "COMMAND_05BF", + "num_params": 0 + }, + { + "id": "05C0", + "name": "COMMAND_05C0", + "num_params": 0 + }, + { + "id": "05C1", + "name": "COMMAND_05C1", + "num_params": 0 + }, + { + "id": "05C2", + "name": "COMMAND_05C2", + "num_params": 0 + }, + { + "id": "05C3", + "name": "COMMAND_05C3", + "num_params": 0 + }, + { + "id": "05C4", + "name": "COMMAND_05C4", + "num_params": 0 + }, + { + "id": "05C5", + "name": "COMMAND_05C5", + "num_params": 0 + }, + { + "id": "05C6", + "name": "COMMAND_05C6", + "num_params": 0 + }, + { + "id": "05C7", + "name": "COMMAND_05C7", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05C8", + "name": "COMMAND_05C8", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05C9", + "name": "COMMAND_05C9", + "num_params": 10, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + }, + { + "name": "_p7", + "type": "any" + }, + { + "name": "_p8", + "type": "any" + }, + { + "name": "_p9", + "type": "any" + } + ] + }, + { + "id": "05CA", + "name": "COMMAND_05CA", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05CB", + "name": "COMMAND_05CB", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05CC", + "name": "COMMAND_05CC", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05CD", + "name": "COMMAND_05CD", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05CE", + "name": "COMMAND_05CE", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05CF", + "name": "COMMAND_05CF", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "05D0", + "name": "COMMAND_05D0", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05D1", + "name": "COMMAND_05D1", + "num_params": 0 + }, + { + "id": "05D2", + "name": "COMMAND_05D2", + "num_params": 0 + }, + { + "id": "05D3", + "name": "COMMAND_05D3", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05D4", + "name": "COMMAND_05D4", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05D5", + "name": "COMMAND_05D5", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05D6", + "name": "COMMAND_05D6", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "05D7", + "name": "COMMAND_05D7", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "05D8", + "name": "COMMAND_05D8", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05D9", + "name": "COMMAND_05D9", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05DA", + "name": "COMMAND_05DA", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05DB", + "name": "COMMAND_05DB", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "05DC", + "name": "COMMAND_05DC", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05DD", + "name": "COMMAND_05DD", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05DE", + "name": "COMMAND_05DE", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05DF", + "name": "COMMAND_05DF", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05E0", + "name": "COMMAND_05E0", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05E1", + "name": "COMMAND_05E1", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05E2", + "name": "COMMAND_05E2", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05E3", + "name": "COMMAND_05E3", + "num_params": 6, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + } + ] + }, + { + "id": "05E4", + "name": "COMMAND_05E4", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05E5", + "name": "COMMAND_05E5", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05E6", + "name": "COMMAND_05E6", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05E7", + "name": "COMMAND_05E7", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05E8", + "name": "COMMAND_05E8", + "num_params": 0 + }, + { + "id": "05E9", + "name": "COMMAND_05E9", + "num_params": 0 + }, + { + "id": "05EA", + "name": "COMMAND_05EA", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05EB", + "name": "COMMAND_05EB", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05EC", + "name": "COMMAND_05EC", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "05ED", + "name": "COMMAND_05ED", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "05EE", + "name": "COMMAND_05EE", + "num_params": 0 + }, + { + "id": "05EF", + "name": "COMMAND_05EF", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05F0", + "name": "COMMAND_05F0", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05F1", + "name": "COMMAND_05F1", + "num_params": 0 + }, + { + "id": "05F2", + "name": "COMMAND_05F2", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05F3", + "name": "COMMAND_05F3", + "num_params": 0 + }, + { + "id": "05F4", + "name": "COMMAND_05F4", + "num_params": 0 + }, + { + "id": "05F5", + "name": "COMMAND_05F5", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05F6", + "name": "COMMAND_05F6", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05F7", + "name": "COMMAND_05F7", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05F8", + "name": "COMMAND_05F8", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05F9", + "name": "COMMAND_05F9", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05FA", + "name": "COMMAND_05FA", + "num_params": 0 + }, + { + "id": "05FB", + "name": "COMMAND_05FB", + "num_params": 0 + }, + { + "id": "05FC", + "name": "COMMAND_05FC", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "05FD", + "name": "COMMAND_05FD", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05FE", + "name": "COMMAND_05FE", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "05FF", + "name": "COMMAND_05FF", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0600", + "name": "COMMAND_0600", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0601", + "name": "COMMAND_0601", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0602", + "name": "COMMAND_0602", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0603", + "name": "COMMAND_0603", + "num_params": 0 + }, + { + "id": "0604", + "name": "COMMAND_0604", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0605", + "name": "COMMAND_0605", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0606", + "name": "COMMAND_0606", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0607", + "name": "COMMAND_0607", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0608", + "name": "COMMAND_0608", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0609", + "name": "COMMAND_0609", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "060A", + "name": "COMMAND_060A", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "060B", + "name": "COMMAND_060B", + "num_params": 6, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + } + ] + }, + { + "id": "060C", + "name": "COMMAND_060C", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "060D", + "name": "COMMAND_060D", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "060E", + "name": "COMMAND_060E", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "060F", + "name": "COMMAND_060F", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "0610", + "name": "COMMAND_0610", + "num_params": 0 + }, + { + "id": "0611", + "name": "COMMAND_0611", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0612", + "name": "COMMAND_0612", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0613", + "name": "COMMAND_0613", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0614", + "name": "COMMAND_0614", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0615", + "name": "COMMAND_0615", + "num_params": 6, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + } + ] + }, + { + "id": "0616", + "name": "COMMAND_0616", + "num_params": 0 + }, + { + "id": "0617", + "name": "COMMAND_0617", + "num_params": 0 + }, + { + "id": "0618", + "name": "COMMAND_0618", + "num_params": 0 + }, + { + "id": "0619", + "name": "COMMAND_0619", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "061A", + "name": "COMMAND_061A", + "num_params": 0 + }, + { + "id": "061B", + "name": "COMMAND_061B", + "num_params": 6, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + } + ] + }, + { + "id": "061C", + "name": "COMMAND_061C", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "061D", + "name": "COMMAND_061D", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "061E", + "name": "COMMAND_061E", + "num_params": 0 + }, + { + "id": "061F", + "name": "COMMAND_061F", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0620", + "name": "COMMAND_0620", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "0621", + "name": "COMMAND_0621", + "num_params": 0 + }, + { + "id": "0622", + "name": "COMMAND_0622", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0623", + "name": "COMMAND_0623", + "num_params": 0 + }, + { + "id": "0624", + "name": "COMMAND_0624", + "num_params": 0 + }, + { + "id": "0625", + "name": "COMMAND_0625", + "num_params": 0 + }, + { + "id": "0626", + "name": "COMMAND_0626", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0627", + "name": "COMMAND_0627", + "num_params": 0 + }, + { + "id": "0628", + "name": "COMMAND_0628", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "0629", + "name": "COMMAND_0629", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "062A", + "name": "COMMAND_062A", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "062B", + "name": "COMMAND_062B", + "num_params": 7, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + } + ] + }, + { + "id": "062C", + "name": "COMMAND_062C", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "062D", + "name": "COMMAND_062D", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "062E", + "name": "COMMAND_062E", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "062F", + "name": "COMMAND_062F", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0630", + "name": "COMMAND_0630", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0631", + "name": "COMMAND_0631", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0632", + "name": "COMMAND_0632", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0633", + "name": "COMMAND_0633", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0634", + "name": "COMMAND_0634", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0635", + "name": "COMMAND_0635", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0636", + "name": "COMMAND_0636", + "num_params": 0 + }, + { + "id": "0637", + "name": "COMMAND_0637", + "num_params": 0 + }, + { + "id": "0638", + "name": "COMMAND_0638", + "num_params": 0 + }, + { + "id": "0639", + "name": "COMMAND_0639", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "063A", + "name": "COMMAND_063A", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "063B", + "name": "COMMAND_063B", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "063C", + "name": "COMMAND_063C", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "063D", + "name": "COMMAND_063D", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "063E", + "name": "COMMAND_063E", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "063F", + "name": "COMMAND_063F", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0640", + "name": "COMMAND_0640", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0641", + "name": "COMMAND_0641", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0642", + "name": "COMMAND_0642", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0643", + "name": "COMMAND_0643", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0644", + "name": "COMMAND_0644", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0645", + "name": "COMMAND_0645", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0646", + "name": "COMMAND_0646", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0647", + "name": "COMMAND_0647", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0648", + "name": "COMMAND_0648", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0649", + "name": "COMMAND_0649", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "064A", + "name": "COMMAND_064A", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "064B", + "name": "COMMAND_064B", + "num_params": 10, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + }, + { + "name": "_p6", + "type": "any" + }, + { + "name": "_p7", + "type": "any" + }, + { + "name": "_p8", + "type": "any" + }, + { + "name": "_p9", + "type": "any" + } + ] + }, + { + "id": "064C", + "name": "COMMAND_064C", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "064D", + "name": "COMMAND_064D", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "064E", + "name": "COMMAND_064E", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "064F", + "name": "COMMAND_064F", + "num_params": 0 + }, + { + "id": "0650", + "name": "COMMAND_0650", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0651", + "name": "COMMAND_0651", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0652", + "name": "COMMAND_0652", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "0653", + "name": "COMMAND_0653", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0654", + "name": "COMMAND_0654", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0655", + "name": "COMMAND_0655", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "0656", + "name": "COMMAND_0656", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "0657", + "name": "COMMAND_0657", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "0658", + "name": "COMMAND_0658", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "0659", + "name": "COMMAND_0659", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "065A", + "name": "COMMAND_065A", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "065B", + "name": "COMMAND_065B", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "065C", + "name": "COMMAND_065C", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "065D", + "name": "COMMAND_065D", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "065E", + "name": "COMMAND_065E", + "num_params": 0 + }, + { + "id": "065F", + "name": "COMMAND_065F", + "num_params": 5, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + } + ] + }, + { + "id": "0660", + "name": "COMMAND_0660", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "0661", + "name": "COMMAND_0661", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "0662", + "name": "COMMAND_0662", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0663", + "name": "COMMAND_0663", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0664", + "name": "COMMAND_0664", + "num_params": 4, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + } + ] + }, + { + "id": "0665", + "name": "COMMAND_0665", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0666", + "name": "COMMAND_0666", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "0667", + "name": "COMMAND_0667", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0668", + "name": "COMMAND_0668", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0669", + "name": "COMMAND_0669", + "num_params": 0 + }, + { + "id": "066A", + "name": "COMMAND_066A", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "066B", + "name": "COMMAND_066B", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "066C", + "name": "COMMAND_066C", + "num_params": 6, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + }, + { + "name": "_p3", + "type": "any" + }, + { + "name": "_p4", + "type": "any" + }, + { + "name": "_p5", + "type": "any" + } + ] + }, + { + "id": "066D", + "name": "COMMAND_066D", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "066E", + "name": "COMMAND_066E", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "066F", + "name": "COMMAND_066F", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0670", + "name": "COMMAND_0670", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "0671", + "name": "COMMAND_0671", + "num_params": 3, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + }, + { + "name": "_p2", + "type": "any" + } + ] + }, + { + "id": "0672", + "name": "COMMAND_0672", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0673", + "name": "COMMAND_0673", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0674", + "name": "COMMAND_0674", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0675", + "name": "COMMAND_0675", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0676", + "name": "COMMAND_0676", + "num_params": 1, + "input": [ + { + "name": "_p0", + "type": "any" + } + ] + }, + { + "id": "0677", + "name": "COMMAND_0677", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + }, + { + "id": "0678", + "name": "COMMAND_0678", + "num_params": 2, + "input": [ + { + "name": "_p0", + "type": "any" + }, + { + "name": "_p1", + "type": "any" + } + ] + } + ] + } + ], + "classes": [ + { + "name": "Blip", + "constructable": true, + "desc": "Markers and Radar Icons" + }, + { + "name": "Car", + "constructable": true, + "desc": "Script Vehicles" + }, + { + "name": "CarGenerator", + "constructable": true, + "desc": "Parking Lots" + }, + { + "name": "Char", + "constructable": true, + "desc": "Script Characters (Actors)" + }, + { + "name": "Clipboard", + "constructable": false, + "desc": "Basic operations to copy and paste data" + }, + { + "name": "CutsceneObject", + "constructable": true, + "desc": "Cutscene Objects" + }, + { + "name": "DynamicLibrary", + "constructable": true, + "desc": "Loading DLL files and finding exported functions" + }, + { + "name": "File", + "constructable": true, + "desc": "Reading and writing files" + }, + { + "name": "Fs", + "constructable": false, + "desc": "File System operations such as copying or deleting files" + }, + { + "name": "Garage", + "constructable": true, + "desc": "Garages" + }, + { + "name": "ImGui", + "constructable": false, + "desc": "ImGui integration" + }, + { + "name": "IniFile", + "constructable": false, + "desc": "Reading and writing .ini files" + }, + { + "name": "MemoryLibrary", + "constructable": true, + "desc": "Working with DLL files already loaded in memory" + }, + { + "name": "Object", + "constructable": true, + "desc": "Script Objects" + }, + { + "name": "ObjectPath", + "constructable": true, + "desc": "Pre-recorded script paths" + }, + { + "name": "Phone", + "constructable": true, + "desc": "Phone Booth Calls and Messages" + }, + { + "name": "Pickup", + "constructable": true, + "desc": "Interactive Script Objects" + }, + { + "name": "Player", + "constructable": true, + "desc": "The Main Character Controlled by a Player" + }, + { + "name": "ScriptFire", + "constructable": true, + "desc": "Script Fires" + }, + { + "name": "Sound", + "constructable": true, + "desc": "Positionable Audio Effects" + }, + { + "name": "Sphere", + "constructable": true, + "desc": "Cylinder Markers" + }, + { + "name": "Boat", + "constructable": true, + "extends": "Car", + "desc": "Boats" + }, + { + "name": "Heli", + "constructable": true, + "extends": "Car", + "desc": "Choppers" + }, + { + "name": "Plane", + "constructable": true, + "extends": "Car", + "desc": "Planes" + }, + { + "name": "Tank", + "constructable": true, + "extends": "Car", + "desc": "Tanks" + }, + { + "name": "Audio", + "constructable": false, + "desc": "Audio Effects" + }, + { + "name": "Camera", + "constructable": false, + "desc": "Camera/View Manipulation" + }, + { + "name": "Clock", + "constructable": false, + "desc": "Time Manipulation" + }, + { + "name": "Credits", + "constructable": false, + "desc": "End-Game Credits" + }, + { + "name": "Cutscene", + "constructable": false, + "desc": "Mission Cutscenes" + }, + { + "name": "Debugger", + "constructable": false, + "desc": "Various Debugging Utilities" + }, + { + "name": "Fx", + "constructable": false, + "desc": "Various 2D Effects (Shadows, Lights, Coronas, Particles)" + }, + { + "name": "Game", + "constructable": false, + "desc": "Game State" + }, + { + "name": "Gang", + "constructable": false, + "desc": "Gangs Configuration" + }, + { + "name": "Hud", + "constructable": false, + "desc": "Game UI" + }, + { + "name": "KillFrenzy", + "constructable": false, + "desc": "Rampages Logic" + }, + { + "name": "Math", + "constructable": false, + "desc": "Math and Conversion Utilities" + }, + { + "name": "Memory", + "constructable": false, + "desc": "Process Memory Manipulation" + }, + { + "name": "Mission", + "constructable": false, + "desc": "Current Mission control" + }, + { + "name": "Pad", + "constructable": false, + "desc": "Input Controls" + }, + { + "name": "Path", + "constructable": false, + "desc": "Path Configuration And Lookup" + }, + { + "name": "Rc", + "constructable": false, + "desc": "Remote-Controlled Cars" + }, + { + "name": "Restart", + "constructable": false, + "desc": "Configuration of Respawn Points" + }, + { + "name": "Shortcut", + "constructable": false, + "desc": "Mission Shortcut Taxi" + }, + { + "name": "Stat", + "constructable": false, + "desc": "Game Statistics" + }, + { + "name": "Streaming", + "constructable": false, + "desc": "Loading Game Assets" + }, + { + "name": "StuckCarCheck", + "constructable": false, + "desc": "Stuck Cars Check" + }, + { + "name": "Text", + "constructable": false, + "desc": "Text Messages" + }, + { + "name": "Txd", + "constructable": false, + "desc": "Texture Dictionaries" + }, + { + "name": "Weapon", + "constructable": false, + "desc": "Weapons" + }, + { + "name": "Weather", + "constructable": false, + "desc": "Weather Control" + }, + { + "name": "World", + "constructable": false, + "desc": "Traffic, Population and other Physical Entities" + }, + { + "name": "Zone", + "constructable": false, + "desc": "Game Map Areas Configuration" + } + ] +} \ No newline at end of file diff --git a/lcs/mode.xml b/lcs/mode.xml new file mode 100644 index 0000000..d3e8ebc --- /dev/null +++ b/lcs/mode.xml @@ -0,0 +1,14 @@ + + @sb:\data\lcs\ + @sb:\data\lcs\LCSSCM.ini + @sb:\data\lcs\classes.db + @sb:\data\lcs\CustomVariables.ini + @sb:\data\lcs\missions.txt + @sb:\data\lcs\constants.txt + @sb:\data\lcs\templates.txt + @sb:\data\lcs\templates.custom.txt + @sb:\data\lcs\english.gxt + @sb:\data\lcs\default.ide + @sb:\data\lcs\keywords.txt + @sb:\data\lcs\lcs.json + \ No newline at end of file diff --git a/modes.xml b/modes.xml deleted file mode 100644 index feb9190..0000000 --- a/modes.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - @sb:\data\gta3\ - @sb:\data\gta3\SCM.ini - @sb:\data\gta3\enums.txt - @sb:\data\gta3\classes.db - @sb:\data\gta3\CustomVariables.ini - @sb:\data\gta3\keywords.txt - @sb:\data\gta3\missions.txt - @sb:\data\gta3\constants.txt - @sb:\data\gta3\templates.txt - @sb:\data\gta3\templates.custom.txt - @game:\text\american.gxt - @game:\data\default.ide - @sb:\data\gta3\gta3.json - @game:\data - @game:\CLEO - - - @sb:\data\vc\ - @sb:\data\vc\VCSCM.ini - @sb:\data\vc\classes.db - @sb:\data\vc\CustomVariables.ini - @sb:\data\vc\keywords.txt - @sb:\data\vc\missions.txt - @sb:\data\vc\enums.txt - @sb:\data\vc\constants.txt - @sb:\data\vc\templates.txt - @sb:\data\vc\templates.custom.txt - @game:\text\american.gxt - @game:\data\default.ide - @sb:\data\vc\vc.json - @game:\data - @game:\CLEO - - - @sb:\data\sa\ - @sb:\data\sa\SASCM.ini - @sb:\data\sa\classes.db - @sb:\data\sa\enums.txt - @sb:\data\sa\CustomVariables.ini - @sb:\data\sa\keywords.txt - @sb:\data\sa\CustomLabels.ini - @sb:\data\sa\CustomArrays.ini - @sb:\data\sa\missions.txt - @sb:\data\sa\constants.txt - @sb:\data\sa\opcodes.txt - @sb:\data\sa\templates.txt - @sb:\data\sa\templates.custom.txt - @game:\text\american.gxt - @game:\data\default.dat - @game:\data\maps\veh_mods\veh_mods.ide - @sb:\data\sa\sa.json - @game:\data\script - @game:\CLEO - - - @sb:\data\sa\CustomLabels_v2.ini - - - @sb:\data\sa_scr\SASCM.ini - @sb:\data\sa_scr\classes.db - @sb:\data\sa_scr\keywords.txt - @sb:\data\sa_scr\opcodes.txt - @sb:\data\sa_scr\templates.txt - @sb:\data\sa_scr\templates.custom.txt - - - @sb:\data\sa_ps2\ - @sb:\data\sa_ps2\SASCM.ini - @sb:\data\sa_ps2\opcodes.txt - - - @sb:\data\lcs\ - @sb:\data\lcs\LCSSCM.ini - @sb:\data\lcs\classes.db - @sb:\data\lcs\CustomVariables.ini - @sb:\data\lcs\missions.txt - @sb:\data\lcs\constants.txt - @sb:\data\lcs\templates.txt - @sb:\data\lcs\templates.custom.txt - @sb:\data\lcs\english.gxt - @sb:\data\lcs\models.ide - - - - @sb:\data\vcs\ - @sb:\data\vcs\VCSSCM.ini - @sb:\data\vcs\classes.db - @sb:\data\vcs\constants.txt - @sb:\data\vcs\templates.txt - @sb:\data\vcs\templates.custom.txt - @sb:\data\vcs\models.ide - @sb:\data\vcs\keywords.txt - - @sb:\data\vcs\psp\CustomVariables.ini - @sb:\data\vcs\psp\CustomLabels.ini - @sb:\data\vcs\psp\CustomArrays.ini - @sb:\data\vcs\psp\english.gxt - @sb:\data\vcs\psp\missions.txt - @sb:\data\vcs\psp\opcodes.txt - - - - @sb:\data\vcs\ps2\CustomVariables.ini - @sb:\data\vcs\ps2\CustomLabels.ini - @sb:\data\vcs\ps2\CustomArrays.ini - @sb:\data\vcs\ps2\missions.txt - @sb:\data\vcs\ps2\english.gxt - @sb:\data\vcs\ps2\opcodes.txt - - - @sb:\data\vc_mobile\ - @sb:\data\vc_mobile\VCSCM.ini - @sb:\data\vc_mobile\opcodes.txt - @sb:\data\vc_mobile\CustomVariables.ini - @sb:\data\vc_mobile\keywords.txt - @sb:\data\vc_mobile\templates.txt - @sb:\data\vc_mobile\templates.custom.txt - @sb:\data\vc_mobile\american.gxt - @sb:\data\vc_mobile\data\default.ide - @sb:\data\vc_mobile\data\gta_vc.dat - @sb:\data\vc_mobile\vc_mobile.json - @sb:\data\vc_mobile\enums.txt - - - @sb:\data\sa_mobile\ - @sb:\data\sa_mobile\SASCM.ini - @sb:\data\sa_mobile\classes.db - @sb:\data\sa_mobile\CustomVariables.ini - @sb:\data\sa_mobile\keywords.txt - @sb:\data\sa_mobile\CustomLabels.ini - @sb:\data\sa_mobile\CustomArrays.ini - @sb:\data\sa_mobile\missions.txt - @sb:\data\sa_mobile\constants.txt - @sb:\data\sa_mobile\templates.txt - @sb:\data\sa_mobile\templates.custom.txt - @sb:\data\sa_mobile\american.gxt - @sb:\data\sa_mobile\custom.dat - @sb:\data\sa_mobile\sa_mobile.json - @sb:\data\sa_mobile\enums.txt - - - \ No newline at end of file diff --git a/sa/SASCM.CLEO+.ini b/sa/SASCM.CLEO+.ini new file mode 100644 index 0000000..664dacc --- /dev/null +++ b/sa/SASCM.CLEO+.ini @@ -0,0 +1,292 @@ +[CLEO+] +;0B20=2,read_clipboard_data_to %1d% size %2d% +;0B21=2,write_clipboard_data_from %1d% size %2d% +;0D01=6,rotate_matrix %1d% on_axis %2d% %3d% %4d% angle %5d% combine_op %6d% +;0D02=2,%2d% = matrix %1d% x_angle // keep NewOpcodes order +;0D03=2,%2d% = matrix %1d% y_angle // keep NewOpcodes order +;0D04=2,%2d% = matrix %1d% z_angle // keep NewOpcodes order +;0D0A=7,store_coords_to %5d% %6d% %7d% from_matrix %1d% with_offsets %2d% %3d% %4d% // keep NewOpcodes order +;0D0F=2,set_car_model_alpha %1d% alpha %2d% +;0D10=2,set_char_model_alpha %1d% alpha %2d% +;0D11=2,set_object_model_alpha %1d% alpha %2d% +;0D16=2,set_matrix_rotation_from_quat %1d% rotation_from_quat %2d% +;0D17=2,set_quat_from_matrix %1d% to_quat %2d% +;0D18=6,rotate_quat_on_axis %1d% axis_vector %2d% %3d% %4d% angle %5d% combine_op %6d% +;0D19=2,get_normalised_quat %1d% to_quat %2d% +;0D1A=3,multiply_quats %3d% = quat %1d% * quat %2d% // keep NewOpcodes order +;0D1E=4,quat_slerp %1d% to %2d% lambda %3d% result %4d% +;0D24=5,set_quat %1d% elements %2d% %3d% %4d% %5d% +;0D27=3,copy_memory %1d% to %2d% size %3d% +;0D29=5,get_quat %1d% elements_to %2d% %3d% %4d% %5d% +;0D2D=8,get_local_time_year_to %1d% month_to %2d% day_of_week_to %3d% day_to %4d% hour_to %5d% minute_to %6d% second_to %7d% milliseconds_to %8d% +;0D2E=3,set_thread %1d% var %2d% value %3d% +;0D2F=3,%3d% = get_thread %1d% var %2d% // keep NewOpcodes order +;0D33=3,set_car %1d% door %2d% window_state %3d% +;0D37=3,write_struct_param %1d% param %2d% value %3d% +;0D38=3,%3d% = read_struct_param %1d% param %2d% // keep newOpcodes ordering for SB +;0D39=2,%2d% = get_char_max_health %1d% // keep NewOpcodes order +;0D3A=20,get_collision_between_points %1d% %2d% %3d% and %4d% %5d% %6d% flags %7d% %8d% %9d% %10d% %11d% %12d% %13d% %14d% ignore_entity %15d% store_point_to %17d% %18d% %19d% entity_to %20d% colpoint_data_to %16d% // keep NewOpcodes order +;0D3B=4,get_colpoint_normal_vector %1d% store_to %2d% %3d% %4d% +;0D3C=2,get_colpoint_surface %1d% store_to %2d% +;0D3E=2,get_colpoint_depth %1d% store_to %2d% +;0D4C=2,%2d% = string %1s% length // keep NewOpcodes order +;0D4D=2,copy_string %1s% to %2d% +;0D4E=4,%4d% = read_struct %1d% offset %2d% size %3d% // keep newOpcodes ordering for SB +;0D4F=4,write_struct %1d% offset %2d% size %3d% value %4d% // newOpcodes version of 0E28, the original one does not work, this is a fall off +;0D59=1,get_current_weather_to %1d% +0E00=2,get_car_alarm %1d% mode_to %2d% +0E01=7,create_object_no_save %1o% at %2d% %3d% %4d% offset %5d% ground %6d% to %7d% +0E02=1,set_car_generator %1d% no_save +0E03=2,perlin_noise %1d% store_to %2d% +0E04=1,get_next_weather_to %1d% +0E05=1,set_next_weather_to %1d% +0E06=1,get_rain_intensity %1d% +0E07=1,set_rain_intensity %1d% +0E08=1,is_car_script_controlled %1d% +0E09=1,mark_car_as_needed %1d% +0E0A=1,is_char_script_controlled %1d% +0E0B=1,mark_char_as_needed %1d% +0E0C=1,is_object_script_controlled %1d% +0E0D=1,mark_object_as_needed %1d% +0E0E=2,get_current_resolution_to %1d% %2d% +0E0F=4,get_fixed_xy_aspect_ratio %1d% %2d% to %3d% %4d% +0E10=0,is_mouse_wheel_up +0E11=0,is_mouse_wheel_down +0E12=2,get_vehicle %1d% subclass_to %2d% +0E13=2,get_entity %1d% type_to %2d% +0E14=3,init_extended_char_vars %1d% id %2d% new_vars %3d% +0E15=4,set_extended_char_var %1d% id %2d% var %3d% value %4d% +0E16=4,get_extended_char_var %1d% id %2d% var %3d% to %4d% +0E17=3,init_extended_car_vars %1d% id %2d% new_vars %3d% +0E18=4,set_extended_car_var %1d% id %2d% var %3d% value %4d% +0E19=4,get_extended_car_var %1d% id %2d% var %3d% to %4d% +0E1A=3,init_extended_object_vars %1d% id %2d% new_vars %3d% +0E1B=4,set_extended_object_var %1d% id %2d% var %3d% value %4d% +0E1C=4,get_extended_object_var %1d% id %2d% var %3d% to %4d% +0E1D=0,is_on_mission +0E1E=15,draw_texture_plus %1d% event %2d% pos %3d% %4d% size %5d% %6d% angle %7d% depth %8d% fix_aspect_ratio %9d% maskTrisCount %10d% maskTrisArray %11d% rgba %12d% %13d% %14d% %15d% +0E1F=4,ease %1d% mode %2d% way %3d% to %4d% +0E20=0,is_on_samp +0E21=1,get_audio_sfx_volume %1d% +0E22=1,get_audio_radio_volume %1d% +0E23=1,get_mouse_sensibility_to %1d% +0E24=4,fix_char %1d% ground %2d% brightness %3d% and_fade_in %4d% +0E25=0,is_on_cutscene +0E26=2,is_weapon %1d% fire_type %2d% +0E27=5,get_angle_from_two_coords %1d% %2d% and %3d% %4d% to %5d% +0E28=4,write_struct %1d% offset %2d% size %3d% value %4d% +0E29=7,perlin_noise %1d% octaves %2d% frequency %3d% amplitude %4d% lacunarity %5d% persistence %6d% store_to %7d% +0E2A=9,add_cleo_blip %1d% position %2d% %3d% is_short %4d% RGBA %5d% %6d% %7d% %8d% store_to %9d% +0E2B=1,remove_cleo_blip %1d% +0E2C=1,get_current_save_slot %1d% +0E2D=0,is_game_first_start +0E2E=10,create_render_object_to_char_bone %1d% model %2d% bone %3d% offset %4d% %5d% %6d% rotation %7d% %8d% %9d% store_to %10d% +0E2F=1,delete_render_object %1d% +0E30=4,set_render_object_auto_hide %1d% dead %2d% weapon %3d% car %4d% +0E31=2,set_render_object_visible %1d% %2d% +0E32=4,set_char_coordinates_simple %1d% coord %2d% %3d% %4d% +0E33=5,get_pickup_this_coord %1d% %2d% %3d% only_available %4d% store_to %5d% +0E34=2,get_pickup_model %1d% %2d% +0E35=4,set_render_object_position %1d% %2d% %3d% %4d% +0E36=4,set_render_object_rotation %1d% %2d% %3d% %4d% +0E37=4,set_render_object_scale %1d% %2d% %3d% %4d% +0E38=2,get_pickup_pointer %1d% store_to %2d% +0E39=2,get_pickup_type %1d% store_to %2d% +0E3A=5,set_render_object_distortion %1d% %2d% %3d% %4d% %5d% +0E3B=2,get_audiostream_internal %1d% store_to %2d% +0E3C=2,get_texture_from_sprite %1d% store_to %2d% +0E3D=1,is_key_just_pressed %1d% +0E3E=2,is_button_just_pressed %1d% button %2d% +0E3F=9,convert_3d_to_screen_2d %1d% %2d% %3d% checkNearClip %4d% checkFarClip %5d% store_2d_to %6d% %7d% size_to %8d% %9d% +0E40=1,get_current_hour %1d% +0E41=1,get_current_minute %1d% +0E42=2,is_char_doing_task_id %1d% %2d% +0E43=3,get_char_task_pointer_by_id %1d% %2d% store_to %3d% +0E44=2,get_char_kill_target_char %1d% store_to %2d% +0E45=1,frame_mod %1d% +0E46=1,is_char_using_gun %1d% +0E47=1,is_char_fighting %1d% +0E48=1,is_char_fallen_on_ground %1d% +0E49=1,is_char_entering_any_car %1d% +0E4A=1,is_char_exiting_any_car %1d% +0E4B=2,is_char_playing_any_script_animation %1d% include_anims %2d% +0E4C=2,is_char_doing_any_important_task %1d% include_anims %2d% +0E4D=1,random_percent %1d% +0E4E=2,display_onscreen_timer_local %1d% direction %2d% +0E4F=3,display_onscreen_timer_with_string_local %1d% direction %2d% GXT %3d% +0E50=2,display_onscreen_counter_local %1d% direction %2d% +0E51=3,display_onscreen_counter_with_string_local %1d% direction %2d% GXT %3d% +0E52=2,display_two_onscreen_counters_local %1d% max_value %2d% +0E53=3,display_two_onscreen_counters_with_string_local %1d% max_value %2d% GXT %3d% +0E54=1,clear_onscreen_timer_local %1d% +0E55=1,clear_onscreen_counter_local %1d% +0E56=2,set_onscreen_counter_flash_when_first_displayed_local %1d% flash %2d% +0E57=2,set_timer_beep_countdown_time_local %1d% secs %2d% +0E58=2,set_onscreen_counter_colour_local %1d% color %2d% +0E59=2,get_trailer_from_car %1d% trailer %2d% +0E5A=2,get_car_from_trailer %1d% store_to %2d% +0E5B=7,get_car_dummy_coord %1d% dummy %2d% world_coords %3d% invert_x %4d% store_to %5d% %6d% %7d% // same as NewOpcodes but this is adapted to VehFuncs +0E5C=2,get_player_health_percent %1d% store_to %2d% +0E5D=1,is_cheat_active %1d% +0E5E=3,change_player_money %1d% mode %2d% value %3d% +0E5F=1,car_horn %1d% +0E60=1,set_camera_control %1d% +0E61=2,set_car_alarm %1d% mode %2d% +0E62=8,print %1s% event %2d% at %3d% %4d% scale %5d% %6d% fixAR %7d% style %8d% +0E63=27,print %1s% event %2d% at %3d% %4d% scale %5d% %6d% fixAR %7d% style %8d% prop %9d% align %10d% wrap %11d% justify %12d% color %13d% %14d% %15d% %16d% outline %17d% shadow %18d% dropColor %19d% %20d% %21d% %22d% background %23d% backColor %24d% %25d% %26d% %27d% +0E64=1,get_camera_mode %1d% +0E65=2,get_car_collision_intensity %1d% store_to %2d% +0E66=4,get_car_collision_coordinates %1d% store_to %2d% %3d% %4d% +0E67=1,is_aim_button_pressed %1d% +0E68=2,set_player_control_pad %1d% %2d% +0E69=2,set_player_control_pad_movement %1d% %2d% +0E6A=2,make_nop %1d% size %2d% +0E6B=3,get_colpoint_lighting %1d% from_night %2d% store_to %3d% +0E6C=1,get_day_night_balance %1d% +0E6D=1,get_underwaterness %1d% +0E6E=0,is_select_menu_just_pressed +0E6F=-1,stream_custom_script_from_label %1p% +0E70=1,get_last_created_custom_script %1d% +0E71=2,get_object_centre_of_mass_to_base_of_model %1d% %2d% +0E72=2,create_list %1d% store_to %2d% +0E73=1,delete_list %1d% +0E74=2,list_add %1d% value %2d% +0E75=2,list_remove_value %1d% value %2d% +0E76=2,list_remove_index %1d% index %2d% +0E77=2,get_list_size %1d% size %2d% +0E78=3,get_list_value_by_index %1d% index %2d% store_to %3d% +0E79=1,reset_list %1d% +0E7A=3,get_list_string_value_by_index %1d% index %2d% store_to %3d% +0E7B=2,list_add_string %1d% value %2d% +0E7C=2,list_remove_string_value %1d% value %2d% +0E7D=3,list_remove_index %1d% start %2d% end %3d% +0E7E=1,reverse_list %1d% +0E7F=2,get_model_type %1d% store_to %2d% +0E80=5,is_string_equal %1s% %2s% max_size %3d% case_sensitive %4d% ignore_charactere %5s% +0E81=1,is_string_comment %1s% +0E82=2,does_car_have_part_node %1d% %2d% +0E83=2,get_current_char_weaponinfo %1d% store_to %2d% +0E84=3,get_weaponinfo %1d% skill %2d% store_to %3d% +0E85=3,get_weaponinfo_models %1d% store_to %2d% %3d% +0E86=2,get_weaponinfo_flags %1d% store_to %2d% +0E87=2,get_weaponinfo_animgroup %1d% store_to %2d% +0E88=2,get_weaponinfo_total_clip %1d% store_to %2d% +0E89=2,get_weaponinfo_fire_type %1d% store_to %2d% +0E8A=2,get_weaponinfo_slot %1d% store_to %2d% +0E8B=2,get_char_weapon_state %1d% store_to %2d% +0E8C=2,get_char_weapon_clip %1d% store_to %2d% +0E8D=1,is_any_fire_button_pressed %1d% +0E8E=2,get_char_collision_surface %1d% store_to %2d% +0E8F=2,get_char_collision_lighting %1d% store_to %2d% +0E90=2,get_car_collision_surface %1d% store_to %2d% +0E91=2,get_car_collision_lighting %1d% store_to %2d% +0E92=1,is_char_really_in_air %1d% +0E93=1,is_car_really_in_air %1d% +0E94=1,is_object_really_in_air %1d% +0E95=3,simulate_object_damage %1d% damage %2d% type %3d% +0E96=1,clear_char_primary_tasks %1d% +0E97=1,clear_char_secondary_tasks %1d% +0E98=1,request_priority_model %1d% +0E99=0,load_all_priority_models_now +0E9A=2,load_special_character_for_id %1d% name %2d% +0E9B=1,unload_special_character_from_id %1d% +0E9C=2,get_model_by_name %1d% store_id %2d% +0E9D=1,get_model_available_by_name %1d% +0E9E=3,get_model_available_by_name %1d% to %2d% store_to %3d% +0E9F=0,remove_all_unused_models +0EA0=3,set_actor_second_player %1d% enable_camera %2d% separate_cars %3d% +0EA1=1,disable_second_player_restore_camera %1d% +0EA2=1,fix_two_players_separated_cars %1d% +0EA3=1,remove_model_if_unused %1d% +0EA4=1,is_char_on_fire %1d% +0EA5=7,get_closest_cop_near_char %1d% radius %2d% alive %3d% in_car %4d% on_foot %5d% seen_in_front %6d% store_to %7d% +0EA6=8,get_closest_cop_near_char %1d% %2d% %3d% radius %4d% alive %5d% in_car %6d% on_foot %7d% store_to %8d% +0EA7=3,get_any_char_no_save_recursive %1d% progress_to %2d% char_to %3d% +0EA8=3,get_any_car_no_save_recursive %1d% progress_to %2d% car_to %3d% +0EA9=3,get_any_object_no_save_recursive %1d% progress_to %2d% object_to %3d% +0EAA=1,set_char_arrested %1d% +0EAB=2,get_char_pedstate %1d% store_to %2d% +0EAC=6,get_char_proofs %1d% bullet %2d% fire %3d% explosion %4d% collision %5d% melee %6d% +0EAD=6,get_car_proofs %1d% bullet %2d% fire %3d% explosion %4d% collision %5d% melee %6d% +0EAE=6,get_object_proofs %1d% bullet %2d% fire %3d% explosion %4d% collision %5d% melee %6d% +0EAF=1,is_char_weapon_visible_set %1d% +0EB0=1,get_forced_weather %1d% +0EB1=2,get_char_stat_id %1d% store_to %2d% +0EB2=6,get_offset_from_camera_in_world_coords %1d% %2d% %3d% store_to %4d% %5d% %6d% +0EB3=4,convert_direction_to_quat %1d% dir %2d% %3d% %4d% +0EB4=4,set_car_coordinates_simple %1d% position %2d% %3d% %4d% +0EB5=5,get_char_damage_last_frame %1d% damager %2d% type %3d% part %4d% intensity %5d% +0EB6=4,get_car_weapon_damage_last_frame %1d% char %2d% type %3d% intensity %4d% +0EB7=0,is_on_scripted_cutscene +0EB8=0,is_radar_visible +0EB9=0,is_hud_visible +0EBA=3,get_model_ped_type_and_stat %1d% store_to %2d% %3d% +0EBB=1,pass_time %1d% +0EBC=4,generate_random_int_in_range_with_seed %1d% min %2d% max %3d% store_to %4d% +0EBD=4,generate_random_float_in_range_with_seed %1d% min %2d% max %3d% store_to %4d% +0EBE=4,locate_camera_distance_to_coordinates %1d% %2d% %3d% radius %4d% +0EBF=2,get_fx_system_pointer %1d% store_to %2d% +0EC0=14,add_fx_system_particle %1d% coord %2d% %3d% %4d% vel %5d% %6d% %7d% size %8d% brightness %9d% rgba %10d% %11d% %12d% %13d% lastFactor %14d% +0EC1=1,is_fx_system_available_with_name %1s% +0EC2=1,set_string_upper %1s% +0EC3=1,set_string_lower %1s% +0EC4=4,string_find %1d% %2s% %3s% store_to %4d% +0EC5=2,cut_string_at %1d% %2d% +0EC6=3,is_string_character_at %1d% character %2d% index %3d% +0EC7=1,get_fade_alpha %1d% +0EC8=2,get_char_random_seed %1d% store_to %2d% +0EC9=2,get_car_random_seed %1d% store_to %2d% +0ECA=2,get_object_random_seed %1d% store_to %2d% +0ECB=2,get_char_move_state %1d% store_to %2d% +0ECC=2,dont_delete_char_until_time %1d% %2d% +0ECD=2,dont_delete_car_until_time %1d% %2d% +0ECE=2,get_time_char_is_dead %1d% store_to %2d% +0ECF=2,get_time_car_is_dead %1d% store_to %2d% +0ED0=0,return_script_event +0ED1=3,set_script_event_save_confirmation %1d% label %2p% var_slot %3d% +0ED2=3,set_script_event_char_delete %1d% label %2p% var_char %3d% +0ED3=3,set_script_event_char_create %1d% label %2p% var_char %3d% +0ED4=3,set_script_event_car_delete %1d% label %2p% var_car %3d% +0ED5=3,set_script_event_car_create %1d% label %2p% var_car %3d% +0ED6=3,set_script_event_object_delete %1d% label %2p% var_object %3d% +0ED7=3,set_script_event_object_create %1d% label %2p% var_object %3d% +0ED8=3,set_script_event_on_menu %1d% label %2p% var_just_paused %3d% +0ED9=2,set_char_ignore_damage_anims %1d% %2d% +0EDA=3,set_script_event_char_process %1d% label %2p% var_char %3d% +0EDB=3,set_script_event_car_process %1d% label %2p% var_car %3d% +0EDC=3,set_script_event_object_process %1d% label %2p% var_object %3d% +0EDD=3,set_script_event_building_process %1d% label %2p% var_building %3d% +0EDE=3,set_script_event_char_damage %1d% label %2p% var_char %3d% +0EDF=3,set_script_event_car_weapon_damage %1d% label %2p% var_car %3d% +0EE0=6,set_script_event_bullet_impact %1d% label %2p% var_owner %3d% var_victim %4d% var_weapon %5d% var_colpoint %6d% +0EE1=4,get_colpoint_coordinates %1d% store_to %2d% %3d% %4d% +0EE2=-1,read_struct_offset_multi %1d% offset %2d% total %3d% size %4d% +0EE3=-1,write_struct_offset_multi %1d% offset %2d% count %3d% size %4d% +0EE4=3,locate_char_distance_to_char %1d% char %2d% radius %3d% +0EE5=3,locate_char_distance_to_car %1d% car %2d% radius %3d% +0EE6=3,locate_char_distance_to_object %1d% object %2d% radius %3d% +0EE7=3,locate_car_distance_to_object %1d% object %2d% radius %3d% +0EE8=3,locate_car_distance_to_car %1d% car %2d% radius %3d% +0EE9=3,locate_object_distance_to_object %1d% object %2d% radius %3d% +0EEA=5,locate_char_distance_to_coordinates %1d% pos %2d% %3d% %4d% radius %5d% +0EEB=5,locate_car_distance_to_coordinates %1d% pos %2d% %3d% %4d% radius %5d% +0EEC=5,locate_object_distance_to_coordinates %1d% pos %2d% %3d% %4d% radius %5d% +0EED=5,locate_object_distance_to_coordinates %1d% pos %2d% %3d% %4d% radius %5d% +0EEE=4,get_entity_coordinates %1d% store_to %2d% %3d% %4d% +0EEF=2,get_entity_heading %1d% store_to %2d% +0EF0=6,get_coord_from_angled_distance %1d% %2d% angle %3d% dist %4d% store_to %5d% %6d% +0EF1=8,perlin_noise_fractal_2d x %1d% y %2d% octaves %3d% frequency %4d% amplitude %5d% lacunarity %6d% persistence %7d% store_to %8d% +0EF2=9,perlin_noise_fractal_3d x %1d% y %2d% z %3d% octaves %4d% frequency %5d% amplitude %6d% lacunarity %7d% persistence %8d% store_to %9d% +0EF3=4,lerp %1d% %2d% %3d% store_to %4d% +0EF4=4,clamp_float %1d% min %2d% max %3d% store_to %4d% +0EF5=1,is_car_owned_by_player %1d% +0EF6=2,set_car_owned_by_player %1d% %2d% +0EF7=4,clamp_int %1d% min %2d% max %3d% store_to %4d% +0EF8=2,get_model_info %1d% store_to %2d% +0EF9=2,get_car_animgroup %1d% store_to %2d% +0EFA=2,get_char_fear %1d% store_to %2d% +0EFB=1,is_car_double_convertible %1d% +0EFC=2,get_car_value %1d% store_to %2d% +0EFD=3,get_car_pedals %1d% gas_to %2d% break_to %3d% +0EFE=2,get_loaded_library %1d% store_to %2d% +0EFF=3,get_char_simplest_active_task %1d% id_to %2d% pointer_to %3d% \ No newline at end of file diff --git a/sa/SASCM.CLEO.ini b/sa/SASCM.CLEO.ini new file mode 100644 index 0000000..3907269 --- /dev/null +++ b/sa/SASCM.CLEO.ini @@ -0,0 +1,133 @@ +[CLEO] +0A8C=4,write_memory %1d% size %2d% value %3d% virtual_protect %4d% +0A8D=4,%4d% = read_memory %1d% size %2d% virtual_protect %3d% +0A8E=3,%3d% = %1d% + %2d% ; int +0A8F=3,%3d% = %1d% - %2d% ; int +0A90=3,%3d% = %1d% * %2d% ; int +0A91=3,%3d% = %1d% / %2d% ; int +0A92=-1,stream_custom_script %1s% +0A93=0,terminate_this_custom_script +0A94=-1,load_and_launch_custom_mission %1s% +0A95=0,save_this_custom_script +0A96=2,%2d% = ped %1d% struct +0A97=2,%2d% = vehicle %1d% struct +0A98=2,%2d% = object %1d% struct +0A99=1,set_current_directory %1buserdir/rootdir% +0A9A=3,%3d% = open_file %1s% mode %2d% ; IF and SET +0A9B=1,close_file %1d% +0A9C=2,%2d% = file %1d% size +0A9D=3,read_file %1d% size %2d% to %3d% +0A9E=3,write_file %1d% size %2d% from %3d% +0A9F=1,%1d% = get_this_script_struct +0AA0=1,gosub_if_false %1p% +0AA1=0,return_if_false +0AA2=2,%2h% = load_dynamic_library %1s% ; IF and SET +0AA3=1,free_dynamic_library %1h% +0AA4=3,%3d% = get_dynamic_library_procedure %1s% library %2d% ; IF and SET +0AA5=-1,call_function %1d% num_params %2h% pop %3h% +0AA6=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% +0AA7=-1,call_function_return %1d% num_params %2h% pop %3h% +0AA8=-1,call_method_return %1d% struct %2d% num_params %3h% pop %4h% +0AA9=0, is_game_version_original +0AAA=2,%2d% = get_script_struct_named %1s% +0AAB=1, does_file_exist %1s% +0AAC=2,%2d% = load_audio_stream %1d% +0AAD=2,set_audio_stream %1d% state %2d% +0AAE=1,remove_audio_stream %1d% +0AAF=2,%2d% = get_audio_stream_length %1d% +0AB0=1, is_key_pressed %1d% +0AB1=-1,cleo_call %1p% +0AB2=-1,cleo_return %1d% +0AB3=2,cleo_shared_var %1d% = %2d% +0AB4=2,%2d% = cleo_shared_var %1d% +0AB5=3,store_char %1d% closest_vehicle_to %2d% closest_ped_to %3d% +0AB6=3,get_target_blip_coords_to %1d% %2d% %3d% // IF and SET +0AB7=2,get_car %1d% number_of_gears_to %2d% +0AB8=2,get_car %1d% current_gear_to %2d% +0AB9=2,get_audio_stream %1d% state_to %2d% +0ABA=1,terminate_all_custom_scripts_with_this_name %1s% +0ABB=2,%2d% = audio_stream %1d% volume +0ABC=2,set_audio_stream %1d% volume %2d% +0ABD=1, car %1d% siren_on +0ABE=1, car %1d% engine_on +0ABF=2,set_car %1d% engine_state_to %2d% +0AC0=2,set_audio_stream %1d% looped %2d% +0AC1=2,%2d% = load_audio_stream_with_3d_support %1d% ; IF and SET +0AC2=4,link_3d_audio_stream %1d% at_coords %2d% %3d% %4d% +0AC3=2,link_3d_audio_stream %1d% to_object %2d% +0AC4=2,link_3d_audio_stream %1d% to_actor %2d% +0AC5=2,link_3d_audio_stream %1d% to_car %2d% +0AC6=2,%2d% = label %1p% pointer +0AC7=2,%2d% = var %1d% pointer +0AC8=2,%2d% = allocate_memory_size %1d% +0AC9=1,free_allocated_memory %1d% +0ACA=1,show_text_box %1s% +0ACB=3,show_styled_text %1s% time %2d% style %3d% +0ACC=2,show_text_lowpriority %1s% time %2d% +0ACD=2,show_text_highpriority %1s% time %2d% +0ACE=-1,show_formatted_text_box %1s% +0ACF=-1,show_formatted_styled_text %1s% time %2d% style %3d% +0AD0=-1,show_formatted_text_lowpriority %1s% time %2s% +0AD1=-1,show_formatted_text_highpriority %1s% time %2s% +0AD2=2,%2d% = player %1d% targeted_actor // IF and SET +0AD3=-1,%1d% = string_format %2s% +0AD4=-1,%3d% = scan_string %1d% format %2s% +0AD5=3,file %1d% seek %2d% from_origin %3d% // IF and SET +0AD6=1, is_end_of_file_reached %1d% +0AD7=3,read_string_from_file %1d% to %2d% size %3d% // IF and SET +0AD8=2,write_string_to_file %1d% from %2d% // IF and SET +0AD9=-1,write_formatted_text %2d% to_file %1d% +0ADA=-1,%3d% = scan_file %1d% format %2d% // IF and SET +0ADB=2,%2d% = vehicle_model %1o% name +0ADC=1, test_cheat %1d% +0ADD=1,spawn_car_with_model %1o% like_a_cheat +0ADE=2,%2d% = text_label_string %1d% +0ADF=2,add_text_label %1d% text %2d% +0AE0=1,remove_text_label %1d% +0AE1=7,%7d% = random_char_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_deads %6h% // IF and SET +0AE2=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_wrecked %6h% // IF and SET +0AE3=6,%6d% = random_object_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% // IF and SET +0AE4=1, does_directory_exist %1d% +0AE5=1,create_directory %1d% ; IF and SET +0AE6=3,%2d% = find_first_file %1d% get_filename_to %3d% ; IF and SET +0AE7=2,%2d% = find_next_file %1d% ; IF and SET +0AE8=1,find_close %1d% +0AE9=1,pop_float %1d% +0AEA=2,%2d% = ped_struct %1d% handle +0AEB=2,%2d% = vehicle_struct %1d% handle +0AEC=2,%2d% = object_struct %1d% handle +0AED=3,%3d% = float %1d% to_string_format %2d% +0AEE=3,%3d% = pow %1d% base %2d% // all floats +0AEF=3,%3d% = log %1d% base %2d% // all floats + +; CLEO 4 IniFiles.cleo +0AF0=4,%4d% = read_int_from_ini_file %1s% section %2s% key %3s% +0AF1=4,write_int %1d% to_ini_file %2s% section %3s% key %4s% +0AF2=4,%4d% = read_float_from_ini_file %1s% section %2s% key %3s% +0AF3=4,write_float %1d% to_ini_file %2s% section %3s% key %4s% +0AF4=4,%4d% = read_string_from_ini_file %1s% section %2s% key %3s% +0AF5=4,write_string %1s% to_ini_file %2s% section %3s% key %4s% + +; CLEO 4 FileSystemOperations.cleo +0B00=1,delete_file %1d% ;; IF and SET +0B01=2,delete_directory %1d% with_all_files_and_subdirectories %2d% ;; IF and SET +0B02=2,move_file %1d% to %2d% ;; IF and SET +0B03=2,move_directory %1d% to %2d% ;; IF and SET +0B04=2,copy_file %1d% to %2d% ;; IF and SET +0B05=2,copy_directory %1d% to %2d% ;; IF and SET + +; CLEO 4 IntOperations.cleo +0B10=3,%3d% = %1d% & %2d% +0B11=3,%3d% = %1d% | %2d% +0B12=3,%3d% = %1d% ^ %2d% +0B13=2,%2d% = ~%1d% +0B14=3,%3d% = %1d% % %2d% +0B15=3,%3d% = %1d% >> %2d% +0B16=3,%3d% = %1d% << %2d% +0B17=2,%1d% &= %2d% +0B18=2,%1d% |= %2d% +0B19=2,%1d% ^= %2d% +0B1A=1,~%1d% +0B1B=2,%1d% %= %2d% +0B1C=2,%1d% >>= %2d% +0B1D=2,%1d% <<= %2d% \ No newline at end of file diff --git a/sa/SASCM.Clipboard.ini b/sa/SASCM.Clipboard.ini new file mode 100644 index 0000000..4e9909b --- /dev/null +++ b/sa/SASCM.Clipboard.ini @@ -0,0 +1,4 @@ +; Deji's ClipboardCommands.cleo +[ClipboardCommands] +0B20=2,read_clipboard_data %1d% size %2d% +0B21=2,write_clipboard_data %1d% size %2d% diff --git a/sa/SASCM.INI b/sa/SASCM.INI index 8e1cea0..3280085 100644 --- a/sa/SASCM.INI +++ b/sa/SASCM.INI @@ -13,9 +13,9 @@ ; x% = external script ; k% = 128-byte null-terminated string -DATE=2022-03-20 +DATE=2023-07-01 -[OPCODES] +[DEFAULT] 0000=0,NOP 0001=1,wait %1d% ms 0002=1,jump %1p% @@ -1970,564 +1970,3 @@ DATE=2022-03-20 0A4C=0, mouse_not_inverted_vertically 0A4D=0, NOP_false 0A4E=0,increment_useless_flag - -; CLEO 4 opcodes -0A8C=4,write_memory %1d% size %2d% value %3d% virtual_protect %4d% -0A8D=4,%4d% = read_memory %1d% size %2d% virtual_protect %3d% -0A8E=3,%3d% = %1d% + %2d% ; int -0A8F=3,%3d% = %1d% - %2d% ; int -0A90=3,%3d% = %1d% * %2d% ; int -0A91=3,%3d% = %1d% / %2d% ; int -0A92=-1,stream_custom_script %1s% -0A93=0,terminate_this_custom_script -0A94=-1,load_and_launch_custom_mission %1s% -0A95=0,save_this_custom_script -0A96=2,%2d% = ped %1d% struct -0A97=2,%2d% = vehicle %1d% struct -0A98=2,%2d% = object %1d% struct -0A99=1,set_current_directory %1buserdir/rootdir% -0A9A=3,%3d% = open_file %1s% mode %2d% ; IF and SET -0A9B=1,close_file %1d% -0A9C=2,%2d% = file %1d% size -0A9D=3,read_file %1d% size %2d% to %3d% -0A9E=3,write_file %1d% size %2d% from %3d% -0A9F=1,%1d% = get_this_script_struct -0AA0=1,gosub_if_false %1p% -0AA1=0,return_if_false -0AA2=2,%2h% = load_dynamic_library %1s% ; IF and SET -0AA3=1,free_dynamic_library %1h% -0AA4=3,%3d% = get_dynamic_library_procedure %1s% library %2d% ; IF and SET -0AA5=-1,call_function %1d% num_params %2h% pop %3h% -0AA6=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% -0AA7=-1,call_function_return %1d% num_params %2h% pop %3h% -0AA8=-1,call_method_return %1d% struct %2d% num_params %3h% pop %4h% -0AA9=0, is_game_version_original -0AAA=2,%2d% = get_script_struct_named %1s% -0AAB=1, does_file_exist %1s% -0AAC=2,%2d% = load_audio_stream %1d% -0AAD=2,set_audio_stream %1d% state %2d% -0AAE=1,remove_audio_stream %1d% -0AAF=2,%2d% = get_audio_stream_length %1d% -0AB0=1, is_key_pressed %1d% -0AB1=-1,cleo_call %1p% -0AB2=-1,cleo_return %1d% -0AB3=2,cleo_shared_var %1d% = %2d% -0AB4=2,%2d% = cleo_shared_var %1d% -0AB5=3,store_char %1d% closest_vehicle_to %2d% closest_ped_to %3d% -0AB6=3,get_target_blip_coords_to %1d% %2d% %3d% // IF and SET -0AB7=2,get_car %1d% number_of_gears_to %2d% -0AB8=2,get_car %1d% current_gear_to %2d% -0AB9=2,get_audio_stream %1d% state_to %2d% -0ABA=1,terminate_all_custom_scripts_with_this_name %1s% -0ABB=2,%2d% = audio_stream %1d% volume -0ABC=2,set_audio_stream %1d% volume %2d% -0ABD=1, car %1d% siren_on -0ABE=1, car %1d% engine_on -0ABF=2,set_car %1d% engine_state_to %2d% -0AC0=2,set_audio_stream %1d% looped %2d% -0AC1=2,%2d% = load_audio_stream_with_3d_support %1d% ; IF and SET -0AC2=4,link_3d_audio_stream %1d% at_coords %2d% %3d% %4d% -0AC3=2,link_3d_audio_stream %1d% to_object %2d% -0AC4=2,link_3d_audio_stream %1d% to_actor %2d% -0AC5=2,link_3d_audio_stream %1d% to_car %2d% -0AC6=2,%2d% = label %1p% pointer -0AC7=2,%2d% = var %1d% pointer -0AC8=2,%2d% = allocate_memory_size %1d% -0AC9=1,free_allocated_memory %1d% -0ACA=1,show_text_box %1s% -0ACB=3,show_styled_text %1s% time %2d% style %3d% -0ACC=2,show_text_lowpriority %1s% time %2d% -0ACD=2,show_text_highpriority %1s% time %2d% -0ACE=-1,show_formatted_text_box %1s% -0ACF=-1,show_formatted_styled_text %1s% time %2d% style %3d% -0AD0=-1,show_formatted_text_lowpriority %1s% time %2s% -0AD1=-1,show_formatted_text_highpriority %1s% time %2s% -0AD2=2,%2d% = player %1d% targeted_actor // IF and SET -0AD3=-1,%1d% = string_format %2s% -0AD4=-1,%3d% = scan_string %1d% format %2s% -0AD5=3,file %1d% seek %2d% from_origin %3d% // IF and SET -0AD6=1, is_end_of_file_reached %1d% -0AD7=3,read_string_from_file %1d% to %2d% size %3d% // IF and SET -0AD8=2,write_string_to_file %1d% from %2d% // IF and SET -0AD9=-1,write_formatted_text %2d% to_file %1d% -0ADA=-1,%3d% = scan_file %1d% format %2d% // IF and SET -0ADB=2,%2d% = vehicle_model %1o% name -0ADC=1, test_cheat %1d% -0ADD=1,spawn_car_with_model %1o% like_a_cheat -0ADE=2,%2d% = text_label_string %1d% -0ADF=2,add_text_label %1d% text %2d% -0AE0=1,remove_text_label %1d% -0AE1=7,%7d% = random_char_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_deads %6h% // IF and SET -0AE2=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_wrecked %6h% // IF and SET -0AE3=6,%6d% = random_object_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% // IF and SET -0AE4=1, does_directory_exist %1d% -0AE5=1,create_directory %1d% ; IF and SET -0AE6=3,%2d% = find_first_file %1d% get_filename_to %3d% ; IF and SET -0AE7=2,%2d% = find_next_file %1d% ; IF and SET -0AE8=1,find_close %1d% -0AE9=1,pop_float %1d% -0AEA=2,%2d% = ped_struct %1d% handle -0AEB=2,%2d% = vehicle_struct %1d% handle -0AEC=2,%2d% = object_struct %1d% handle -0AED=3,%3d% = float %1d% to_string_format %2d% -0AEE=3,%3d% = pow %1d% base %2d% // all floats -0AEF=3,%3d% = log %1d% base %2d% // all floats - -; CLEO 4 IniFiles.cleo -0AF0=4,%4d% = read_int_from_ini_file %1s% section %2s% key %3s% -0AF1=4,write_int %1d% to_ini_file %2s% section %3s% key %4s% -0AF2=4,%4d% = read_float_from_ini_file %1s% section %2s% key %3s% -0AF3=4,write_float %1d% to_ini_file %2s% section %3s% key %4s% -0AF4=4,%4d% = read_string_from_ini_file %1s% section %2s% key %3s% -0AF5=4,write_string %1s% to_ini_file %2s% section %3s% key %4s% - -; CLEO 4 FileSystemOperations.cleo -0B00=1,delete_file %1d% ;; IF and SET -0B01=2,delete_directory %1d% with_all_files_and_subdirectories %2d% ;; IF and SET -0B02=2,move_file %1d% to %2d% ;; IF and SET -0B03=2,move_directory %1d% to %2d% ;; IF and SET -0B04=2,copy_file %1d% to %2d% ;; IF and SET -0B05=2,copy_directory %1d% to %2d% ;; IF and SET - -; CLEO 4 IntOperations.cleo -0B10=3,%3d% = %1d% AND %2d% -0B11=3,%3d% = %1d% OR %2d% -0B12=3,%3d% = %1d% XOR %2d% -0B13=2,%2d% = NOT %1d% -0B14=3,%3d% = %1d% MOD %2d% -0B15=3,%3d% = %1d% SHR %2d% -0B16=3,%3d% = %1d% SHL %2d% -0B17=2,%1d% &= %2d% -0B18=2,%1d% |= %2d% -0B19=2,%1d% ^= %2d% -0B1A=1,~ %1d% -0B1B=2,%1d% %= %2d% -0B1C=2,%1d% >>= %2d% -0B1D=2,%1d% <<= %2d% - -; Deji's ClipboardCommands.cleo -0B20=2,read_clipboard_data %1d% size %2d% -0B21=2,write_clipboard_data %1d% size %2d% - -; newOpcodes.cleo opcodes -0D00=3,matrix %3d% = matrix %1d% * matrix %2d% -0D01=6,rotate_matrix %1d% on_axis %2d% %3d% %4d% angle %5d% combine_op %6d% -0D02=2,%2d% = matrix %1d% x_angle -0D03=2,%2d% = matrix %1d% y_angle -0D04=2,%2d% = matrix %1d% z_angle -0D05=4,set_matrix %1d% position %2d% %3d% %4d% -0D06=4,get_matrix %1d% position_to %2d% %3d% %4d% -0D07=7,get_coords %1d% %2d% %3d% offsets_relative_to_matrix %4d% store_to %5d% %6d% %7d% -0D08=4,set_matrix %1d% angles_XYZ %2d% %3d% %4d% -0D09=2,copy_matrix %1d% to %2d% -0D0A=7,store_coords_to %5d% %6d% %7d% from_matrix %1d% with_offsets %2d% %3d% %4d% -0D0B=3,get_actor %1d% bone %2d% matrix_to %3d% // IF and SET -0D0C=3,get_car %1d% component %2s% matrix_to %3d% // IF and SET -0D0D=3,%3d% = get_car %1d% component %2s% // IF and SET -0D0E=3,set_car %1d% component %2s% state %3d% // IF and SET -0D0F=2,set_car %1d% model_alpha %2d% // IF and SET -0D10=2,set_actor %1d% model_alpha %2d% // IF and SET -0D11=2,set_object %1d% model_alpha %2d% // IF and SET -0D12=3,set_car %1d% component %2s% alpha %3d% // IF and SET -0D13=2,set_matrix %1d% x_angle %2d% -0D14=2,set_matrix %1d% y_angle %2d% -0D15=2,set_matrix %1d% z_angle %2d% -0D16=2,set_matrix %1d% rotation_from_quat %2d% -0D17=2,convert_matrix %1d% to_quat %2d% -0D18=6,rotate_quat %1d% axis_vector %2d% %3d% %4d% angle %5d% flag %6d% -0D19=2,get_normalized_quat %1d% to_quat %2d% -0D1A=3,quat %3d% = quat %1d% * quat %2d% -0D1B=3,get_entity %1d% type_to %2d% class_to %3d% -0D1C=1,normalize_vector %1d% -0D1D=4,matrix_slerp %1d% %2d% %3d% %4d% -0D1E=4,quat_slerp %1d% %2d% %3d% %4d% -0D1F=2,%2d% = component %1d% child -0D20=2,%2d% = component %1d% next_component -0D21=2,%2s% = component %1d% name -0D22=2,%2d% = component %1d% ltm -0D23=2,%2d% = component %1d% modelling_matrix -0D24=5,set_quat %1d% elements %2d% %3d% %4d% %5d% -0D25=17,set_matrix %1d% elements %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% %11d% %12d% %13d% %14d% %15d% %16d% %17d% -0D26=4,set_vector %1d% elements %2d% %3d% %4d% -0D27=3,copy_memory_from %1d% to %2d% size %3d% -0D28=4,get_vector %1d% elements_to %2d% %3d% %4d% -0D29=5,get_quat %1d% elements_to %2d% %3d% %4d% %5d% -0D2A=2,%2d% = get_car %1d% number_of_collided_entites -0D2B=2,%2d% = get_actor %1d% number_of_collided_entites -0D2C=2,%2d% = get_object %1d% number_of_collided_entites -0D2D=8,get_local_time_year_to %1d% month_to %2d% day_of_week_to %3d% day_to %4d% hour_to %5d% minute_to %6d% second_to %7d% milliseconds_to %8d% -0D2E=3,set_script %1d% var %2d% to %3d% -0D2F=3,%3d% = get_script %1d% var %2d% -0D30=3,%3d% = actor %1d% bone %2d% // IF and SET -0D31=2,%2d% = bone %1d% offset_vector -0D32=2,%2d% = bone %1d% quat -0D33=3,set_car %1d% door %2d% window_state %3d% -0D34=7,store_car %1d% collided_entities_to %2d% %3d% %4d% %5d% %6d% %7d% -0D35=7,store_actor %1d% collided_entities_to %2d% %3d% %4d% %5d% %6d% %7d% -0D36=7,store_object %1d% collided_entities_to %2d% %3d% %4d% %5d% %6d% %7d% -0D37=3,struct %1d% param %2d% = %3d% -0D38=3,%3d% = struct %1d% param %2d% -0D39=2,%2d% = actor %1d% max_health -0D3A=20,get_collision_between_points %1d% %2d% %3d% and %4d% %5d% %6d% flags %7d% %8d% %9d% %10d% %11d% %12d% %13d% %14d% ignore_entity %15d% store_point_to %17d% %18d% %19d% entity_to %20d% colpoint_data_to %16d% // IF and SET -0D3B=4,get_colpoint_data %1d% normal_XYZ_to %2d% %3d% %4d% -0D3C=2,get_colpoint_data %1d% surface_to %2d% -0D3D=2,get_colpoint_data %1d% lighting_to %2d% -0D3E=2,get_colpoint_data %1d% depth_to %2d% -0D3F=10,find_intersrction_between_circles %1d% %2d% %3d% and %4d% %5d% %6d% store_point1_to %7d% %8d% point2_to %9d% %10d% // IF and SET -0D40=8,draw_2d_shape_type %3d% texture %4d% numVerts %2d% pVerts %1d% vertexAlpha %5d% srcBlend %6d% dstBlend %7d% priority %8d% // IF and SET -0D41=14,set_vertices %1d% vertex %2d% xyz %5d% %6d% %7d% rhw %8d% RGBA %9d% %10d% %11d% %12d% uv %13d% %14d% invertX %3d% invertY %4d% -0D42=2,load_txd %1s% from %2s% // IF and SET -0D43=2,%2d% = txd %1s% id -0D44=3,%3d% = find_texture %1s% in_dictionary_named %2s% // IF and SET -0D45=5,rotate_2d_vertices_shape %1d% num_verts %2d% aroundXY %3d% %4d% angle %5d% -0D46=3,%3d% = find_texture %1s% in_dictionary_with_id %2d% // IF and SET -0D47=2,%2d% = model %1d% txd_id // IF and SET -0D48=2,%2d% = model %1d% crc32_key // IF and SET -0D49=3, %3d% = compare_strings %1s% %2s% // IF and SET -0D4A=2,concatenate_strings %1d% %2s% -0D4B=3, %3d% = locate_substring %1d% %2s% // IF and SET -0D4C=2,%2d% = string %1s% length -0D4D=2,copy_string %1s% to %2s% -0D4E=4,%4d% = struct %1d% offset %2d% size %3d% -0D4F=4,struct %1d% offset %2d% size %3d% = %4d% -0D50=14,draw_shadow_type %1d% position %2d% %3d% %4d% width %5d% height %6d% rotation %7d% distance %8d% texture %9d% intensity %10d% RGB %11d% %12d% %13d% shadow_data %14d% -0D51=14,draw_permanent_shadow_type %1d% position %2d% %3d% %4d% width %5d% height %6d% rotation %7d% distance %8d% texture %9d% intensity %10d% RGB %11d% %12d% %13d% time %14d% -0D52=12,draw_light_type %1d% position %2d% %3d% %4d% direction %5d% %6d% %7d% radius %8d% RGBA %9d% %10d% %11d% affect_entity %12d% -0D53=10,draw_corona_with_texture %1d% color %2d% %3d% %4d% %5d% on_entity %6d% at %7d% %8d% %9d% size %10d% -0D54=18,draw_corona_with_extra_params_texture %1d% color %2d% %3d% %4d% %5d% on_entity %6d% at %7d% %8d% %9d% size %10d% far_clip %11d% near_clip %12d% flare %13d% enable_reflection %14d% check_obstacles %15d% flash_while_fading %16d% fade_speed %17d% only_from_below %18d% -0D55=6,get_sun_colors_core_to %1d% %2d% %3d% glow_to %4d% %5d% %6d% -0D56=2,get_sun_screen_coords_XY_to %1d% %2d% -0D57=3,get_sun_position_to %1d% %2d% %3d% // IF and SET -0D58=2,get_sun_size_core_to %1d% glow_to %2d% -0D59=1,%1d% = current_weather -0D5A=2,get_trafficlights_type_NS_current_color_to %1d% type_WE_current_color_to %2d% -0D5B=12,draw_spotlight_from %1d% %2d% %3d% to %4d% %5d% %6d% base_radius %7d% target_radius %8d% enable_shadow %9d% shadow_intensity %10d% flag1 %11d% flag2 %12d% -0D5C=3,%3d% = get_car %1d% light %2d% damage_state -0D5D=3,set_car %1d% light %2d% damage_state %3d% -0D5E=3,get_vehicle %1d% class_to %2d% subclass_to %3d% -0D5F=7,get_vehicle %1d% dummy_element %2d% position %3d% to %5d% %6d% %7d% invert_x %4d% // IF and SET -0D60=10,create_projectile_type %1d% launched_from_entity %2d% origin %3d% %4d% %5d% target %6d% %7d% %8d% target_entity %9d% force %10d% -0D61=3, %3d% = load_texture_bmp_from %1s% with_mask %2s% // IF and SET -;0D62=2,set_car %1d% remap_texture %2d% -;0D63=5,set_car %1d% color %2d% RGB %3d% %4d% %5d% -0D64=2, %2d% = load_texture_png_from %1s% // IF and SET -0D65=6,print %1s% at %2d% %3d% scale %4d% %5d% style %6d% -0D66=25,print %1s% at %2d% %3d% scale %4d% %5d% style %6d% prop %7d% align %8d% wrap %9d% justify %10d% color %11d% %12d% %13d% %14d% outline %15d% shadow %16d% dropColor %17d% %18d% %19d% %20d% background %21d% backColor %22d% %23d% %24d% %25d% -;0D67=2,set_audiostream %1d% position_time %2d% -;0D68=2,%2d% = get_audiostream %1d% position_time -;0D69=4,%4d% = set_audiostream %1d% effect %2d% priority %3d% -;0D6A=2,remove_audiostream %1d% effect %2d% -;0D6B=2,set_audiostream_effect %1d% parameters_from_buf %2d% -;0D6C=2,get_audiostream_effect %1d% parameters_to_buf %2d% -;0D6D=1,reset_audiostream_effect %1d% -;0D6E=3,set_audiostream %1d% attribute %2d% to %3d% -;0D6F=3,%3d% = get_audiostream %1d% attribute %2d% -;0D70=7,set_3d_audiostream %1d% _3d_attributes_mode %2d% min %3d% max %4d% iangle %5d% oangle %6d% outvol %7d% -;0D71=7,get_3d_audiostream %1d% _3d_attributes_mode_to %2d% min_to %3d% max_to %4d% iangle_to %5d% oangle_to %6d% outvol_to %7d% -0D72=3,get_sfx_volume_to %2d% radio_volume_to %3d% type %1d% -0D73=3,get_screen_width_to %2d% height_to %3d% type %1d% -0D74=2,%2d% = component %1d% parent_component -0D75=2,%2d% = component %1d% num_objects -0D76=3,%3d% = component %1d% object %2d% -0D77=2,object_atomic %1d% hide %2d% -0D78=3,%3d% = get_object %1d% atomic_flag %2d% -0D79=3,set_object %1d% atomic_flag %2d% state %3d% -0D7A=2,%2d% = get_object %1d% num_materials -0D7B=3,%3d% = get_object %1d% material %2d% texture -0D7C=2, %2d% = load_texture_dds_from %1s% // IF and SET -0D7D=1,clean_loaded_texture %1d% -0D7E=10,draw_sprite_with_texture %1d% at_cornerA %2d% %3d% cornerB %4d% %5d% color %6d% %7d% %8d% %9d% angle %10d% -0D7F=22,draw_gradient_sprite_with_texture %1d% at_cornerA %2d% %3d% cornerB %4d% %5d% colors %6d% %7d% %8d% %9d% %10d% %11d% %12d% %13d% %14d% %15d% %16d% %17d% %18d% %19d% %20d% %21d% angle %22d% - -; CLEO+.cleo opcodes -;0B20=2,read_clipboard_data_to %1d% size %2d% -;0B21=2,write_clipboard_data_from %1d% size %2d% -;0D01=6,rotate_matrix %1d% on_axis %2d% %3d% %4d% angle %5d% combine_op %6d% -;0D02=2,%2d% = matrix %1d% x_angle // keep NewOpcodes order -;0D03=2,%2d% = matrix %1d% y_angle // keep NewOpcodes order -;0D04=2,%2d% = matrix %1d% z_angle // keep NewOpcodes order -;0D0A=7,store_coords_to %5d% %6d% %7d% from_matrix %1d% with_offsets %2d% %3d% %4d% // keep NewOpcodes order -;0D0F=2,set_car_model_alpha %1d% alpha %2d% -;0D10=2,set_char_model_alpha %1d% alpha %2d% -;0D11=2,set_object_model_alpha %1d% alpha %2d% -;0D16=2,set_matrix_rotation_from_quat %1d% rotation_from_quat %2d% -;0D17=2,set_quat_from_matrix %1d% to_quat %2d% -;0D18=6,rotate_quat_on_axis %1d% axis_vector %2d% %3d% %4d% angle %5d% combine_op %6d% -;0D19=2,get_normalised_quat %1d% to_quat %2d% -;0D1A=3,multiply_quats %3d% = quat %1d% * quat %2d% // keep NewOpcodes order -;0D1E=4,quat_slerp %1d% to %2d% lambda %3d% result %4d% -;0D24=5,set_quat %1d% elements %2d% %3d% %4d% %5d% -;0D27=3,copy_memory %1d% to %2d% size %3d% -;0D29=5,get_quat %1d% elements_to %2d% %3d% %4d% %5d% -;0D2D=8,get_local_time_year_to %1d% month_to %2d% day_of_week_to %3d% day_to %4d% hour_to %5d% minute_to %6d% second_to %7d% milliseconds_to %8d% -;0D2E=3,set_thread %1d% var %2d% value %3d% -;0D2F=3,%3d% = get_thread %1d% var %2d% // keep NewOpcodes order -;0D33=3,set_car %1d% door %2d% window_state %3d% -;0D37=3,write_struct_param %1d% param %2d% value %3d% -;0D38=3,%3d% = read_struct_param %1d% param %2d% // keep newOpcodes ordering for SB -;0D39=2,%2d% = get_char_max_health %1d% // keep NewOpcodes order -;0D3A=20,get_collision_between_points %1d% %2d% %3d% and %4d% %5d% %6d% flags %7d% %8d% %9d% %10d% %11d% %12d% %13d% %14d% ignore_entity %15d% store_point_to %17d% %18d% %19d% entity_to %20d% colpoint_data_to %16d% // keep NewOpcodes order -;0D3B=4,get_colpoint_normal_vector %1d% store_to %2d% %3d% %4d% -;0D3C=2,get_colpoint_surface %1d% store_to %2d% -;0D3E=2,get_colpoint_depth %1d% store_to %2d% -;0D4C=2,%2d% = string %1s% length // keep NewOpcodes order -;0D4D=2,copy_string %1s% to %2d% -;0D4E=4,%4d% = read_struct %1d% offset %2d% size %3d% // keep newOpcodes ordering for SB -;0D4F=4,write_struct %1d% offset %2d% size %3d% value %4d% // newOpcodes version of 0E28, the original one does not work, this is a fall off -;0D59=1,get_current_weather_to %1d% -0E00=2,get_car_alarm %1d% mode_to %2d% -0E01=7,create_object_no_save %1o% at %2d% %3d% %4d% offset %5d% ground %6d% to %7d% -0E02=1,set_car_generator %1d% no_save -0E03=2,perlin_noise %1d% store_to %2d% -0E04=1,get_next_weather_to %1d% -0E05=1,set_next_weather_to %1d% -0E06=1,get_rain_intensity %1d% -0E07=1,set_rain_intensity %1d% -0E08=1,is_car_script_controlled %1d% -0E09=1,mark_car_as_needed %1d% -0E0A=1,is_char_script_controlled %1d% -0E0B=1,mark_char_as_needed %1d% -0E0C=1,is_object_script_controlled %1d% -0E0D=1,mark_object_as_needed %1d% -0E0E=2,get_current_resolution_to %1d% %2d% -0E0F=4,get_fixed_xy_aspect_ratio %1d% %2d% to %3d% %4d% -0E10=0,is_mouse_wheel_up -0E11=0,is_mouse_wheel_down -0E12=2,get_vehicle %1d% subclass_to %2d% -0E13=2,get_entity %1d% type_to %2d% -0E14=3,init_extended_char_vars %1d% id %2d% new_vars %3d% -0E15=4,set_extended_char_var %1d% id %2d% var %3d% value %4d% -0E16=4,get_extended_char_var %1d% id %2d% var %3d% to %4d% -0E17=3,init_extended_car_vars %1d% id %2d% new_vars %3d% -0E18=4,set_extended_car_var %1d% id %2d% var %3d% value %4d% -0E19=4,get_extended_car_var %1d% id %2d% var %3d% to %4d% -0E1A=3,init_extended_object_vars %1d% id %2d% new_vars %3d% -0E1B=4,set_extended_object_var %1d% id %2d% var %3d% value %4d% -0E1C=4,get_extended_object_var %1d% id %2d% var %3d% to %4d% -0E1D=0,is_on_mission -0E1E=15,draw_texture_plus %1d% event %2d% pos %3d% %4d% size %5d% %6d% angle %7d% depth %8d% fix_aspect_ratio %9d% maskTrisCount %10d% maskTrisArray %11d% rgba %12d% %13d% %14d% %15d% -0E1F=4,ease %1d% mode %2d% way %3d% to %4d% -0E20=0,is_on_samp -0E21=1,get_audio_sfx_volume %1d% -0E22=1,get_audio_radio_volume %1d% -0E23=1,get_mouse_sensibility_to %1d% -0E24=4,fix_char %1d% ground %2d% brightness %3d% and_fade_in %4d% -0E25=0,is_on_cutscene -0E26=2,is_weapon %1d% fire_type %2d% -0E27=5,get_angle_from_two_coords %1d% %2d% and %3d% %4d% to %5d% -0E28=4,write_struct %1d% offset %2d% size %3d% value %4d% -0E29=7,perlin_noise %1d% octaves %2d% frequency %3d% amplitude %4d% lacunarity %5d% persistence %6d% store_to %7d% -0E2A=9,add_cleo_blip %1d% position %2d% %3d% is_short %4d% RGBA %5d% %6d% %7d% %8d% store_to %9d% -0E2B=1,remove_cleo_blip %1d% -0E2C=1,get_current_save_slot %1d% -0E2D=0,is_game_first_start -0E2E=10,create_render_object_to_char_bone %1d% model %2d% bone %3d% offset %4d% %5d% %6d% rotation %7d% %8d% %9d% store_to %10d% -0E2F=1,delete_render_object %1d% -0E30=4,set_render_object_auto_hide %1d% dead %2d% weapon %3d% car %4d% -0E31=2,set_render_object_visible %1d% %2d% -0E32=4,set_char_coordinates_simple %1d% coord %2d% %3d% %4d% -0E33=5,get_pickup_this_coord %1d% %2d% %3d% only_available %4d% store_to %5d% -0E34=2,get_pickup_model %1d% %2d% -0E35=4,set_render_object_position %1d% %2d% %3d% %4d% -0E36=4,set_render_object_rotation %1d% %2d% %3d% %4d% -0E37=4,set_render_object_scale %1d% %2d% %3d% %4d% -0E38=2,get_pickup_pointer %1d% store_to %2d% -0E39=2,get_pickup_type %1d% store_to %2d% -0E3A=5,set_render_object_distortion %1d% %2d% %3d% %4d% %5d% -0E3B=2,get_audiostream_internal %1d% store_to %2d% -0E3C=2,get_texture_from_sprite %1d% store_to %2d% -0E3D=1,is_key_just_pressed %1d% -0E3E=2,is_button_just_pressed %1d% button %2d% -0E3F=9,convert_3d_to_screen_2d %1d% %2d% %3d% checkNearClip %4d% checkFarClip %5d% store_2d_to %6d% %7d% size_to %8d% %9d% -0E40=1,get_current_hour %1d% -0E41=1,get_current_minute %1d% -0E42=2,is_char_doing_task_id %1d% %2d% -0E43=3,get_char_task_pointer_by_id %1d% %2d% store_to %3d% -0E44=2,get_char_kill_target_char %1d% store_to %2d% -0E45=1,frame_mod %1d% -0E46=1,is_char_using_gun %1d% -0E47=1,is_char_fighting %1d% -0E48=1,is_char_fallen_on_ground %1d% -0E49=1,is_char_entering_any_car %1d% -0E4A=1,is_char_exiting_any_car %1d% -0E4B=2,is_char_playing_any_script_animation %1d% include_anims %2d% -0E4C=2,is_char_doing_any_important_task %1d% include_anims %2d% -0E4D=1,random_percent %1d% -0E4E=2,display_onscreen_timer_local %1d% direction %2d% -0E4F=3,display_onscreen_timer_with_string_local %1d% direction %2d% GXT %3d% -0E50=2,display_onscreen_counter_local %1d% direction %2d% -0E51=3,display_onscreen_counter_with_string_local %1d% direction %2d% GXT %3d% -0E52=2,display_two_onscreen_counters_local %1d% max_value %2d% -0E53=3,display_two_onscreen_counters_with_string_local %1d% max_value %2d% GXT %3d% -0E54=1,clear_onscreen_timer_local %1d% -0E55=1,clear_onscreen_counter_local %1d% -0E56=2,set_onscreen_counter_flash_when_first_displayed_local %1d% flash %2d% -0E57=2,set_timer_beep_countdown_time_local %1d% secs %2d% -0E58=2,set_onscreen_counter_colour_local %1d% color %2d% -0E59=2,get_trailer_from_car %1d% trailer %2d% -0E5A=2,get_car_from_trailer %1d% store_to %2d% -0E5B=7,get_car_dummy_coord %1d% dummy %2d% world_coords %3d% invert_x %4d% store_to %5d% %6d% %7d% // same as NewOpcodes but this is adapted to VehFuncs -0E5C=2,get_player_health_percent %1d% store_to %2d% -0E5D=1,is_cheat_active %1d% -0E5E=3,change_player_money %1d% mode %2d% value %3d% -0E5F=1,car_horn %1d% -0E60=1,set_camera_control %1d% -0E61=2,set_car_alarm %1d% mode %2d% -0E62=8,print %1s% event %2d% at %3d% %4d% scale %5d% %6d% fixAR %7d% style %8d% -0E63=27,print %1s% event %2d% at %3d% %4d% scale %5d% %6d% fixAR %7d% style %8d% prop %9d% align %10d% wrap %11d% justify %12d% color %13d% %14d% %15d% %16d% outline %17d% shadow %18d% dropColor %19d% %20d% %21d% %22d% background %23d% backColor %24d% %25d% %26d% %27d% -0E64=1,get_camera_mode %1d% -0E65=2,get_car_collision_intensity %1d% store_to %2d% -0E66=4,get_car_collision_coordinates %1d% store_to %2d% %3d% %4d% -0E67=1,is_aim_button_pressed %1d% -0E68=2,set_player_control_pad %1d% %2d% -0E69=2,set_player_control_pad_movement %1d% %2d% -0E6A=2,make_nop %1d% size %2d% -0E6B=2,get_colpoint_lighting %1d% from_night %2d% store_to %3d% -0E6C=1,get_day_night_balance %1d% -0E6D=1,get_underwaterness %1d% -0E6E=0,is_select_menu_just_pressed -0E6F=-1,stream_custom_script_from_label %1p% -0E70=1,get_last_created_custom_script %1d% -0E71=2,get_object_centre_of_mass_to_base_of_model %1d% %2d% -0E72=2,create_list %1d% store_to %2d% -0E73=1,delete_list %1d% -0E74=2,list_add %1d% value %2d% -0E75=2,list_remove_value %1d% value %2d% -0E76=2,list_remove_index %1d% index %2d% -0E77=2,get_list_size %1d% size %2d% -0E78=3,get_list_value_by_index %1d% index %2d% store_to %3d% -0E79=1,reset_list %1d% -0E7A=3,get_list_string_value_by_index %1d% index %2d% store_to %3d% -0E7B=2,list_add_string %1d% value %2d% -0E7C=2,list_remove_string_value %1d% value %2d% -0E7D=3,list_remove_index %1d% start %2d% end %3d% -0E7E=1,reverse_list %1d% -0E7F=2,get_model_type %1d% store_to %2d% -0E80=5,is_string_equal %1s% %2s% max_size %3d% case_sensitive %4d% ignore_charactere %5s% -0E81=1,is_string_comment %1s% -0E82=2,does_car_have_part_node %1d% %2d% -0E83=2,get_current_char_weaponinfo %1d% store_to %2d% -0E84=3,get_weaponinfo %1d% skill %2d% store_to %3d% -0E85=3,get_weaponinfo_models %1d% store_to %2d% %3d% -0E86=2,get_weaponinfo_flags %1d% store_to %2d% -0E87=2,get_weaponinfo_animgroup %1d% store_to %2d% -0E88=2,get_weaponinfo_total_clip %1d% store_to %2d% -0E89=2,get_weaponinfo_fire_type %1d% store_to %2d% -0E8A=2,get_weaponinfo_slot %1d% store_to %2d% -0E8B=2,get_char_weapon_state %1d% store_to %2d% -0E8C=2,get_char_weapon_clip %1d% store_to %2d% -0E8D=1,is_any_fire_button_pressed %1d% -0E8E=2,get_char_collision_surface %1d% store_to %2d% -0E8F=2,get_char_collision_lighting %1d% store_to %2d% -0E90=2,get_car_collision_surface %1d% store_to %2d% -0E91=2,get_car_collision_lighting %1d% store_to %2d% -0E92=1,is_char_really_in_air %1d% -0E93=1,is_car_really_in_air %1d% -0E94=1,is_object_really_in_air %1d% -0E95=3,simulate_object_damage %1d% damage %2d% type %3d% -0E96=1,clear_char_primary_tasks %1d% -0E97=1,clear_char_secondary_tasks %1d% -0E98=1,request_priority_model %1d% -0E99=0,load_all_priority_models_now -0E9A=2,load_special_character_for_id %1d% name %2d% -0E9B=1,unload_special_character_from_id %1d% -0E9C=1,get_model_by_name %1d% store_id %2d% -0E9D=1,get_model_available_by_name %1d% -0E9E=3,get_model_available_by_name %1d% to %2d% store_to %3d% -0E9F=0,remove_all_unused_models -0EA0=3,set_actor_second_player %1d% enable_camera %2d% separate_cars %3d% -0EA1=1,disable_second_player_restore_camera %1d% -0EA2=1,fix_two_players_separated_cars %1d% -0EA3=1,remove_model_if_unused %1d% -0EA4=1,is_char_on_fire %1d% -0EA5=7,get_closest_cop_near_char %1d% radius %2d% alive %3d% in_car %4d% on_foot %5d% seen_in_front %6d% store_to %7d% -0EA6=8,get_closest_cop_near_char %1d% %2d% %3d% radius %4d% alive %5d% in_car %6d% on_foot %7d% store_to %8d% -0EA7=3,get_any_char_no_save_recursive %1d% progress_to %2d% char_to %3d% -0EA8=3,get_any_car_no_save_recursive %1d% progress_to %2d% car_to %3d% -0EA9=3,get_any_object_no_save_recursive %1d% progress_to %2d% object_to %3d% -0EAA=1,set_char_arrested %1d% -0EAB=2,get_char_pedstate %1d% store_to %2d% -0EAC=6,get_char_proofs %1d% bullet %2d% fire %3d% explosion %4d% collision %5d% melee %6d% -0EAD=6,get_car_proofs %1d% bullet %2d% fire %3d% explosion %4d% collision %5d% melee %6d% -0EAE=6,get_object_proofs %1d% bullet %2d% fire %3d% explosion %4d% collision %5d% melee %6d% -0EAF=1,is_char_weapon_visible_set %1d% -0EB0=1,get_forced_weather %1d% -0EB1=2,get_char_stat_id %1d% store_to %2d% -0EB2=6,get_offset_from_camera_in_world_coords %1d% %2d% %3d% store_to %4d% %5d% %6d% -0EB3=4,convert_direction_to_quat %1d% dir %2d% %3d% %4d% -0EB4=4,set_car_coordinates_simple %1d% position %2d% %3d% %4d% -0EB5=5,get_char_damage_last_frame %1d% damager %2d% type %3d% part %4d% intensity %5d% -0EB6=4,get_car_weapon_damage_last_frame %1d% char %2d% type %3d% intensity %4d% -0EB7=0,is_on_scripted_cutscene -0EB8=0,is_radar_visible -0EB9=0,is_hud_visible -0EBA=3,get_model_ped_type_and_stat %1d% store_to %2d% %3d% -0EBB=1,pass_time %1d% -0EBC=4,generate_random_int_in_range_with_seed %1d% min %2d% max %3d% store_to %4d% -0EBD=4,generate_random_float_in_range_with_seed %1d% min %2d% max %3d% store_to %4d% -0EBE=4,locate_camera_distance_to_coordinates %1d% %2d% %3d% radius %4d% -0EBF=2,get_fx_system_pointer %1d% store_to %2d% -0EC0=14,add_fx_system_particle %1d% coord %2d% %3d% %4d% vel %5d% %6d% %7d% size %8d% brightness %9d% rgba %10d% %11d% %12d% %13d% lastFactor %14d% -0EC1=1,is_fx_system_available_with_name %1s% -0EC2=1,set_string_upper %1s% -0EC3=1,set_string_lower %1s% -0EC4=4,string_find %1d% %2s% %3s% store_to %4d% -0EC5=2,cut_string_at %1d% %2d% -0EC6=3,is_string_character_at %1d% character %2d% index %3d% -0EC7=1,get_fade_alpha %1d% -0EC8=2,get_char_random_seed %1d% store_to %2d% -0EC9=2,get_car_random_seed %1d% store_to %2d% -0ECA=2,get_object_random_seed %1d% store_to %2d% -0ECB=2,get_char_move_state %1d% store_to %2d% -0ECC=2,dont_delete_char_until_time %1d% %2d% -0ECD=2,dont_delete_car_until_time %1d% %2d% -0ECE=2,get_time_char_is_dead %1d% store_to %2d% -0ECF=2,get_time_car_is_dead %1d% store_to %2d% -0ED0=0,return_script_event -0ED1=3,set_script_event_save_confirmation %1d% label %2p% var_slot %3d% -0ED2=3,set_script_event_char_delete %1d% label %2p% var_char %3d% -0ED3=3,set_script_event_char_create %1d% label %2p% var_char %3d% -0ED4=3,set_script_event_car_delete %1d% label %2p% var_car %3d% -0ED5=3,set_script_event_car_create %1d% label %2p% var_car %3d% -0ED6=3,set_script_event_object_delete %1d% label %2p% var_object %3d% -0ED7=3,set_script_event_object_create %1d% label %2p% var_object %3d% -0ED8=3,set_script_event_on_menu %1d% label %2p% var_just_paused %3d% -0ED9=2,set_char_ignore_damage_anims %1d% %2d% -0EDA=3,set_script_event_char_process %1d% label %2p% var_char %3d% -0EDB=3,set_script_event_car_process %1d% label %2p% var_car %3d% -0EDC=3,set_script_event_object_process %1d% label %2p% var_object %3d% -0EDD=3,set_script_event_building_process %1d% label %2p% var_building %3d% -0EDE=3,set_script_event_char_damage %1d% label %2p% var_char %3d% -0EDF=3,set_script_event_car_weapon_damage %1d% label %2p% var_car %3d% -0EE0=6,set_script_event_bullet_impact %1d% label %2p% var_owner %3d% var_victim %4d% var_weapon %5d% var_colpoint %6d% -0EE1=4,get_colpoint_coordinates %1d% store_to %2d% %3d% %4d% -0EE2=-1,read_struct_offset_multi %1d% offset %2d% total %3d% size %4d% -0EE3=-1,write_struct_offset_multi %1d% offset %2d% count %3d% size %4d% -0EE4=3,locate_char_distance_to_char %1d% char %2d% radius %3d% -0EE5=3,locate_char_distance_to_car %1d% car %2d% radius %3d% -0EE6=3,locate_char_distance_to_object %1d% object %2d% radius %3d% -0EE7=3,locate_car_distance_to_object %1d% object %2d% radius %3d% -0EE8=3,locate_car_distance_to_car %1d% car %2d% radius %3d% -0EE9=3,locate_object_distance_to_object %1d% object %2d% radius %3d% -0EEA=5,locate_char_distance_to_coordinates %1d% pos %2d% %3d% %4d% radius %5d% -0EEB=5,locate_car_distance_to_coordinates %1d% pos %2d% %3d% %4d% radius %5d% -0EEC=5,locate_object_distance_to_coordinates %1d% pos %2d% %3d% %4d% radius %5d% -0EED=5,locate_object_distance_to_coordinates %1d% pos %2d% %3d% %4d% radius %5d% -0EEE=4,get_entity_coordinates %1d% store_to %2d% %3d% %4d% -0EEF=2,get_entity_heading %1d% store_to %2d% -0EF0=6,get_coord_from_angled_distance %1d% %2d% angle %3d% dist %4d% store_to %5d% %6d% -0EF1=8,perlin_noise_fractal_2d x %1d% y %2d% octaves %3d% frequency %4d% amplitude %5d% lacunarity %6d% persistence %7d% store_to %8d% -0EF2=9,perlin_noise_fractal_3d x %1d% y %2d% z %3d% octaves %4d% frequency %5d% amplitude %6d% lacunarity %7d% persistence %8d% store_to %9d% -0EF3=4,lerp %1d% %2d% %3d% store_to %4d% -0EF4=4,clamp_float %1d% min %2d% max %3d% store_to %4d% -0EF5=1,is_car_owned_by_player %1d% -0EF6=2,set_car_owned_by_player %1d% %2d% -0EF7=4,clamp_int %1d% min %2d% max %3d% store_to %4d% -0EF8=2,get_model_info %1d% store_to %2d% -0EF9=2,get_car_animgroup %1d% store_to %2d% -0EFA=2,get_char_fear %1d% store_to %2d% -0EFB=1,is_car_double_convertible %1d% -0EFC=2,get_car_value %1d% store_to %2d% -0EFD=3,get_car_pedals %1d% gas_to %2d% break_to %3d% -0EFE=2,get_loaded_library %1d% store_to %2d% -0EFF=3,get_char_simplest_active_task %1d% id_to %2d% pointer_to %3d% \ No newline at end of file diff --git a/sa/SASCM.NewOpcodes.ini b/sa/SASCM.NewOpcodes.ini new file mode 100644 index 0000000..c2174fd --- /dev/null +++ b/sa/SASCM.NewOpcodes.ini @@ -0,0 +1,130 @@ +[NEWOPCODES] +; newOpcodes.cleo opcodes +0D00=3,matrix %3d% = matrix %1d% * matrix %2d% +0D01=6,rotate_matrix %1d% on_axis %2d% %3d% %4d% angle %5d% combine_op %6d% +0D02=2,%2d% = matrix %1d% x_angle +0D03=2,%2d% = matrix %1d% y_angle +0D04=2,%2d% = matrix %1d% z_angle +0D05=4,set_matrix %1d% position %2d% %3d% %4d% +0D06=4,get_matrix %1d% position_to %2d% %3d% %4d% +0D07=7,get_coords %1d% %2d% %3d% offsets_relative_to_matrix %4d% store_to %5d% %6d% %7d% +0D08=4,set_matrix %1d% angles_XYZ %2d% %3d% %4d% +0D09=2,copy_matrix %1d% to %2d% +0D0A=7,store_coords_to %5d% %6d% %7d% from_matrix %1d% with_offsets %2d% %3d% %4d% +0D0B=3,get_actor %1d% bone %2d% matrix_to %3d% // IF and SET +0D0C=3,get_car %1d% component %2s% matrix_to %3d% // IF and SET +0D0D=3,%3d% = get_car %1d% component %2s% // IF and SET +0D0E=3,set_car %1d% component %2s% state %3d% // IF and SET +0D0F=2,set_car %1d% model_alpha %2d% // IF and SET +0D10=2,set_actor %1d% model_alpha %2d% // IF and SET +0D11=2,set_object %1d% model_alpha %2d% // IF and SET +0D12=3,set_car %1d% component %2s% alpha %3d% // IF and SET +0D13=2,set_matrix %1d% x_angle %2d% +0D14=2,set_matrix %1d% y_angle %2d% +0D15=2,set_matrix %1d% z_angle %2d% +0D16=2,set_matrix %1d% rotation_from_quat %2d% +0D17=2,convert_matrix %1d% to_quat %2d% +0D18=6,rotate_quat %1d% axis_vector %2d% %3d% %4d% angle %5d% flag %6d% +0D19=2,get_normalized_quat %1d% to_quat %2d% +0D1A=3,quat %3d% = quat %1d% * quat %2d% +0D1B=3,get_entity %1d% type_to %2d% class_to %3d% +0D1C=1,normalize_vector %1d% +0D1D=4,matrix_slerp %1d% %2d% %3d% %4d% +0D1E=4,quat_slerp %1d% %2d% %3d% %4d% +0D1F=2,%2d% = component %1d% child +0D20=2,%2d% = component %1d% next_component +0D21=2,%2s% = component %1d% name +0D22=2,%2d% = component %1d% ltm +0D23=2,%2d% = component %1d% modelling_matrix +0D24=5,set_quat %1d% elements %2d% %3d% %4d% %5d% +0D25=17,set_matrix %1d% elements %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% %11d% %12d% %13d% %14d% %15d% %16d% %17d% +0D26=4,set_vector %1d% elements %2d% %3d% %4d% +0D27=3,copy_memory_from %1d% to %2d% size %3d% +0D28=4,get_vector %1d% elements_to %2d% %3d% %4d% +0D29=5,get_quat %1d% elements_to %2d% %3d% %4d% %5d% +0D2A=2,%2d% = get_car %1d% number_of_collided_entites +0D2B=2,%2d% = get_actor %1d% number_of_collided_entites +0D2C=2,%2d% = get_object %1d% number_of_collided_entites +0D2D=8,get_local_time_year_to %1d% month_to %2d% day_of_week_to %3d% day_to %4d% hour_to %5d% minute_to %6d% second_to %7d% milliseconds_to %8d% +0D2E=3,set_script %1d% var %2d% to %3d% +0D2F=3,%3d% = get_script %1d% var %2d% +0D30=3,%3d% = actor %1d% bone %2d% // IF and SET +0D31=2,%2d% = bone %1d% offset_vector +0D32=2,%2d% = bone %1d% quat +0D33=3,set_car %1d% door %2d% window_state %3d% +0D34=7,store_car %1d% collided_entities_to %2d% %3d% %4d% %5d% %6d% %7d% +0D35=7,store_actor %1d% collided_entities_to %2d% %3d% %4d% %5d% %6d% %7d% +0D36=7,store_object %1d% collided_entities_to %2d% %3d% %4d% %5d% %6d% %7d% +0D37=3,struct %1d% param %2d% = %3d% +0D38=3,%3d% = struct %1d% param %2d% +0D39=2,%2d% = actor %1d% max_health +0D3A=20,get_collision_between_points %1d% %2d% %3d% and %4d% %5d% %6d% flags %7d% %8d% %9d% %10d% %11d% %12d% %13d% %14d% ignore_entity %15d% store_point_to %17d% %18d% %19d% entity_to %20d% colpoint_data_to %16d% // IF and SET +0D3B=4,get_colpoint_data %1d% normal_XYZ_to %2d% %3d% %4d% +0D3C=2,get_colpoint_data %1d% surface_to %2d% +0D3D=2,get_colpoint_data %1d% lighting_to %2d% +0D3E=2,get_colpoint_data %1d% depth_to %2d% +0D3F=10,find_intersrction_between_circles %1d% %2d% %3d% and %4d% %5d% %6d% store_point1_to %7d% %8d% point2_to %9d% %10d% // IF and SET +0D40=8,draw_2d_shape_type %3d% texture %4d% numVerts %2d% pVerts %1d% vertexAlpha %5d% srcBlend %6d% dstBlend %7d% priority %8d% // IF and SET +0D41=14,set_vertices %1d% vertex %2d% xyz %5d% %6d% %7d% rhw %8d% RGBA %9d% %10d% %11d% %12d% uv %13d% %14d% invertX %3d% invertY %4d% +0D42=2,load_txd %1s% from %2s% // IF and SET +0D43=2,%2d% = txd %1s% id +0D44=3,%3d% = find_texture %1s% in_dictionary_named %2s% // IF and SET +0D45=5,rotate_2d_vertices_shape %1d% num_verts %2d% aroundXY %3d% %4d% angle %5d% +0D46=3,%3d% = find_texture %1s% in_dictionary_with_id %2d% // IF and SET +0D47=2,%2d% = model %1d% txd_id // IF and SET +0D48=2,%2d% = model %1d% crc32_key // IF and SET +0D49=3, %3d% = compare_strings %1s% %2s% // IF and SET +0D4A=2,concatenate_strings %1d% %2s% +0D4B=3, %3d% = locate_substring %1d% %2s% // IF and SET +0D4C=2,%2d% = string %1s% length +0D4D=2,copy_string %1s% to %2s% +0D4E=4,%4d% = struct %1d% offset %2d% size %3d% +0D4F=4,struct %1d% offset %2d% size %3d% = %4d% +0D50=14,draw_shadow_type %1d% position %2d% %3d% %4d% width %5d% height %6d% rotation %7d% distance %8d% texture %9d% intensity %10d% RGB %11d% %12d% %13d% shadow_data %14d% +0D51=14,draw_permanent_shadow_type %1d% position %2d% %3d% %4d% width %5d% height %6d% rotation %7d% distance %8d% texture %9d% intensity %10d% RGB %11d% %12d% %13d% time %14d% +0D52=12,draw_light_type %1d% position %2d% %3d% %4d% direction %5d% %6d% %7d% radius %8d% RGBA %9d% %10d% %11d% affect_entity %12d% +0D53=10,draw_corona_with_texture %1d% color %2d% %3d% %4d% %5d% on_entity %6d% at %7d% %8d% %9d% size %10d% +0D54=18,draw_corona_with_extra_params_texture %1d% color %2d% %3d% %4d% %5d% on_entity %6d% at %7d% %8d% %9d% size %10d% far_clip %11d% near_clip %12d% flare %13d% enable_reflection %14d% check_obstacles %15d% flash_while_fading %16d% fade_speed %17d% only_from_below %18d% +0D55=6,get_sun_colors_core_to %1d% %2d% %3d% glow_to %4d% %5d% %6d% +0D56=2,get_sun_screen_coords_XY_to %1d% %2d% +0D57=3,get_sun_position_to %1d% %2d% %3d% // IF and SET +0D58=2,get_sun_size_core_to %1d% glow_to %2d% +0D59=1,%1d% = current_weather +0D5A=2,get_trafficlights_type_NS_current_color_to %1d% type_WE_current_color_to %2d% +0D5B=12,draw_spotlight_from %1d% %2d% %3d% to %4d% %5d% %6d% base_radius %7d% target_radius %8d% enable_shadow %9d% shadow_intensity %10d% flag1 %11d% flag2 %12d% +0D5C=3,%3d% = get_car %1d% light %2d% damage_state +0D5D=3,set_car %1d% light %2d% damage_state %3d% +0D5E=3,get_vehicle %1d% class_to %2d% subclass_to %3d% +0D5F=7,get_vehicle %1d% dummy_element %2d% position %3d% to %5d% %6d% %7d% invert_x %4d% // IF and SET +0D60=10,create_projectile_type %1d% launched_from_entity %2d% origin %3d% %4d% %5d% target %6d% %7d% %8d% target_entity %9d% force %10d% +0D61=3, %3d% = load_texture_bmp_from %1s% with_mask %2s% // IF and SET +;0D62=2,set_car %1d% remap_texture %2d% +;0D63=5,set_car %1d% color %2d% RGB %3d% %4d% %5d% +0D64=2, %2d% = load_texture_png_from %1s% // IF and SET +0D65=6,print %1s% at %2d% %3d% scale %4d% %5d% style %6d% +0D66=25,print %1s% at %2d% %3d% scale %4d% %5d% style %6d% prop %7d% align %8d% wrap %9d% justify %10d% color %11d% %12d% %13d% %14d% outline %15d% shadow %16d% dropColor %17d% %18d% %19d% %20d% background %21d% backColor %22d% %23d% %24d% %25d% +;0D67=2,set_audiostream %1d% position_time %2d% +;0D68=2,%2d% = get_audiostream %1d% position_time +;0D69=4,%4d% = set_audiostream %1d% effect %2d% priority %3d% +;0D6A=2,remove_audiostream %1d% effect %2d% +;0D6B=2,set_audiostream_effect %1d% parameters_from_buf %2d% +;0D6C=2,get_audiostream_effect %1d% parameters_to_buf %2d% +;0D6D=1,reset_audiostream_effect %1d% +;0D6E=3,set_audiostream %1d% attribute %2d% to %3d% +;0D6F=3,%3d% = get_audiostream %1d% attribute %2d% +;0D70=7,set_3d_audiostream %1d% _3d_attributes_mode %2d% min %3d% max %4d% iangle %5d% oangle %6d% outvol %7d% +;0D71=7,get_3d_audiostream %1d% _3d_attributes_mode_to %2d% min_to %3d% max_to %4d% iangle_to %5d% oangle_to %6d% outvol_to %7d% +0D72=3,get_sfx_volume_to %2d% radio_volume_to %3d% type %1d% +0D73=3,get_screen_width_to %2d% height_to %3d% type %1d% +0D74=2,%2d% = component %1d% parent_component +0D75=2,%2d% = component %1d% num_objects +0D76=3,%3d% = component %1d% object %2d% +0D77=2,object_atomic %1d% hide %2d% +0D78=3,%3d% = get_object %1d% atomic_flag %2d% +0D79=3,set_object %1d% atomic_flag %2d% state %3d% +0D7A=2,%2d% = get_object %1d% num_materials +0D7B=3,%3d% = get_object %1d% material %2d% texture +0D7C=2, %2d% = load_texture_dds_from %1s% // IF and SET +0D7D=1,clean_loaded_texture %1d% +0D7E=10,draw_sprite_with_texture %1d% at_cornerA %2d% %3d% cornerB %4d% %5d% color %6d% %7d% %8d% %9d% angle %10d% +0D7F=22,draw_gradient_sprite_with_texture %1d% at_cornerA %2d% %3d% cornerB %4d% %5d% colors %6d% %7d% %8d% %9d% %10d% %11d% %12d% %13d% %14d% %15d% %16d% %17d% %18d% %19d% %20d% %21d% angle %22d% diff --git a/sa/constants.txt b/sa/constants.txt index 29223fc..57be5d5 100644 --- a/sa/constants.txt +++ b/sa/constants.txt @@ -3,4 +3,8 @@ false=0 true=1 TIMERA=32@ TIMERB=33@ +end +var +TIMERA: int +TIMERB: int end \ No newline at end of file diff --git a/sa/mode.xml b/sa/mode.xml new file mode 100644 index 0000000..b34185b --- /dev/null +++ b/sa/mode.xml @@ -0,0 +1,34 @@ + + + + @sb:\data\sa\ + @sb:\data\sa\SASCM.ini + @sb:\data\sa\SASCM.CLEO.ini + @sb:\data\sa\SASCM.Clipboard.ini + @sb:\data\sa\SASCM.NewOpcodes.ini + @sb:\data\sa\SASCM.CLEO+.ini + @sb:\data\sa\SASCM*.ini + @sb:\data\sa\classes.db + @sb:\data\sa\enums.txt + @sb:\data\sa\CustomVariables.ini + @sb:\data\sa\keywords.txt + @sb:\data\sa\CustomLabels.ini + @sb:\data\sa\CustomArrays.ini + @sb:\data\sa\missions.txt + @sb:\data\sa\constants.txt + @sb:\data\sa\opcodes.txt + @sb:\data\sa\templates.txt + @sb:\data\sa\templates.custom.txt + @game:\text\american.gxt + @game:\data\default.dat + @game:\data\maps\veh_mods\veh_mods.ide + @sb:\data\sa\sa.json + @game:\data\script + @game:\CLEO + \ No newline at end of file diff --git a/sa_mobile/constants.txt b/sa_mobile/constants.txt index 580f4a5..f0eb11e 100644 --- a/sa_mobile/constants.txt +++ b/sa_mobile/constants.txt @@ -3,4 +3,8 @@ false=0 true=1 TIMERA=40@ TIMERB=41@ +end +var +TIMERA: int +TIMERB: int end \ No newline at end of file diff --git a/sa_mobile/mode.xml b/sa_mobile/mode.xml new file mode 100644 index 0000000..4c32e98 --- /dev/null +++ b/sa_mobile/mode.xml @@ -0,0 +1,17 @@ + + @sb:\data\sa_mobile\ + @sb:\data\sa_mobile\SASCM.ini + @sb:\data\sa_mobile\classes.db + @sb:\data\sa_mobile\CustomVariables.ini + @sb:\data\sa_mobile\keywords.txt + @sb:\data\sa_mobile\CustomLabels.ini + @sb:\data\sa_mobile\CustomArrays.ini + @sb:\data\sa_mobile\missions.txt + @sb:\data\sa_mobile\constants.txt + @sb:\data\sa_mobile\templates.txt + @sb:\data\sa_mobile\templates.custom.txt + @sb:\data\sa_mobile\american.gxt + @sb:\data\sa_mobile\custom.dat + @sb:\data\sa_mobile\sa_mobile.json + @sb:\data\sa_mobile\enums.txt + \ No newline at end of file diff --git a/sa_ps2/SASCM.PS2.INI b/sa_ps2/SASCM.PS2.INI new file mode 100644 index 0000000..c504580 --- /dev/null +++ b/sa_ps2/SASCM.PS2.INI @@ -0,0 +1,39 @@ +[PS2] +0A8C=4, write_memory %1d% size %2d% val %3d% unused %4d% +0A8D=4, %4d% = read_memory %1d% size %2d% unused %3d% +0A8E=3,%3d% = %1d% + %2d% ; int +0A8F=3,%3d% = %1d% - %2d% ; int +0A90=3,%3d% = %1d% * %2d% ; int +0A91=3,%3d% = %1d% / %2d% ; int +0A96=2,%2d% = ped %1d% struct +0A97=2,%2d% = vehicle %1d% struct +0A98=2,%2d% = object %1d% struct +0A9A=3,%3d% = open_file %1s% mode %2d% ; IF and SET +0A9B=1,close_file %1d% +0A9C=2,%2d% = file %1d% size +0A9D=3,read_file %1d% size %2d% to %3d% +0A9F=1,%1d% = get_this_script_struct +0AA0=1,gosub_if_false %1p% +0AA1=0,return_if_false +0AA5=-1,call_function %1d% num_params %2h% pop %3h% +0AA6=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% +0AA7=-1,call_function_return %1d% num_params %2h% pop %3h% +0AA8=-1,call_method_return %1d% struct %2d% num_params %3h% pop %4h% +0AC6=2,%2d% = label %1p% pointer +0AC7=2,%2d% = var %1d% pointer +0AC8=2,%2d% = allocate_memory_size %1d% +0AC9=1,free_allocated_memory %1d% +0ACA=1,show_text_box %1s% +0ACB=3,show_styled_text %1s% time %2d% style %3d% +0ACC=2,show_text_lowpriority %1s% time %2d% +0ACD=2,show_text_highpriority %1s% time %2d% +0ACE=-1,show_formatted_text_box %1s% +0ACF=-1,show_formatted_styled_text %1s% time %2d% style %3d% +0AD0=-1,show_formatted_text_lowpriority %1s% time %2s% +0AD1=-1,show_formatted_text_highpriority %1s% time %2s% +0AD3=-1,%1d% = string_format %2s% +0AD5=3,file %1d% seek %2d% from_origin %3d% // IF and SET +0ADE=2,%2d% = text_label_string %1d% +0AEA=2,%2d% = ped_struct %1d% handle +0AEB=2,%2d% = vehicle_struct %1d% handle +0AEC=2,%2d% = object_struct %1d% handle \ No newline at end of file diff --git a/sa_ps2/mode.xml b/sa_ps2/mode.xml new file mode 100644 index 0000000..db9e1f2 --- /dev/null +++ b/sa_ps2/mode.xml @@ -0,0 +1,6 @@ + + @sb:\data\sa_ps2\ + @sb:\data\sa\SASCM.ini + @sb:\data\sa_ps2\SASCM.PS2.ini + @sb:\data\sa_ps2\opcodes.txt + \ No newline at end of file diff --git a/sa_scr/SASCM.ini b/sa_scr/SASCM.ini index 7aad81c..e3c672a 100644 --- a/sa_scr/SASCM.ini +++ b/sa_scr/SASCM.ini @@ -2102,7 +2102,7 @@ DATE=2021-07-05 0B17=2,%1d% &= %2d% 0B18=2,%1d% |= %2d% 0B19=2,%1d% ^= %2d% -0B1A=1,~ %1d% +0B1A=1,~%1d% 0B1B=2,%1d% %= %2d% 0B1C=2,%1d% >>= %2d% 0B1D=2,%1d% <<= %2d% @@ -2255,7 +2255,7 @@ DATE=2021-07-05 0E68=2,set_player_control_pad %1d% %2d% 0E69=2,set_player_control_pad_movement %1d% %2d% 0E6A=2,make_nop %1d% size %2d% -0E6B=2,get_colpoint_lighting %1d% from_night %2d% store_to %3d% +0E6B=3,get_colpoint_lighting %1d% from_night %2d% store_to %3d% 0E6C=1,get_day_night_balance %1d% 0E6D=1,get_underwaterness %1d% 0E6E=0,is_select_menu_just_pressed @@ -2304,7 +2304,7 @@ DATE=2021-07-05 0E99=0,load_all_priority_models_now 0E9A=2,load_special_character_for_id %1d% name %2d% 0E9B=1,unload_special_character_from_id %1d% -0E9C=1,get_model_by_name %1d% store_id %2d% +0E9C=2,get_model_by_name %1d% store_id %2d% 0E9D=1,get_model_available_by_name %1d% 0E9E=3,get_model_available_by_name %1d% to %2d% store_to %3d% 0E9F=0,remove_all_unused_models diff --git a/sa_scr/mode.xml b/sa_scr/mode.xml new file mode 100644 index 0000000..d242d7f --- /dev/null +++ b/sa_scr/mode.xml @@ -0,0 +1,8 @@ + + @sb:\data\sa_scr\SASCM.ini + @sb:\data\sa_scr\classes.db + @sb:\data\sa_scr\keywords.txt + @sb:\data\sa_scr\opcodes.txt + @sb:\data\sa_scr\templates.txt + @sb:\data\sa_scr\templates.custom.txt + \ No newline at end of file diff --git a/sa_v2/CustomLabels.ini b/sa_v2/CustomLabels.ini new file mode 100644 index 0000000..4bd8ff5 --- /dev/null +++ b/sa_v2/CustomLabels.ini @@ -0,0 +1,37 @@ +; +; Custom Labels, version SA +; +;------------------------------ +; Labels types +; +; sub - Subroutine +; MS - Mission Starter +; ESC - External Script Control +; +; --------- v2 -------------- +; THREAD [MAIN] +61148=Case_Video_Game +61276=MS_Game_TheyCrawledFromUranus +61294=MS_Game_Duality +61312=MS_Game_GoGoSpaceMonkey +61330=MS_Game_LetsGetReadyToBumble +61348=MS_Game_Poker +61366=MS_Game_Pool +61384=MS_Game_Lowrider +61402=MS_Game_BeefyBaron +61443=End_Case_Video_Game + +; THREAD [INT] +61770=MS_Intro_Missions + +; THREAD [LA1FIN] +64792=MS_LS_Final_Missions + +; THREAD [CAT] +65575=Case_Catalina_Missions +65638=MS_Local_Liquor_Store +65663=MS_Small_Town_Bank +65688=MS_Tanker_Commander +65713=MS_Against_All_Odds +65738=End_Case_Catalina_Mission +65967=sub_Show_Selected_Catalina_Mission_Title \ No newline at end of file diff --git a/sa_v2/mode.xml b/sa_v2/mode.xml new file mode 100644 index 0000000..d33aecd --- /dev/null +++ b/sa_v2/mode.xml @@ -0,0 +1,3 @@ + + @sb:\data\sa_v2\CustomLabels.ini + \ No newline at end of file diff --git a/vc/VCSCM.INI b/vc/VCSCM.INI index 77d3b1d..3406aba 100644 --- a/vc/VCSCM.INI +++ b/vc/VCSCM.INI @@ -712,7 +712,7 @@ DATE=2022-10-01 040b=0, french_game 040c=0, german_game 040d=1,unload_wav %1d% -0411=2,set_actor %1d% use_pednode_seek %2dtrue/false% +0411=2,set_actor %1d% use_pednode_seek %2d% 0414=2,set_player %1d% single_free_treatment %2d% 0416=0,NOP 0417=1,start_mission %1d% @@ -1148,17 +1148,17 @@ DATE=2022-10-01 0B05=2,copy_directory %1d% to %2d% ;; IF and SET ; CLEO 2.0 IntOperations.cleo -0B10=3,%3d% = %1d% AND %2d% -0B11=3,%3d% = %1d% OR %2d% -0B12=3,%3d% = %1d% XOR %2d% -0B13=2,%2d% = NOT %1d% -0B14=3,%3d% = %1d% MOD %2d% -0B15=3,%3d% = %1d% SHR %2d% -0B16=3,%3d% = %1d% SHL %2d% +0B10=3,%3d% = %1d% & %2d% +0B11=3,%3d% = %1d% | %2d% +0B12=3,%3d% = %1d% ^ %2d% +0B13=2,%2d% = ~%1d% +0B14=3,%3d% = %1d% % %2d% +0B15=3,%3d% = %1d% >> %2d% +0B16=3,%3d% = %1d% << %2d% 0B17=2,%1d% &= %2d% 0B18=2,%1d% |= %2d% 0B19=2,%1d% ^= %2d% -0B1A=1,~ %1d% +0B1A=1,~%1d% 0B1B=2,%1d% %= %2d% 0B1C=2,%1d% >>= %2d% 0B1D=2,%1d% <<= %2d% diff --git a/vc/constants.txt b/vc/constants.txt index 67717fb..cebac1e 100644 --- a/vc/constants.txt +++ b/vc/constants.txt @@ -3,4 +3,8 @@ false=0 true=1 TIMERA=16@ TIMERB=17@ +end +var +TIMERA: int +TIMERB: int end \ No newline at end of file diff --git a/vc/mode.xml b/vc/mode.xml new file mode 100644 index 0000000..cf9a001 --- /dev/null +++ b/vc/mode.xml @@ -0,0 +1,17 @@ + + @sb:\data\vc\ + @sb:\data\vc\VCSCM.ini + @sb:\data\vc\classes.db + @sb:\data\vc\CustomVariables.ini + @sb:\data\vc\keywords.txt + @sb:\data\vc\missions.txt + @sb:\data\vc\enums.txt + @sb:\data\vc\constants.txt + @sb:\data\vc\templates.txt + @sb:\data\vc\templates.custom.txt + @game:\text\american.gxt + @game:\data\default.ide + @sb:\data\vc\vc.json + @game:\data + @game:\CLEO + \ No newline at end of file diff --git a/vc_mobile/VCSCM.INI b/vc_mobile/VCSCM.INI index 3bacaf6..375cb57 100644 --- a/vc_mobile/VCSCM.INI +++ b/vc_mobile/VCSCM.INI @@ -712,7 +712,7 @@ DATE=2021-01-30 040b=0, french_game 040c=0, german_game 040d=1,unload_wav %1d% -0411=2,set_actor %1d% use_pednode_seek %2dtrue/false% +0411=2,set_actor %1d% use_pednode_seek %2d% 0414=2,set_player %1d% single_free_treatment %2d% 0416=0,NOP 0417=1,start_mission %1d% diff --git a/vc_mobile/mode.xml b/vc_mobile/mode.xml new file mode 100644 index 0000000..08236ec --- /dev/null +++ b/vc_mobile/mode.xml @@ -0,0 +1,14 @@ + + @sb:\data\vc_mobile\ + @sb:\data\vc_mobile\VCSCM.ini + @sb:\data\vc_mobile\opcodes.txt + @sb:\data\vc_mobile\CustomVariables.ini + @sb:\data\vc_mobile\keywords.txt + @sb:\data\vc_mobile\templates.txt + @sb:\data\vc_mobile\templates.custom.txt + @sb:\data\vc_mobile\american.gxt + @sb:\data\vc_mobile\data\default.ide + @sb:\data\vc_mobile\data\gta_vc.dat + @sb:\data\vc_mobile\vc_mobile.json + @sb:\data\vc_mobile\enums.txt + \ No newline at end of file diff --git a/vcs/keywords.txt b/vcs/keywords.txt deleted file mode 100644 index cf0e303..0000000 --- a/vcs/keywords.txt +++ /dev/null @@ -1,5 +0,0 @@ -0001=wait -0002=jump -0022=jf -0078=if -0026=return \ No newline at end of file diff --git a/vcs/models.ide b/vcs/models.ide deleted file mode 100644 index da0b47d..0000000 --- a/vcs/models.ide +++ /dev/null @@ -1,350 +0,0 @@ -# peds -0 plr -8 cop -9 swat -10 fbi -11 army -12 medic -13 fireman -14 male01 -16 HFYST -17 HFOST -18 HMYST -19 HMOST -20 HFYRI -21 HFORI -22 HMYRI -23 HMORI -24 HFYBE -25 HFOBE -26 HMYBE -27 HMOBE -28 HFYBU -29 HFYMD -30 HFYCG -31 HFYPR -32 HFOTR -33 HMOTR -34 HMYAP -35 HMOCA -36 BMODK -37 BMYCR -38 BFYST -39 BFOST -40 BMYST -41 BMOST -42 BFYRI -43 BFORI -44 BMYRI -45 BFYBE -46 BMYBE -47 BFOBE -48 BMOBE -49 BMYBU -50 BFYPR -51 BFOTR -52 BMOTR -53 BMYPI -54 BMYBB -55 WMYCR -56 WFYST -57 WFOST -58 WMYST -59 WMOST -60 WFYRI -61 WFORI -62 WMYRI -63 WMORI -64 WFYBE -65 WMYBE -66 WFOBE -67 WMOBE -68 WMYCW -69 WFOGO -70 WMOGO -71 WFYLG -72 WMYLG -73 WFYBU -74 WMYBU -75 WMOBU -76 WFYPR -77 WFOTR -78 WMOTR -79 WMYPI -80 WMOCA -81 WFYJG -82 WMYJG -83 WFYSK -84 WMYSK -85 WFYSH -86 WFOSH -87 JFOTO -88 JMOTO -89 PGang7A -90 PGang7B -91 Gang1A -92 Gang1B -93 Gang2A -94 Gang2B -95 Gang3A -96 Gang3B -97 Gang4A -98 Gang4B -99 Gang5A -100 Gang5B -101 Gang6A -102 Gang6B -103 Gang7A -104 Gang7B -105 Gang8A -106 Gang8B -107 Gang9A -108 Gang9B -109 DiaGgA -110 DiaGgB -111 GonGgA -112 GonGgB -113 MenGgA -114 MenGgB -115 DEA1 -116 DEA2 -117 vice1 -118 vice2 -119 BCop -120 Alberto -121 Arman -122 Barry -123 Burger -124 Bry -125 BryB -126 BryE -127 Cokhed -128 Diaz -129 Diego -130 FlmCrw -131 Gtr1 -132 Gonz -133 Hitman -134 Gtr2 -135 Jerry -136 LanSm -137 lanst -138 Lou -139 PhCol2 -140 LouB -141 LouM -142 Marty -143 ShpKpr3 -144 GayBiA -145 GayBiB -146 PhCol -147 Phil -148 Reni -149 RenOp -150 Robber -151 Sarge -152 ShopKpr -153 umber -154 ZomA -155 plr2 -156 Plr3 -157 Plr4 -158 Plr5 -159 Plr6 -160 Plr7 -161 Plr8 -162 Plr9 -163 Plr10 -164 Plr11 -165 Plr12 -166 Plr13 -167 plr14 - -# cars -170 6atv -171 admiral -172 cheetah -173 autogyro -174 baggage -175 banshee -176 peren -177 blistac -178 bmxboy -179 bmxgirl -180 bobcat -181 bulldoze -182 burrito -183 cabbie -184 caddy -185 speeder2 -186 pimp -187 deluxo -188 huey -189 hueyhosp -190 electrag -191 electrap -192 esperant -193 fbicar -194 firetruk -195 glendale -196 greenwoo -197 hermes -198 hovercr -199 idaho -200 landstal -201 manana -202 mop50 -203 oceanic -204 vicechee -205 sanchez -206 stallion -207 policem -208 bobo -209 patriot -210 pony -211 sentinel -212 pcj600 -213 maverick -214 reefer -215 speeder -216 linerun -217 walton -218 barracks -219 predator -220 flatbed -221 ammotruk -222 biplane -223 moonbeam -224 rumpo -225 yola -226 taxi -227 ambulan -228 stretch -229 faggio -230 quad -231 angel -232 freeway -233 jetski -234 enforce -235 boxvil -236 benson -237 coach -238 mule -239 voodoo -240 securica -241 trash -242 topfun -243 yankee -244 mrwhoo -245 sandking -246 rhino -247 dinghy -248 marquis -249 rio -250 tropic -251 forklift -252 streetfi -253 virgo -254 stinger -255 bfinject -256 pheonix -257 squalo -258 jetmax -259 mesa -260 vcnmav -261 polmav -262 sparrow -263 sesparow -264 scarab -265 chollo -266 comet -267 cuban -268 fbiran -269 gangbur -270 infernus -271 regina -272 sabre -273 sabretb -274 sentxs -275 hunter -276 washin -277 coastg -278 skimmer -279 chopper -280 airtrain - -# objects -310 hash_00000000 -311 hash_00000000 -312 hash_00000000 -313 hash_00000000 -314 hash_00000000 -315 hash_00000000 -316 hash_00000000 -317 hash_00000000 -318 hash_00000000 -319 airtrain_vlo -320 wheel_rim -321 wheel_offroad -322 wheel_truck -323 wheel_sport -324 wheel_saloon -325 wheel_lightvan -326 wheel_classic -327 wheel_alloy -328 wheel_lighttruck -329 wheel_smallcar - -# weapon -330 cellphone -331 brassknuckle -332 butt_knife -333 golfclub -334 nitestick -335 knifecur -336 bat -337 handaxe -338 gaff -339 machete -340 katana -341 chnsaw -342 grenade -343 teargas -344 molotov -345 missile -346 beretta -347 python -348 ak47 -349 chromegun -350 shotgspa -351 buddyshot -352 M16 -353 skorpion -354 uzi -355 ingramsl -356 mplng -357 sniper -358 laser -359 rocketla -360 flame -361 m249 -362 minigun -363 bomb -364 camera -365 fingers -366 minigun2 -367 binoculars -368 landmine -369 seamine - -# cutscene -380 CS_uzi -381 cutobj02 -382 cutobj03 -383 cutobj04 -384 cutobj05 -385 cutobj06 -386 cutobj07 -387 cutobj08 -388 cutobj09 -389 cutobj10 \ No newline at end of file diff --git a/vcs/ps2/CustomArrays.ini b/vcs_ps2/CustomArrays.ini similarity index 100% rename from vcs/ps2/CustomArrays.ini rename to vcs_ps2/CustomArrays.ini diff --git a/vcs/ps2/CustomLabels.ini b/vcs_ps2/CustomLabels.ini similarity index 100% rename from vcs/ps2/CustomLabels.ini rename to vcs_ps2/CustomLabels.ini diff --git a/vcs/ps2/CustomVariables.ini b/vcs_ps2/CustomVariables.ini similarity index 100% rename from vcs/ps2/CustomVariables.ini rename to vcs_ps2/CustomVariables.ini diff --git a/vcs/ps2/missions.txt b/vcs_ps2/missions.txt similarity index 100% rename from vcs/ps2/missions.txt rename to vcs_ps2/missions.txt diff --git a/vcs_ps2/mode.xml b/vcs_ps2/mode.xml new file mode 100644 index 0000000..6eddd9d --- /dev/null +++ b/vcs_ps2/mode.xml @@ -0,0 +1,9 @@ + + + @sb:\data\vcs_ps2\CustomVariables.ini + @sb:\data\vcs_ps2\CustomLabels.ini + @sb:\data\vcs_ps2\CustomArrays.ini + @sb:\data\vcs_ps2\missions.txt + @sb:\data\vcs_ps2\english.gxt + @sb:\data\vcs_ps2\opcodes.txt + \ No newline at end of file diff --git a/vcs/ps2/opcodes.txt b/vcs_ps2/opcodes.txt similarity index 100% rename from vcs/ps2/opcodes.txt rename to vcs_ps2/opcodes.txt diff --git a/vcs/psp/CustomArrays.ini b/vcs_psp/CustomArrays.ini similarity index 100% rename from vcs/psp/CustomArrays.ini rename to vcs_psp/CustomArrays.ini diff --git a/vcs/psp/CustomLabels.ini b/vcs_psp/CustomLabels.ini similarity index 100% rename from vcs/psp/CustomLabels.ini rename to vcs_psp/CustomLabels.ini diff --git a/vcs/psp/CustomVariables.ini b/vcs_psp/CustomVariables.ini similarity index 100% rename from vcs/psp/CustomVariables.ini rename to vcs_psp/CustomVariables.ini diff --git a/vcs/VCSSCM.INI b/vcs_psp/VCSSCM.INI similarity index 98% rename from vcs/VCSSCM.INI rename to vcs_psp/VCSSCM.INI index ff1f486..63c6686 100644 --- a/vcs/VCSSCM.INI +++ b/vcs_psp/VCSSCM.INI @@ -385,7 +385,7 @@ DATE=2023-05-14 018A=2, unknown_coll_check_7453 %1d% char %2d% 018B=1,unknown_coll_command_8521 char %1d% 018C=4,add_peds_in_area_to_coll %1d% point %2d% %3d% %4d% -018D=1, add_peds_in_vehicle_to_coll %1d% vehicle %2d% +018D=2, add_peds_in_vehicle_to_coll %1d% vehicle %2d% 018E=1,unknown_coll_command_6423 %1d% 018F=1, unknown_coll_check_7353 %1d% 01A4=2,set_char_heed_threats %1d% flag %2d% @@ -629,7 +629,7 @@ DATE=2023-05-14 0294=2,set_car_avoid_level_transitions %1d% to %2d% 0295=6,clear_area_of_chars %1d% %2d% %3d% to %4d% %5d% %6d% 0296=1,set_total_number_of_missions %1d% -0297=2,convert_metres_to_feet_int %1d% store_to ,%2d% +0297=2,convert_metres_to_feet_int %1d% store_to %2d% 0298=3,warp_char_into_car_as_passenger %1d% car %2d% seat %3h% 0299=2, is_car_passenger_seat_free %1d% seat %2d% 029A=3,get_char_in_car_passenger_seat %1d% seat %2h% store_to %3d% @@ -666,7 +666,7 @@ DATE=2023-05-14 02B9=2,set_car_stay_in_fast_lane %1d% to %2h% 02BA=1,clear_char_last_weapon_damage %1d% 02BB=1,clear_car_last_weapon_damage %1d% -02BC=10,get_random_cop_in_area %1d% %2d% to %3d% %4d% cop %5h% swat %6h% fbi %7h% army%8h% vice %9h% store_to %10d% +02BC=10,get_random_cop_in_area %1d% %2d% to %3d% %4d% cop %5h% swat %6h% fbi %7h% army %8h% vice %9h% store_to %10d% 02BD=2,get_driver_of_car %1d% store_to %2d% 02BE=2,get_number_of_followers %1d% store_to %2d% 02BF=6,give_remote_controlled_model_to_player %1d% at %2d% %3d% %4d% angle %5d% model %6m% @@ -836,7 +836,7 @@ DATE=2023-05-14 0363=4,set_restart_mission_taxi_start %1d% %2d% %3d% angle %4d% 0364=4,set_restart_mission_taxi_destination %1d% %2d% %3d% %4d% 0365=8,get_random_ice_cream_customer_in_area from %1d% %2d% to %3d% %4d% civilian %5h% gang %6h% criminal/prostitute %7h% store_to %8d% -0366=4,unlock_all_car_doors_in_area cornerA %1d% %2d% cornerB %3d% +0366=4,unlock_all_car_doors_in_area cornerA %1d% %2d% cornerB %3d% %4d% 0367=2,set_gang_attack_player_with_cops %1h% flag %2h% 0368=2,set_char_frightened_in_jacked_car %1d% flag %2h% 0369=2,set_vehicle_to_fade_in %1d% to %2h% @@ -849,7 +849,7 @@ DATE=2023-05-14 0370=1,disarm_car_bomb %1d% 0371=0, unknown_command_lcs_05A1 0372=5,get_dot_product_of_2d_vectors %1d% %2d% and %3d% %4d% store_to %5d% -0373=7,get_dot_product_of_3d_vectors %1d% %2d% and %3d% %4d% store_to %5d% +0373=7,get_dot_product_of_3d_vectors %1d% %2d% and %3d% %4d% store_to %5d% %6d% %7d% 0374=3,display_float_value int_2D_coords %1d% %2d% float_value %3d% 0375=4,display_2_float_values int_2D_coords %1d% %2d% float_values %3d% %4d% 0376=5,display_3_float_values int_2D_coords %1d% %2d% float_values %3d% %4d% %5d% @@ -867,7 +867,7 @@ DATE=2023-05-14 0392=0,return_if_true_and_set_condition_true 0393=2,unknown_command_ac7b char %1d% flag %2d% 0394=1,set_rc_heli_height_limit %1d% -0395=10,create_permanent_corona %1d% at %2d% %3d% %4d% radius %5d% type %6d% enable_lensflare %7d% colour %8d% %9d% %10d% store_to %11d% +0395=10,create_permanent_corona %1d% at %2d% %3d% %4d% radius %5d% type %6d% enable_lensflare %7d% colour %8d% %9d% store_to %10d% 0396=1,delete_permanent_corona %1d% 0397=1, unknown_vehicle_command_532c vehicle %1d% 0398=1, unknown_vehicle_command_6c1a vehicle %1d% @@ -977,7 +977,7 @@ DATE=2023-05-14 0402=1, is_audio_channel_playing %1d% 0403=3,set_clock_event hours %1d% minutes %2d% warning_minutes %3d% 0404=3,set_weather_extra_colour_light_direction %1d% %2d% %3d% -0405=2,unknown_char_command_8653 flag %1d% +0405=1,unknown_char_command_8653 flag %1d% 0406=1,print_help_version_b %1g% 0407=1,print_help_forever_version_b %1g% 0408=1,print_help_version_c %1g% @@ -1034,7 +1034,7 @@ DATE=2023-05-14 043C=3,unknown_coll_set_command_4627 %1d% %2d% %3d% 043D=3,unknown_coll_set_command_b471 %1d% %2d% %3d% 043E=8,create_projectile weapon_type %1d% coords %2d% %3d% %4d% power %5d% ped_handle %6d% flag %7d% store_to %8d% -043F=1,remove_projectile %1d% do_explosion %2d% +043F=2,remove_projectile %1d% do_explosion %2d% 0440=2, is_projectile_of_type %1d% weapon_type %2d% 0441=1, is_projectile_destroyed %1d% 0442=2,unknown_char_set_command_2691 %1d% flag %2d% @@ -1099,9 +1099,9 @@ DATE=2023-05-14 047D=3,unknown_empire_command_6726 %1d% %2d% store_to %3d% 047E=7,unknown_empire_command_8382 %1d% %2d% %3d% store_to %4d% %5d% %6d% %7d% 047F=5,unknown_empire_command_9726 %1d% str %2d% unk %3d% %4d% store_to %5d% -0480=9,unknown_empire_command_83f8 %1d% %2d% %3d% str %4d% store_to %5d% %6d% %7d% %8d% +0480=9,unknown_empire_command_83f8 %1d% %2d% %3d% str %4d% store_to %5d% %6d% %7d% %8d% %9d% 0481=2,unknown_player_set_command_1631 %1d% flag %2d% -0482=2,unknown_enable_building_swap_for_model hash %1d% enable 1 +0482=2,unknown_enable_building_swap_for_model hash %1d% enable %2d% 0483=2,get_empire_from_building model_hash %1d% store_to %2d% 0484=2,get_hash_key hash %1d% store_to %2d% 0485=2, unknown_char_check_command_5936 %1d% id %2d% @@ -1143,7 +1143,7 @@ DATE=2023-05-14 04A9=2,unknown_get_car_from_car_command_7457 %1d% store_car_to %2d% 04AA=2,unknown_object_set_command_5758 %1d% flag %2d% 04AB=2,unknown_car_set_command_5758 %1d% flag %2d% -04AC=2,set_car_rope_start_position %1d% coords %2d% %3d% %4d% +04AC=4,set_car_rope_start_position %1d% coords %2d% %3d% %4d% 04AD=2,unknown_get_object_from_car_command_7393 %1d% store_object_to %2d% 04AE=2,change_char_colour_set %1d% set_id %2d% 04AF=2,change_char_script_colour_set %1d% set_id %2d% @@ -1166,7 +1166,7 @@ DATE=2023-05-14 04C0=6,attach_object_to_char %1d% car %2d% unk_int %3d% offset %4d% %5d% %6d% 04C1=1,detach_object_from_char %1d% 04C2=2,unknown_char_set_command_7283 %1d% flag %2d% -04C3=1,clear_all_threats_for_ped_type +04C3=1,clear_all_threats_for_ped_type %1d% 04C4=6,get_closest_water_node %1d% %2d% %3d% store_to %4d% %5d% %6d% 04C5=1,unknown_command_6717 %1d% 04C6=1,unknown_generate_cars_set_command_7421 %1d% @@ -1184,7 +1184,7 @@ DATE=2023-05-14 04D2=2,unknown_car_set_command_9338 %1d% flag %2d% 04D3=1,clear_char_leadership %1d% 04D4=1,make_player_fire_proof %1b% -04D5=5,unknown_command_5721 +04D5=5,unknown_command_5721 %1d% %2d% %3d% %4d% %5d% 04D6=2,unknown_player_command_4832 %1d% flag %2d% 04D7=3,camera_look_at_entity char %1d% or_car %2d% enable_look_at %3d% 04D8=1, is_object_still_alive %1d% @@ -1293,9 +1293,9 @@ DATE=2023-05-14 053F=1,unknown_char_audio_command_5171 %1d% 0540=2,unknown_audio_command_2762 values %1d% %2d% 0541=5,unknown_car_path_coord_command_6291 %1d% unused %2d% store_coords %3d% %4d% %5d% -0542=2,unknown_char_set_command_6416 +0542=2,unknown_char_set_command_6416 %1d% flag %2d% 0543=2,unknown_char_set_command_2782 %1d% flag %2d% -0544=1,unknown_world_bullet_command_7281 +0544=1,unknown_world_bullet_command_7281 %1d% 0545=1,unknown_camera_command_5782 %1d% 0546=1,register_empire_job_completed %1d% 0547=2,unknown_gang_set_command_9365 %1d% to %2d% diff --git a/vcs/classes.db b/vcs_psp/classes.db similarity index 100% rename from vcs/classes.db rename to vcs_psp/classes.db diff --git a/vcs/constants.txt b/vcs_psp/constants.txt similarity index 100% rename from vcs/constants.txt rename to vcs_psp/constants.txt diff --git a/vcs_psp/default.ide b/vcs_psp/default.ide new file mode 100644 index 0000000..6eaf023 --- /dev/null +++ b/vcs_psp/default.ide @@ -0,0 +1,353 @@ +# Generated by g3DTZ v2.0 - by guard3 +peds +0, plr, plr, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +8, cop, cop, COP, STAT_COP, man, 0, null, 9, 9 +9, swat, swat, COP, STAT_COP, man, 0, null, 9, 9 +10, fbi, fbi, COP, STAT_COP, man, 0, null, 9, 9 +11, army, army, COP, STAT_COP, man, 0, null, 9, 9 +12, medic, medic, EMERGENCY, STAT_MEDIC, man, 0, medic, 9, 9 +13, fireman, fireman, FIREMAN, STAT_FIREMAN, man, 0, null, 9, 9 +14, male01, male01, CIVMALE, STAT_SENSIBLE_GUY, man, 0, null, 0, 1 +15, MaryJ, MaryJ, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +16, HFYST, HFYST, CIVFEMALE, STAT_STREET_GIRL, sexywoman, 13, null, 7, 0 +17, HFOST, HFOST, CIVFEMALE, STAT_TOUGH_GIRL, woman, 13, null, 4, 7 +18, HMYST, HMYST, CIVMALE, STAT_GEEK_GUY, gang1, 1a3, null, 0, 5 +19, HMOST, HMOST, CIVMALE, STAT_OLD_GUY, man, 33, null, 3, 7 +20, HFYRI, HFYRI, CIVFEMALE, STAT_GEEK_GIRL, busywoman, d, null, 7, 0 +21, HFORI, HFORI, CIVFEMALE, STAT_OLD_GIRL, woman, d, null, 4, 7 +22, HMYRI, HMYRI, CIVMALE, STAT_SUIT_GUY, man, 130d, null, 7, 5 +23, HMORI, HMORI, CIVMALE, STAT_SENSIBLE_GUY, man, d, null, 3, 3 +24, HFYBE, HFYBE, CIVFEMALE, STAT_GEEK_GIRL, sexywoman, 1a89, sunbathe, 7, 0 +25, HFOBE, HFOBE, CIVFEMALE, STAT_OLD_GIRL, fatwoman, 200, sunbathe, 4, 7 +26, HMYBE, HMYBE, CIVMALE, STAT_TOUGH_GUY, gang2, 1b89, sunbathe, 7, 5 +27, HMOBE, HMOBE, CIVMALE, STAT_TOURIST, fatman, 237, sunbathe, 8, 3 +28, HFYBU, HFYBU, CIVFEMALE, STAT_SUIT_GIRL, busywoman, 8d, null, 4, 8 +29, HFYMD, HFYMD, CIVFEMALE, STAT_SUIT_GIRL, busywoman, 0, null, 9, 9 +30, HFYCG, HFYCG, CIVFEMALE, STAT_SENSIBLE_GIRL, woman, 0, null, 9, 9 +31, HFYPR, HFYPR, PROSTITUTE, STAT_PROSTITUTE, sexywoman, 0, null, 9, 9 +32, HFOTR, HFOTR, CIVFEMALE, STAT_TRAMP_FEMALE, shuffle, 0, null, 9, 9 +33, HMOTR, HMOTR, CIVMALE, STAT_TRAMP_MALE, shuffle, 0, null, 9, 9 +34, HMYAP, HMYAP, CIVMALE, STAT_SENSIBLE_GUY, gang1, 32, null, 1, 8 +35, HMOCA, HMOCA, CIVMALE, STAT_TAXIDRIVER, man, 40, null, 3, 7 +36, BMODK, BMODK, CIVMALE, STAT_SENSIBLE_GUY, gang2, b0, null, 2, 6 +37, BMYCR, BMYCR, CIVMALE, STAT_CRIMINAL, gang2, 17ff, null, 2, 6 +38, BFYST, BFYST, CIVFEMALE, STAT_SENSIBLE_GIRL, sexywoman, 4b3, null, 2, 6 +39, BFOST, BFOST, CIVFEMALE, STAT_OLD_GIRL, oldwoman, 33, null, 4, 4 +40, BMYST, BMYST, CIVMALE, STAT_STREET_GUY, gang1, 13f, null, 2, 6 +41, BMOST, BMOST, CIVMALE, STAT_PSYCHO, man, b3, null, 8, 3 +42, BFYRI, BFYRI, CIVFEMALE, STAT_GEEK_GIRL, busywoman, c, null, 6, 0 +43, BFORI, BFORI, CIVFEMALE, STAT_OLD_GIRL, woman, c, null, 8, 3 +44, BMYRI, BMYRI, CIVMALE, STAT_GEEK_GUY, man, 130d, null, 2, 6 +45, BFYBE, BFYBE, CIVFEMALE, STAT_BEACH_GIRL, sexywoman, 1a8d, sunbathe, 0, 5 +46, BMYBE, BMYBE, CIVMALE, STAT_BEACH_GUY, gang1, 1a00, sunbathe, 2, 6 +47, BFOBE, BFOBE, CIVFEMALE, STAT_TOURIST, fatwoman, 207, sunbathe, 4, 8 +48, BMOBE, BMOBE, CIVMALE, STAT_TOUGH_GUY, oldfatman, 207, sunbathe, 6, 0 +49, BMYBU, BMYBU, CIVMALE, STAT_SENSIBLE_GUY, man, d, null, 6, 0 +50, BFYPR, BFYPR, PROSTITUTE, STAT_PROSTITUTE, sexywoman, 0, null, 9, 9 +51, BFOTR, BFOTR, CIVFEMALE, STAT_OLDSHOPPER, shuffle, 0, null, 9, 9 +52, BMOTR, BMOTR, CIVMALE, STAT_TRAMP_MALE, shuffle, 0, null, 9, 9 +53, BMYPI, BMYPI, CIVMALE, STAT_STREET_GUY, gang2, 1, null, 9, 9 +54, BMYBB, BMYBB, CIVMALE, STAT_BUSKER, man, 0, null, 9, 9 +55, WMYCR, WMYCR, CRIMINAL, STAT_CRIMINAL, gang1, 17ff, null, 1, 8 +56, WFYST, WFYST, CIVFEMALE, STAT_STREET_GIRL, sexywoman, 8f, null, 0, 5 +57, WFOST, WFOST, CIVFEMALE, STAT_SENSIBLE_GIRL, oldwoman, 7, null, 4, 4 +58, WMYST, WMYST, CIVMALE, STAT_GEEK_GUY, gang1, 13f, null, 0, 5 +59, WMOST, WMOST, CIVMALE, STAT_STREET_GUY, man, f3, null, 1, 8 +60, WFYRI, WFYRI, CIVFEMALE, STAT_GEEK_GIRL, sexywoman, 28c, null, 0, 5 +61, WFORI, WFORI, CIVFEMALE, STAT_SHOPPER, woman, 5, null, 8, 3 +62, WMYRI, WMYRI, CIVMALE, STAT_GEEK_GUY, man, 130d, null, 1, 8 +63, WMORI, WMORI, CIVMALE, STAT_SENSIBLE_GUY, man, 20d, null, 3, 3 +64, WFYBE, WFYBE, CIVFEMALE, STAT_TOURIST, sexywoman, 1a89, sunbathe, 0, 5 +65, WMYBE, WMYBE, CIVMALE, STAT_BEACH_GUY, gang1, 1903, sunbathe, 1, 1 +66, WFOBE, WFOBE, CIVFEMALE, STAT_OLD_GIRL, fatwoman, 203, sunbathe, 4, 8 +67, WMOBE, WMOBE, CIVMALE, STAT_BEACH_GUY, oldman, 20f, sunbathe, 0, 8 +68, WMYCW, WMYCW, CIVMALE, STAT_TOUGH_GUY, gang1, 30, null, 1, 1 +69, WFOGO, WFOGO, CIVFEMALE, STAT_SUIT_GIRL, oldwoman, d, null, 4, 4 +70, WMOGO, WMOGO, CIVMALE, STAT_SUIT_GUY, oldman, f, null, 3, 3 +71, WFYLG, WFYLG, CIVFEMALE, STAT_TOUGH_GIRL, sexywoman, 0, null, 9, 9 +72, WMYLG, WMYLG, CIVMALE, STAT_FIREMAN, gang1, 0, null, 9, 9 +73, WFYBU, WFYBU, CIVFEMALE, STAT_SENSIBLE_GIRL, busywoman, d, null, 0, 5 +74, WMYBU, WMYBU, CIVMALE, STAT_GEEK_GUY, man, c, null, 0, 1 +75, WMOBU, WMOBU, CIVMALE, STAT_PSYCHO, man, d, null, 8, 3 +76, WFYPR, WFYPR, PROSTITUTE, STAT_PROSTITUTE, sexywoman, 0, null, 9, 9 +77, WFOTR, WFOTR, CIVFEMALE, STAT_BEACH_GIRL, shuffle, 0, null, 9, 9 +78, WMOTR, WMOTR, CIVMALE, STAT_OLD_GUY, man, 0, null, 9, 9 +79, WMYPI, WMYPI, CRIMINAL, STAT_CRIMINAL, gang1, 0, null, 9, 9 +80, WMOCA, WMOCA, CIVMALE, STAT_TAXIDRIVER, man, 40, null, 3, 8 +81, WFYJG, WFYJG, CIVFEMALE, STAT_SENSIBLE_GIRL, jogwoman, 0, null, 9, 9 +82, WMYJG, WMYJG, CIVMALE, STAT_GEEK_GUY, jogger, 0, null, 9, 9 +83, WFYSK, WFYSK, CIVFEMALE, STAT_SKATER, skate, 0, skate, 9, 9 +84, WMYSK, WMYSK, CIVMALE, STAT_SKATER, skate, 0, skate, 9, 9 +85, WFYSH, WFYSH, CIVFEMALE, STAT_BEACH_GIRL, shopping, 0, null, 9, 9 +86, WFOSH, WFOSH, CIVFEMALE, STAT_BEACH_GIRL, shopping, 0, null, 9, 9 +87, JFOTO, JFOTO, CIVFEMALE, STAT_TOURIST, woman, 0, null, 9, 9 +88, JMOTO, JMOTO, CIVMALE, STAT_TOURIST, man, 20f, null, 2, 6 +89, PGang7A, PGang7A, GANG7, STAT_GANG7, gang1, 0, null, 1, 9 +90, PGang7B, PGang7B, GANG7, STAT_GANG7, gang2, 0, null, 1, 9 +91, Gang1A, Gang1A, GANG1, STAT_GANG1, gang1, 0, null, 7, 7 +92, Gang1B, Gang1B, GANG1, STAT_GANG1, gang2, 0, null, 7, 7 +93, Gang2A, Gang2A, GANG2, STAT_GANG2, gang1, 0, null, 2, 2 +94, Gang2B, Gang2B, GANG2, STAT_GANG2, gang2, 0, null, 2, 2 +95, Gang3A, Gang3A, GANG3, STAT_GANG3, gang1, 0, null, 0, 5 +96, Gang3B, Gang3B, GANG3, STAT_GANG3, gang2, 0, null, 0, 5 +97, Gang4A, Gang4A, GANG4, STAT_GANG4, gang1, 0, null, 9, 9 +98, Gang4B, Gang4B, GANG4, STAT_GANG4, gang2, 0, null, 9, 9 +99, Gang5A, Gang5A, GANG5, STAT_GANG5, gang1, 0, null, 1, 8 +100, Gang5B, Gang5B, GANG5, STAT_GANG5, gang2, 0, null, 1, 8 +101, Gang6A, Gang6A, GANG6, STAT_GANG6, gang1, 0, null, 1, 1 +102, Gang6B, Gang6B, GANG6, STAT_GANG6, gang2, 0, null, 1, 1 +103, Gang7A, Gang7A, GANG7, STAT_GANG7, gang1, 0, null, 1, 9 +104, Gang7B, Gang7B, GANG7, STAT_GANG7, gang2, 0, null, 1, 9 +105, Gang8A, Gang8A, CIVMALE, STAT_SUIT_GUY, man, 0, null, 8, 3 +106, Gang8B, Gang8B, CIVMALE, STAT_SUIT_GUY, man, 0, null, 3, 8 +107, Gang9A, Gang9A, GANG9, STAT_GANG9, gang1, 0, null, 0, 8 +108, Gang9B, Gang9B, GANG9, STAT_GANG9, gang2, 0, null, 9, 9 +109, DiaGgA, DiaGgA, CIVMALE, STAT_STD_MISSION, gang1, 0, null, 9, 9 +110, DiaGgB, DiaGgB, CIVMALE, STAT_STD_MISSION, gang2, 0, null, 9, 9 +111, GonGgA, GonGgA, CIVMALE, STAT_STD_MISSION, gang1, 0, null, 9, 9 +112, GonGgB, GonGgB, CIVMALE, STAT_STD_MISSION, gang2, 0, null, 9, 9 +113, MenGgA, MenGgA, CIVMALE, STAT_STD_MISSION, gang1, 0, null, 9, 9 +114, MenGgB, MenGgB, CIVMALE, STAT_STD_MISSION, gang2, 0, null, 9, 9 +115, DEA1, DEA1, COP, STAT_COP, man, 0, null, 9, 9 +116, DEA2, DEA2, COP, STAT_COP, man, 0, null, 9, 9 +117, vice1, vice1, COP, STAT_COP, man, 0, null, 9, 9 +118, vice2, vice2, COP, STAT_COP, man, 0, null, 9, 9 +119, BCop, BCop, COP, STAT_COP, man, 0, null, 9, 9 +120, Alberto, Alberto, CIVMALE, STAT_STD_MISSION, oldman, 0, null, 9, 9 +121, Arman, Arman, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +122, Barry, Barry, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +123, Burger, Burger, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +124, Bry, Bry, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +125, BryB, BryB, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +126, BryE, BryE, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +127, Cokhed, Cokhed, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +128, Diaz, Diaz, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +129, Diego, Diego, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +130, FlmCrw, FlmCrw, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +131, Gtr1, Gtr1, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +132, Gonz, Gonz, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +133, Hitman, Hitman, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +134, Gtr2, Gtr2, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +135, Jerry, Jerry, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +136, LanSm, LanSm, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +137, lanst, lanst, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +138, Lou, Lou, CIVFEMALE, STAT_STD_MISSION, sexywoman, 0, null, 9, 9 +139, PhCol2, PhCol2, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +140, LouB, LouB, CIVFEMALE, STAT_STD_MISSION, sexywoman, 0, null, 9, 9 +141, LouM, LouM, CIVFEMALE, STAT_STD_MISSION, sexywoman, 0, null, 9, 9 +142, Marty, Marty, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +143, ShpKpr3, ShpKpr3, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +144, GayBiA, GayBiA, GANG6, STAT_GANG6, gang1, 0, null, 1, 1 +145, GayBiB, GayBiB, GANG6, STAT_GANG6, gang2, 0, null, 1, 1 +146, PhCol, PhCol, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +147, Phil, Phil, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +148, Reni, Reni, CIVMALE, STAT_STD_MISSION, sexywoman, 0, null, 9, 9 +149, RenOp, RenOp, CIVMALE, STAT_STD_MISSION, sexywoman, 0, null, 9, 9 +150, Robber, Robber, CIVMALE, STAT_STD_MISSION, gang1, 0, null, 9, 9 +151, Sarge, Sarge, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +152, ShopKpr, ShopKpr, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +153, umber, umber, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +154, ZomA, ZomA, CIVMALE, STAT_STD_MISSION, man, 0, null, 9, 9 +155, plr2, plr2, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +156, Plr3, Plr3, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +157, Plr4, Plr4, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +158, Plr5, Plr5, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +159, Plr6, Plr6, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +160, Plr7, Plr7, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +161, Plr8, Plr8, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +162, Plr9, Plr9, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +163, Plr10, Plr10, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +164, Plr11, Plr11, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +165, Plr12, Plr12, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +166, Plr13, Plr13, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +167, plr14, plr14, PLAYER1, STAT_PLAYER, player, 0, null, 9, 9 +end +cars +170, 6atv, 6atv, car, HANDLING, 6WEELAT, null, ignore, 1, 7, 1f10, 325, 0.7, 0.7, 0.15 +171, admiral, admiral, car, HANDLING, ADMIRAL, null, richfamily, 20, 7, 1f10, 324, 0.7, 0.7, 0.15 +172, cheetah, cheetah, car, HANDLING, CHEETAH, null, ignore, 10, 7, 0, 323, 0.7, 0.7, 0.05 +173, autogyro, autogyro, heli, HANDLING, AUTOGYR, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.15 +174, baggage, baggage, car, HANDLING, BAGGAGE, null, ignore, 20, 7, 1f10, 325, 0.6, 0.6, 0.15 +175, banshee, banshee, car, HANDLING, BANSHEE, null, executive, 10, 7, 0, 323, 0.7, 0.7, 0.05 +176, peren, peren, car, HANDLING, PEREN, null, poorfamily, 10, 7, 0, 326, 0.66, 0.66, 0.05 +177, blistac, blistac, car, HANDLING, BLISTA, null, normal, 10, 7, 0, 329, 0.7, 0.7, 0.2 +178, bmxboy, bmxboy, bmx, HANDLING, BMX, bmx, ignore, 0, 4, 0, -1, 0.6, 0.6, 0.1 +179, bmxgirl, bmxgirl, bmx, HANDLING, BMXG, bmx, ignore, 0, 4, 0, -1, 0.6, 0.9, 0.2 +180, bobcat, bobcat, car, HANDLING, BOBCAT, null, worker, 10, 7, 0, 327, 0.7, 0.7, 0.15 +181, bulldoze, bulldoze, car, HANDLING, BULLDOZ, null, ignore, 10, 7, 0, 328, 1.4, 1.4, 0.3 +182, burrito, burrito, car, HANDLING, BURRITO, van, normal, 20, 7, 1ff0, 324, 0.7, 0.7, 0.15 +183, cabbie, cabbie, car, HANDLING, CABBIE, null, taxi, 10, 7, 1f10, 326, 0.7, 0.7, 0.1 +184, caddy, caddy, car, HANDLING, CADDY, null, ignore, 20, 7, 1f10, 324, 0.5, 0.5, 0.15 +185, speeder2, speeder2, boat, HANDLING, SPEEDER2, null, ignore, 1, 7, 0, 0, 0, 0, 0.2 +186, pimp, pimp, car, HANDLING, PIMP, null, ignore, 10, 7, 0, 323, 0.8, 0.85, 0.15 +187, deluxo, deluxo, car, HANDLING, DELUXO, null, ignore, 0, 7, 0, 324, 0.7, 0.7, 0.1 +188, huey, huey, heli, HANDLING, HUEY, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.15 +189, hueyhosp, hueyhosp, heli, HANDLING, AIRAMB, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.15 +190, electrag, electrag, bike, HANDLING, ELECTRA, bikeh, motorbike, 10, 7, 0, 23, 0.65, 0.65, 0.1 +191, electrap, electrap, bike, HANDLING, ELECTRP, bikev, ignore, 10, 7, 0, 23, 0.65, 0.65, 0.1 +192, esperant, esperant, car, HANDLING, ESPERAN, null, normal, 10, 7, 0, 326, 0.64, 0.64, 0.18 +193, fbicar, fbicar, car, HANDLING, FBICAR, null, ignore, 0, 7, 0, 324, 0.7, 0.7, 0.1 +194, firetruk, firetruk, car, HANDLING, FIRETRK, null, ignore, 0, 7, 0, 328, 1.0, 1.0, 0.18 +195, glendale, glendale, car, HANDLING, GLENDAL, null, normal, 0, 7, 0, 324, 0.7, 0.7, 0.1 +196, greenwoo, greenwoo, car, HANDLING, GREENWO, null, poorfamily, 0, 7, 0, 324, 0.7, 0.7, 0.1 +197, hermes, hermes, car, HANDLING, HERMES, null, richfamily, 10, 7, 0, 324, 0.7, 0.7, 0.15 +198, hovercr, hovercr, plane, HANDLING, HOVER, null, ignore, 0, 7, 0, 329, 0, 0, 0.3 +199, idaho, idaho, car, HANDLING, IDAHO, null, poorfamily, 10, 7, 0, 326, 0.64, 0.64, 0.15 +200, landstal, landstal, car, HANDLING, LANDSTK, null, normal, 10, 7, 0, 327, 0.82, 0.95, 0.1 +201, manana, manana, car, HANDLING, MANANA, null, poorfamily, 10, 7, 0, 329, 0.7, 0.7, 0.15 +202, mop50, mop50, bike, HANDLING, MOPED, bikev, moped, 0, 7, 0, 16, 0.46, 0.46, 0.1 +203, oceanic, oceanic, car, HANDLING, OCEANIC, null, normal, 10, 7, 0, 324, 0.7, 0.7, 0.15 +204, vicechee, vicechee, car, HANDLING, VICECHE, null, ignore, 10, 7, 0, 323, 0.7, 0.7, 0.05 +205, sanchez, sanchez, bike, HANDLING, SANCHEZ, biked, motorbike, 10, 7, 0, 23, 0.66, 0.66, 0.1 +206, stallion, stallion, car, HANDLING, STALION, null, poorfamily, 10, 7, 2ff0, 326, 0.7, 0.7, 0.1 +207, policem, policem, car, HANDLING, POLICEM, null, ignore, 10, 7, 0, 326, 0.7, 0.7, 0.1 +208, bobo, bobo, car, HANDLING, BOBO, null, ignore, 20, 7, 1f10, 324, 0.3, 0.3, 0.15 +209, patriot, patriot, car, HANDLING, PATRIOT, null, ignore, 10, 7, 0, 329, 0.9, 0.9, 0.05 +210, pony, pony, car, HANDLING, PONY, van, worker, 10, 7, 0, 325, 0.7, 0.7, 0.2 +211, sentinel, sentinel, car, HANDLING, SENTINL, null, richfamily, 10, 7, 0, 327, 0.7, 0.7, 0.18 +212, pcj600, pcj600, bike, HANDLING, PCJ600, bikes, motorbike, 10, 7, 0, 16, 0.67, 0.67, 0.1 +213, maverick, maverick, heli, HANDLING, MAVERIC, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.15 +214, reefer, reefer, boat, HANDLING, REEFER, null, workerboat, 1, 7, 0, 0, 0, 0, 0.2 +215, speeder, speeder, boat, HANDLING, SPEEDER, null, bigfunboat, 1, 7, 0, 0, 0, 0, 0.2 +216, linerun, linerun, car, HANDLING, LINERUN, null, big, 10, 7, 0, 328, 1.1, 1.1, 0.3 +217, walton, walton, car, HANDLING, WALTON, null, worker, 10, 7, 0, 327, 0.7, 0.7, 0.15 +218, barracks, barracks, car, HANDLING, BARRCKS, van, ignore, 0, 7, 0, 328, 1.2, 1.2, 0.3 +219, predator, predator, boat, HANDLING, PREDATR, null, ignore, 1, 7, 0, 0, 0, 0, 0.2 +220, flatbed, flatbed, car, HANDLING, FLATBED, van, big, 10, 7, 0, 328, 1.2, 1.2, 0.15 +221, ammotruk, ammotruk, car, HANDLING, BARRACK, van, ignore, 0, 7, 0, 328, 1.2, 1.2, 0.2 +222, biplane, biplane, plane, HANDLING, BIPLANE, null, ignore, 0, 0, 0, 325, 0, 0, 0 +223, moonbeam, moonbeam, car, HANDLING, MOONBM, null, normal, 10, 7, 0, 325, 0.7, 0.7, 0.16 +224, rumpo, rumpo, car, HANDLING, RUMPO, van, poorfamily, 10, 6, 0, 325, 0.7, 0.7, 0.1 +225, yola, yola, boat, HANDLING, YOLA, null, workerboat, 1, 7, 0, 0, 0, 0, 0.2 +226, taxi, taxi, car, HANDLING, TAXI, null, taxi, 20, 7, 1f10, 324, 0.7, 0.7, 0.15 +227, ambulan, ambulan, car, HANDLING, AMBULAN, van, ignore, 0, 7, 0, 325, 0.9, 0.9, 0.2 +228, stretch, stretch, car, HANDLING, STRETCH, null, ignore, 10, 7, 0, 324, 0.75, 0.75, 0.2 +229, faggio, faggio, bike, HANDLING, FAGGIO, bikev, moped, 10, 7, 0, 16, 0.46, 0.46, 0.1 +230, quad, quad, quad, HANDLING, QUADBIK, quad, ignore, 0, 0, 0, 0, 0, 0, 0.3 +231, angel, angel, bike, HANDLING, ANGEL, bikeh, ignore, 0, 7, 0, 23, 0.65, 0.65, 0.1 +232, freeway, freeway, bike, HANDLING, FREEWAY, bikeh, motorbike, 10, 7, 0, 23, 0.65, 0.65, 0.1 +233, jetski, jetski, jetski, HANDLING, JETSKI, bikes, smallfunboat, 1, 7, 0, 0, 0, 0, 0.2 +234, enforce, enforce, car, HANDLING, ENFORCE, van, ignore, 0, 7, 0, 325, 0.9, 0.9, 0.2 +235, boxvil, boxvil, car, HANDLING, BOXVIL, van, worker, 0, 7, 0, 325, 0.9, 0.9, 0.2 +236, benson, benson, car, HANDLING, BENSON, van, worker, 0, 7, 0, 325, 0.9, 0.9, 0.2 +237, coach, coach, car, HANDLING, COACH, coach, ignore, 10, 7, 0, 328, 1.0, 1.0, 0.25 +238, mule, mule, car, HANDLING, MULE, null, worker, 10, 7, 0, 328, 0.76, 0.76, 0.2 +239, voodoo, voodoo, car, HANDLING, VOODOO, null, normal, 10, 7, 0, 324, 0.7, 0.7, 0.15 +240, securica, securica, car, HANDLING, SECURI, van, big, 6, 7, 0, 328, 0.85, 0.85, 0.15 +241, trash, trash, car, HANDLING, TRASHM, null, big, 10, 7, 0, 328, 1.06, 1.06, 0.1 +242, topfun, topfun, car, HANDLING, TOPFUN, van, ignore, 10, 6, 0, 325, 0.7, 0.7, 0.1 +243, yankee, yankee, car, HANDLING, YANKEE, null, worker, 10, 7, 0, 328, 0.84, 0.84, 0.15 +244, mrwhoo, mrwhoo, car, HANDLING, WHOOPEE, null, ignore, 0, 4, 0, 325, 0.7, 0.7, 0.1 +245, sandking, sandking, car, HANDLING, SANDKIN, null, ignore, 10, 7, 0, 329, 0.92, 0.92, 0.05 +246, rhino, rhino, car, HANDLING, RHINO, null, ignore, 0, 7, 0, 328, 1.5, 1.5, 0.3 +247, dinghy, dinghy, boat, HANDLING, DINGHY, null, smallfunboat, 1, 7, 0, 0, 0, 0, 0.2 +248, marquis, marquis, boat, HANDLING, MARQUIS, null, leisureboat, 1, 7, 0, 0, 0, 0, 0.2 +249, rio, rio, boat, HANDLING, RIO, null, leisureboat, 1, 7, 0, 0, 0, 0, 0.2 +250, tropic, tropic, boat, HANDLING, TROPIC, null, leisureboat, 1, 7, 0, 0, 0, 0, 0.2 +251, forklift, forklift, car, HANDLING, FORKLIF, null, ignore, 20, 7, 0, 324, 0.5, 0.5, 0.15 +252, streetfi, streetfi, bike, HANDLING, STREETF, bikes, motorbike, 10, 7, 0, 23, 0.66, 0.66, 0.1 +253, virgo, virgo, car, HANDLING, VIRGO, null, poorfamily, 10, 7, 0, 326, 0.66, 0.66, 0.05 +254, stinger, stinger, car, HANDLING, STINGER, null, executive, 10, 6, 2ff0, 323, 0.7, 0.7, 0.25 +255, bfinject, bfinject, car, HANDLING, BFINJC, null, executive, 0, 4, 0, 327, 0.9, 0.9, 0.2 +256, pheonix, pheonix, car, HANDLING, PHEONIX, null, richfamily, 10, 6, 2ff0, 323, 0.7, 0.7, 0.25 +257, squalo, squalo, boat, HANDLING, SQUALO, null, bigfunboat, 1, 7, 0, 0, 0, 0, 0.2 +258, jetmax, jetmax, boat, HANDLING, JETMAX, null, bigfunboat, 1, 7, 0, 0, 0, 0, 0.2 +259, mesa, mesa, car, HANDLING, MESA, null, normal, 10, 7, 0, 328, 0.9, 0.9, 0.05 +260, vcnmav, vcnmav, heli, HANDLING, VCNMAV, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.15 +261, polmav, polmav, heli, HANDLING, POLMAV, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.3 +262, sparrow, sparrow, heli, HANDLING, SPARROW, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.15 +263, sesparow, sesparow, heli, HANDLING, SEASPAR, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.15 +264, scarab, scarab, boat, HANDLING, SCARAB, null, bigfunboat, 1, 7, 0, 0, 0, 0, 0.2 +265, chollo, chollo, car, HANDLING, CHOLO, null, ignore, 0, 7, 0, 324, 0.7, 0.7, 0.1 +266, comet, comet, car, HANDLING, COMET, null, executive, 10, 7, 0, 323, 0.7, 0.7, 0.05 +267, cuban, cuban, car, HANDLING, CUBAN, null, ignore, 0, 7, 0, 324, 0.7, 0.7, 0.1 +268, fbiran, fbiran, car, HANDLING, FBIRAN, null, ignore, 10, 7, 0, 324, 1.1, 1.1, 0.05 +269, gangbur, gangbur, car, HANDLING, GANGBUR, null, ignore, 20, 7, 1ff0, 324, 1.09, 1.09, 0.15 +270, infernus, infernus, car, HANDLING, INFERNS, null, executive, 10, 6, 0, 323, 0.7, 0.7, 0.15 +271, regina, regina, car, HANDLING, REGINA, null, normal, 10, 7, 0, 326, 0.66, 0.66, 0.05 +272, sabre, sabre, car, HANDLING, SABRE, null, normal, 0, 7, 0, 329, 0.7, 0.7, 0.1 +273, sabretb, sabretb, car, HANDLING, SABRETB, null, ignore, 0, 7, 0, 324, 0.7, 0.7, 0.1 +274, sentxs, sentxs, car, HANDLING, SENTXS, null, executive, 10, 7, 0, 327, 0.7, 0.7, 0.18 +275, hunter, hunter, heli, HANDLING, HUNTER, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.3 +276, washin, washin, car, HANDLING, WASHIN, null, richfamily, 20, 7, 1f10, 324, 0.7, 0.7, 0.15 +277, coastg, coastg, boat, HANDLING, COASTG, null, ignore, 1, 7, 0, 0, 0, 0, 0.2 +278, skimmer, skimmer, boat, HANDLING, SKIMMER, null, ignore, 0, 7, 0, 0, 0, 0, 0 +279, chopper, chopper, heli, HANDLING, CHOPPER, Heli, ignore, 0, 7, 0, 0, 0, 0, 0.15 +280, airtrain, airtrain, plane, HANDLING, AEROPL, null, ignore, 0, 7, 0, 319, 0, 0, 0.1 +end +objs +310, hash_00000000, generic, 1, 80, 0 +311, hash_00000000, generic, 1, 80, 0 +312, hash_00000000, generic, 1, 80, 0 +313, hash_00000000, generic, 1, 80, 0 +314, hash_00000000, generic, 1, 80, 0 +315, hash_00000000, generic, 1, 80, 0 +316, hash_00000000, generic, 1, 80, 0 +317, hash_00000000, generic, 1, 80, 0 +318, hash_00000000, , 1, 80, 0 +319, airtrain_vlo, generic, 1, 2000, 0 +320, wheel_rim, generic, 2, 20, 70, 0 +321, wheel_offroad, generic, 2, 20, 70, 0 +322, wheel_truck, generic, 2, 20, 70, 0 +323, wheel_sport, generic, 2, 20, 70, 0 +324, wheel_saloon, generic, 2, 20, 70, 0 +325, wheel_lightvan, generic, 2, 20, 70, 0 +326, wheel_classic, generic, 2, 20, 70, 0 +327, wheel_alloy, generic, 2, 20, 70, 0 +328, wheel_lighttruck, generic, 2, 20, 70, 0 +329, wheel_smallcar, generic, 2, 20, 70, 0 +end +weap +330, cellphone, cellphone, null, 1, 50, 0 +331, brassknuckle, brassknuckle, null, 1, 50, 0 +332, butt_knife, butt_knife, knife, 1, 50, 0 +333, golfclub, golfclub, baseball, 1, 50, 0 +334, nitestick, nitestick, baseball, 1, 50, 0 +335, knifecur, knifecur, knife, 1, 50, 0 +336, bat, bat, baseball, 1, 50, 0 +337, handaxe, handaxe, baseball, 1, 50, 0 +338, gaff, gaff, knife, 1, 50, 0 +339, machete, machete, knife, 1, 50, 0 +340, katana, katana, knife, 1, 50, 0 +341, chnsaw, chnsaw, chainsaw, 1, 50, 0 +342, grenade, grenade, grenade, 1, 100, 0 +343, teargas, teargas, grenade, 1, 50, 0 +344, molotov, molotov, grenade, 1, 100, 0 +345, missile, missile, null, 1, 100, 0 +346, beretta, beretta, colt45, 1, 30, 0 +347, python, python, python, 1, 50, 0 +348, ak47, ak47, rifle, 1, 70, 0 +349, chromegun, chromegun, shotgun, 1, 70, 0 +350, shotgspa, shotgspa, buddy, 1, 70, 0 +351, buddyshot, buddyshot, buddy, 1, 70, 0 +352, M16, M16, rifle, 1, 30, 0 +353, skorpion, skorpion, uzi, 1, 30, 0 +354, uzi, uzi, uzi, 1, 30, 0 +355, ingramsl, ingramsl, uzi, 1, 50, 0 +356, mplng, mplng, uzi, 1, 50, 0 +357, sniper, sniper, sniper, 1, 50, 0 +358, laser, laser, sniper, 1, 50, 0 +359, rocketla, rocketla, rocketla, 1, 50, 0 +360, flame, flame, flame, 1, 50, 0 +361, m249, m249, m60, 1, 50, 0 +362, minigun, minigun, flame, 1, 50, 0 +363, bomb, bomb, grenade, 1, 50, 0 +364, camera, camera, null, 1, 50, 0 +365, fingers, fingers, null, 1, 50, 0 +366, minigun2, minigun2, null, 1, 50, 0 +367, binoculars, binoculars, null, 1, 50, 0 +368, landmine, landmine, grenade, 1, 100, 0 +369, seamine, seamine, grenade, 1, 100, 0 +end +hier +380, CS_uzi, CS_uzi +381, cutobj02, generic +382, cutobj03, generic +383, cutobj04, generic +384, cutobj05, generic +385, cutobj06, generic +386, cutobj07, generic +387, cutobj08, generic +388, cutobj09, generic +389, cutobj10, generic +end diff --git a/vcs/extensions.txt b/vcs_psp/extensions.txt similarity index 100% rename from vcs/extensions.txt rename to vcs_psp/extensions.txt diff --git a/vcs_psp/keywords.txt b/vcs_psp/keywords.txt new file mode 100644 index 0000000..34c2015 --- /dev/null +++ b/vcs_psp/keywords.txt @@ -0,0 +1,9 @@ +0001=wait +0002=jump +0022=jf +0078=if +0026=return +0004=SET_VAR_INT +0004=SET_LVAR_INT +0005=SET_VAR_FLOAT +0005=SET_LVAR_FLOAT \ No newline at end of file diff --git a/vcs/psp/missions.txt b/vcs_psp/missions.txt similarity index 100% rename from vcs/psp/missions.txt rename to vcs_psp/missions.txt diff --git a/vcs_psp/mode.xml b/vcs_psp/mode.xml new file mode 100644 index 0000000..17971c8 --- /dev/null +++ b/vcs_psp/mode.xml @@ -0,0 +1,18 @@ + + + @sb:\data\vcs_psp\ + @sb:\data\vcs_psp\VCSSCM.ini + @sb:\data\vcs_psp\classes.db + @sb:\data\vcs_psp\constants.txt + @sb:\data\vcs_psp\templates.txt + @sb:\data\vcs_psp\templates.custom.txt + @sb:\data\vcs_psp\default.ide + @sb:\data\vcs_psp\keywords.txt + + @sb:\data\vcs_psp\CustomVariables.ini + @sb:\data\vcs_psp\CustomLabels.ini + @sb:\data\vcs_psp\CustomArrays.ini + @sb:\data\vcs_psp\english.gxt + @sb:\data\vcs_psp\missions.txt + @sb:\data\vcs_psp\opcodes.txt + \ No newline at end of file diff --git a/vcs/psp/opcodes.txt b/vcs_psp/opcodes.txt similarity index 100% rename from vcs/psp/opcodes.txt rename to vcs_psp/opcodes.txt diff --git a/vcs/templates.txt b/vcs_psp/templates.txt similarity index 100% rename from vcs/templates.txt rename to vcs_psp/templates.txt From b6c7bace5e1747b93efa3849125d5c3cda234d6b Mon Sep 17 00:00:00 2001 From: Seemann Date: Wed, 12 Jul 2023 12:34:18 -0400 Subject: [PATCH 3/6] 3.9.0-alpha.0 --- lcs/lcs.json | 32423 --------------------------------------- lcs/mode.xml | 1 - lcs/models.ide | 267 - sa/CustomLabels_v2.ini | 37 - sa_ps2/SASCM.INI | 2020 --- vcs_psp/keywords.txt | 6 +- 6 files changed, 1 insertion(+), 34753 deletions(-) delete mode 100644 lcs/lcs.json delete mode 100644 lcs/models.ide delete mode 100644 sa/CustomLabels_v2.ini delete mode 100644 sa_ps2/SASCM.INI diff --git a/lcs/lcs.json b/lcs/lcs.json deleted file mode 100644 index 7c4e23b..0000000 --- a/lcs/lcs.json +++ /dev/null @@ -1,32423 +0,0 @@ -{ - "meta": { - "last_update": 1684614094926, - "version": "0.12", - "url": "https://library.sannybuilder.com/#/lcs" - }, - "extensions": [ - { - "name": "default", - "commands": [ - { - "id": "0000", - "name": "NOP", - "num_params": 0, - "short_desc": "Has no effect and is commonly used to pad CLEO scripts with extra space to avoid the jump-at-zero-offset bug", - "attrs": { - "is_keyword": true - } - }, - { - "input": [ - { - "name": "time", - "type": "int" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "0001", - "name": "WAIT", - "num_params": 1, - "short_desc": "Pauses the script execution for specified amount of time in milliseconds" - }, - { - "input": [ - { - "name": "", - "type": "label" - } - ], - "attrs": { - "is_branch": true, - "is_keyword": true, - "is_segment": true - }, - "id": "0002", - "name": "GOTO", - "num_params": 1, - "short_desc": "Transfers the script execution to the label unconditionally" - }, - { - "input": [ - { - "name": "intensity", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0003", - "member": "Shake", - "name": "SHAKE_CAM", - "num_params": 1, - "short_desc": "Shakes the camera with the given intensity" - }, - { - "id": "0004", - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "name": "SET_VAR_INT", - "num_params": 2, - "short_desc": "Sets the integer value of the VAR" - }, - { - "id": "0005", - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "name": "SET_VAR_FLOAT", - "num_params": 2, - "short_desc": "Sets the float value of the VAR" - }, - { - "id": "0006", - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "name": "SET_LVAR_INT", - "num_params": 2, - "short_desc": "Sets the integer value of the LVAR" - }, - { - "id": "0007", - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "name": "SET_LVAR_FLOAT", - "num_params": 2, - "short_desc": "Sets the float value of the LVAR" - }, - { - "id": "0008", - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "name": "ADD_VAL_TO_INT_VAR", - "num_params": 2, - "short_desc": "Adds the value to the value of the int VAR" - }, - { - "id": "0009", - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "name": "ADD_VAL_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Adds the value to the value of the float VAR" - }, - { - "id": "000A", - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "name": "ADD_VAL_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Adds the value to the value of the integer LVAR" - }, - { - "id": "000B", - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "name": "ADD_VAL_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Adds the value to the value of the float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "id": "000C", - "name": "SUB_VAL_FROM_INT_VAR", - "num_params": 2, - "short_desc": "Subtracts the value from the value of the integer VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "000D", - "name": "SUB_VAL_FROM_FLOAT_VAR", - "num_params": 2, - "short_desc": "Subtracts the value from the value of the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "id": "000E", - "name": "SUB_VAL_FROM_INT_LVAR", - "num_params": 2, - "short_desc": "Subtracts the value from the value of the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "000F", - "name": "SUB_VAL_FROM_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Subtracts the value from the value of the float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "id": "0010", - "name": "MULT_INT_VAR_BY_VAL", - "num_params": 2, - "short_desc": "Multiplies the int VAR by the value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "0011", - "name": "MULT_FLOAT_VAR_BY_VAL", - "num_params": 2, - "short_desc": "Multiplies the float VAR by the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "id": "0012", - "name": "MULT_INT_LVAR_BY_VAL", - "num_params": 2, - "short_desc": "Multiplies the int LVAR by the value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "0013", - "name": "MULT_FLOAT_LVAR_BY_VAL", - "num_params": 2, - "short_desc": "Multiplies the float LVAR by the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "id": "0014", - "name": "DIV_INT_VAR_BY_VAL", - "num_params": 2, - "short_desc": "Divides the int VAR by the value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "0015", - "name": "DIV_FLOAT_VAR_BY_VAL", - "num_params": 2, - "short_desc": "Divides the float VAR by the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "id": "0016", - "name": "DIV_INT_LVAR_BY_VAL", - "num_params": 2, - "short_desc": "Divides the int LVAR by the value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "0017", - "name": "DIV_FLOAT_LVAR_BY_VAL", - "num_params": 2, - "short_desc": "Divides the float LVAR by the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0018", - "name": "IS_INT_VAR_GREATER_THAN_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is greater than the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0019", - "name": "IS_INT_LVAR_GREATER_THAN_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the int LVAR value is greater than the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "literal" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "001A", - "name": "IS_NUMBER_GREATER_THAN_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the value is greater than the int VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "literal" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "001B", - "name": "IS_NUMBER_GREATER_THAN_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the value is greater than the int LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "001C", - "name": "IS_INT_VAR_GREATER_THAN_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is greater than the other int VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "001D", - "name": "IS_INT_LVAR_GREATER_THAN_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the int LVAR value is greater than the other int LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "001E", - "name": "IS_INT_VAR_GREATER_THAN_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is greater than the int LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "001F", - "name": "IS_INT_LVAR_GREATER_THAN_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the int LVAR value is greater than the int VAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0020", - "name": "IS_FLOAT_VAR_GREATER_THAN_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is greater than the float value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0021", - "name": "IS_FLOAT_LVAR_GREATER_THAN_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the float LVAR value is greater than the float value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "literal" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0022", - "name": "IS_NUMBER_GREATER_THAN_FLOAT_VAR", - "num_params": 2, - "short_desc": "Returns true if the float value is greater than the float VAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "literal" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0023", - "name": "IS_NUMBER_GREATER_THAN_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the float value is greater than the float LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0024", - "name": "IS_FLOAT_VAR_GREATER_THAN_FLOAT_VAR", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is greater than the other float VAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0025", - "name": "IS_FLOAT_LVAR_GREATER_THAN_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the float LVAR value is greater than the other float LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0026", - "name": "IS_FLOAT_VAR_GREATER_THAN_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is greater than the float LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0027", - "name": "IS_FLOAT_LVAR_GREATER_THAN_FLOAT_VAR", - "num_params": 2, - "short_desc": "Returns true if the float LVAR value is greater than the float VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0028", - "name": "IS_INT_VAR_GREATER_OR_EQUAL_TO_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is greater or equal to the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0029", - "name": "IS_INT_LVAR_GREATER_OR_EQUAL_TO_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the int LVAR value is greater or equal to the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "literal" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "002A", - "name": "IS_NUMBER_GREATER_OR_EQUAL_TO_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the value is greater or equal to the int VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "literal" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "002B", - "name": "IS_NUMBER_GREATER_OR_EQUAL_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the value is greater or equal to the int LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "002C", - "name": "IS_INT_VAR_GREATER_OR_EQUAL_TO_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is greater or equal to the other int VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "002D", - "name": "IS_INT_LVAR_GREATER_OR_EQUAL_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the int LVAR value is greater or equal to the other int LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "002E", - "name": "IS_INT_VAR_GREATER_OR_EQUAL_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is greater or equal to the int LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "002F", - "name": "IS_INT_LVAR_GREATER_OR_EQUAL_TO_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the int LVAR value is greater or equal to the int VAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0030", - "name": "IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is greater or equal to the value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0031", - "name": "IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the float LVAR value is greater or equal to the value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "literal" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0032", - "name": "IS_NUMBER_GREATER_OR_EQUAL_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Returns true if the value is greater or equal to the float VAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "literal" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0033", - "name": "IS_NUMBER_GREATER_OR_EQUAL_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the value is greater or equal to the float LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0034", - "name": "IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is greater or equal to the other float VAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0035", - "name": "IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the float LVAR value is greater or equal to the other float LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0036", - "name": "IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is greater or equal to the LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0037", - "name": "IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Returns true if the float LVAR value is greater or equal to the float VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0038", - "name": "IS_INT_VAR_EQUAL_TO_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is equal to the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0039", - "name": "IS_INT_LVAR_EQUAL_TO_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the int LVAR value is equal to the value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "003A", - "name": "IS_INT_VAR_EQUAL_TO_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is equal to the other int VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "003B", - "name": "IS_INT_LVAR_EQUAL_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the int LVAR value is equal to the other int LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "003C", - "name": "IS_INT_VAR_EQUAL_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the int VAR value is equal to the int LVAR value" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "003D", - "name": "IS_INT_VAR_NOT_EQUAL_TO_NUMBER", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "003E", - "name": "IS_INT_LVAR_NOT_EQUAL_TO_NUMBER", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "003F", - "name": "IS_INT_VAR_NOT_EQUAL_TO_INT_VAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0040", - "name": "IS_INT_LVAR_NOT_EQUAL_TO_INT_LVAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0041", - "name": "IS_INT_VAR_NOT_EQUAL_TO_INT_LVAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0042", - "name": "IS_FLOAT_VAR_EQUAL_TO_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is equal to the value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0043", - "name": "IS_FLOAT_LVAR_EQUAL_TO_NUMBER", - "num_params": 2, - "short_desc": "Returns true if the float LVAR value is equal to the value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0044", - "name": "IS_FLOAT_VAR_EQUAL_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is equal to the other float VAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0045", - "name": "IS_FLOAT_LVAR_EQUAL_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the float LVAR value is equal to the other float LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "0046", - "name": "IS_FLOAT_VAR_EQUAL_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the float VAR value is equal to the float LVAR value" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0047", - "name": "IS_FLOAT_VAR_NOT_EQUAL_TO_NUMBER", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0048", - "name": "IS_FLOAT_LVAR_NOT_EQUAL_TO_NUMBER", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0049", - "name": "IS_FLOAT_VAR_NOT_EQUAL_TO_FLOAT_VAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "004A", - "name": "IS_FLOAT_LVAR_NOT_EQUAL_TO_FLOAT_LVAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "004B", - "name": "IS_FLOAT_VAR_NOT_EQUAL_TO_FLOAT_LVAR", - "num_params": 0 - }, - { - "attrs": { - "is_branch": true, - "is_keyword": true - }, - "id": "004C", - "input": [ - { - "name": "", - "type": "label" - } - ], - "name": "GOTO_IF_TRUE", - "num_params": 1, - "short_desc": "Transfers the script execution to the label if the condition result is true" - }, - { - "attrs": { - "is_branch": true, - "is_keyword": true - }, - "id": "004D", - "input": [ - { - "name": "", - "type": "label" - } - ], - "name": "GOTO_IF_FALSE", - "num_params": 1, - "short_desc": "Transfers the script execution to the label if the condition result is false" - }, - { - "attrs": { - "is_keyword": true, - "is_branch": true - }, - "id": "004E", - "name": "TERMINATE_THIS_SCRIPT", - "num_params": 0, - "short_desc": "Ends the current script, preventing further execution" - }, - { - "input": [ - { - "name": "", - "type": "label" - }, - { - "name": "", - "type": "arguments" - } - ], - "id": "004F", - "name": "START_NEW_SCRIPT", - "num_params": 2, - "short_desc": "Starts a new script at the specified label", - "attrs": { - "is_keyword": true - } - }, - { - "input": [ - { - "name": "", - "type": "label" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "0050", - "name": "GOSUB", - "num_params": 1, - "short_desc": "Transfers the script execution to the label as a subroutine" - }, - { - "attrs": { - "is_keyword": true - }, - "id": "0051", - "name": "RETURN", - "num_params": 0, - "short_desc": "Returns from the current subroutine (0050)" - }, - { - "input": [ - { - "name": "f1", - "type": "float" - }, - { - "name": "f2", - "type": "float" - }, - { - "name": "f3", - "type": "float" - }, - { - "name": "f4", - "type": "float" - }, - { - "name": "f5", - "type": "float" - }, - { - "name": "f6", - "type": "float" - } - ], - "id": "0052", - "name": "LINE", - "num_params": 6, - "short_desc": "Displays 6 floating-point values on the screen", - "class": "Debugger", - "member": "Line", - "attrs": { - "is_nop": true, - "is_static": true - } - }, - { - "input": [ - { - "name": "modelId", - "type": "model_char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Player", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Player", - "id": "0053", - "member": "Create", - "name": "CREATE_PLAYER", - "num_params": 5, - "short_desc": "Creates a player at the specified location" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "class": "Player", - "id": "0054", - "member": "GetCoordinates", - "name": "GET_PLAYER_COORDINATES", - "num_params": 4, - "short_desc": "Returns the player's coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Player", - "id": "0055", - "member": "SetCoordinates", - "name": "SET_PLAYER_COORDINATES", - "num_params": 4, - "short_desc": "Puts the player at the specified location" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0056", - "member": "IsInArea2D", - "name": "IS_PLAYER_IN_AREA_2D", - "num_params": 6, - "short_desc": "Returns true if the player is within the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0057", - "member": "IsInArea3D", - "name": "IS_PLAYER_IN_AREA_3D", - "num_params": 8, - "short_desc": "Returns true if the player is within the specified 3D area" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "0058", - "name": "ADD_INT_VAR_TO_INT_VAR", - "num_params": 2, - "short_desc": "Adds the int VAR value to the other int VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0059", - "name": "ADD_FLOAT_VAR_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Adds the float VAR value to the other float VAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "005A", - "name": "ADD_INT_LVAR_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Adds the int LVAR value to the other int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "005B", - "name": "ADD_FLOAT_LVAR_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Adds the float LVAR value to the other float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "005C", - "name": "ADD_INT_VAR_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Adds the int VAR value to the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "005D", - "name": "ADD_FLOAT_VAR_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Adds the float VAR value to the float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "005E", - "name": "ADD_INT_LVAR_TO_INT_VAR", - "num_params": 2, - "short_desc": "Adds the float LVAR value to the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "005F", - "name": "ADD_FLOAT_LVAR_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Adds the float LVAR value to the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "0060", - "name": "SUB_INT_VAR_FROM_INT_VAR", - "num_params": 2, - "short_desc": "Subtracts the int VAR value from the int VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0061", - "name": "SUB_FLOAT_VAR_FROM_FLOAT_VAR", - "num_params": 2, - "short_desc": "Subtracts the float VAR value from the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "0062", - "name": "SUB_INT_LVAR_FROM_INT_LVAR", - "num_params": 2, - "short_desc": "Subtracts the int LVAR value from the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0063", - "name": "SUB_FLOAT_LVAR_FROM_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Subtracts the float LVAR value from the float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "0064", - "name": "SUB_INT_VAR_FROM_INT_LVAR", - "num_params": 2, - "short_desc": "Subtracts the int VAR value from the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0065", - "name": "SUB_FLOAT_VAR_FROM_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Subtracts the float VAR value from the float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "0066", - "name": "SUB_INT_LVAR_FROM_INT_VAR", - "num_params": 2, - "short_desc": "Subtracts the float LVAR value from the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0067", - "name": "SUB_FLOAT_LVAR_FROM_FLOAT_VAR", - "num_params": 2, - "short_desc": "Subtracts the float LVAR value from the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "0068", - "name": "MULT_INT_VAR_BY_INT_VAR", - "num_params": 2, - "short_desc": "Multiplies the int VAR value by the int VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0069", - "name": "MULT_FLOAT_VAR_BY_FLOAT_VAR", - "num_params": 2, - "short_desc": "Multiplies the float VAR value by the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "006A", - "name": "MULT_INT_LVAR_BY_INT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the int LVAR value by the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "006B", - "name": "MULT_FLOAT_LVAR_BY_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the int LVAR value by the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "006C", - "name": "MULT_INT_VAR_BY_INT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the int VAR value by the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "006D", - "name": "MULT_FLOAT_VAR_BY_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the float VAR value by the float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "006E", - "name": "MULT_INT_LVAR_BY_INT_VAR", - "num_params": 2, - "short_desc": "Multiplies the int LVAR value by the int VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "006F", - "name": "MULT_FLOAT_LVAR_BY_FLOAT_VAR", - "num_params": 2, - "short_desc": "Multiplies the float LVAR value by the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "0070", - "name": "DIV_INT_VAR_BY_INT_VAR", - "num_params": 2, - "short_desc": "Divides the int VAR value by the int VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0071", - "name": "DIV_FLOAT_VAR_BY_FLOAT_VAR", - "num_params": 2, - "short_desc": "Divides the float VAR value by the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "0072", - "name": "DIV_INT_LVAR_BY_INT_LVAR", - "num_params": 2, - "short_desc": "Divides the int LVAR by the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0073", - "name": "DIV_FLOAT_LVAR_BY_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Divides the float LVAR by the float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "0074", - "name": "DIV_INT_VAR_BY_INT_LVAR", - "num_params": 2, - "short_desc": "Divides the int VAR by the int LVAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0075", - "name": "DIV_FLOAT_VAR_BY_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Divides the float VAR by the float LVAR" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "0076", - "name": "DIV_INT_LVAR_BY_INT_VAR", - "num_params": 2, - "short_desc": "Divides the int LVAR by the int VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0077", - "name": "DIV_FLOAT_LVAR_BY_FLOAT_VAR", - "num_params": 2, - "short_desc": "Divides the float LVAR by the float VAR" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "0078", - "name": "ADD_TIMED_VAL_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the specified value and adds the result to the specified variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "0079", - "name": "ADD_TIMED_VAL_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the specified value and adds the result to the specified variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "007A", - "name": "ADD_TIMED_FLOAT_VAR_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the float value of the specified global variable and adds the result to the specified global variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "007B", - "name": "ADD_TIMED_FLOAT_LVAR_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the float value of the specified local variable and adds the result to the specified local variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "007C", - "name": "ADD_TIMED_FLOAT_LVAR_TO_FLOAT_VAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the float value of the specified local variable and adds the result to the specified global variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "007D", - "name": "ADD_TIMED_FLOAT_VAR_TO_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the float value of the specified global variable and adds the result to the specified local variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "007E", - "name": "SUB_TIMED_VAL_FROM_FLOAT_VAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the specified float value and subtracts the result from the specified global variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "literal" - } - ], - "id": "007F", - "name": "SUB_TIMED_VAL_FROM_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the specified value and subtracts the result from the specified local variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0080", - "name": "SUB_TIMED_FLOAT_VAR_FROM_FLOAT_VAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the value of the specified global variable and subtracts the result from the specified global variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0081", - "name": "SUB_TIMED_FLOAT_LVAR_FROM_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the value of the specified local variable and adds the result to the specified local variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0082", - "name": "SUB_TIMED_FLOAT_LVAR_FROM_FLOAT_VAR", - "num_params": 2, - "short_desc": "Multiplies the frame delta time (the time in milliseconds that has passed since the last frame) by float stored in the specified local variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0083", - "name": "SUB_TIMED_FLOAT_VAR_FROM_FLOAT_LVAR", - "num_params": 2, - "short_desc": "Multiplies the delta time since the last frame by the value of the specified global variable and subtracts the result from the specified local variable" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "0084", - "name": "SET_VAR_INT_TO_VAR_INT", - "num_params": 2, - "short_desc": "Sets the int VAR to the VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "0085", - "name": "SET_LVAR_INT_TO_LVAR_INT", - "num_params": 2, - "short_desc": "Sets the int LVAR to the LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0086", - "name": "SET_VAR_FLOAT_TO_VAR_FLOAT", - "num_params": 2, - "short_desc": "Sets the float VAR to the VAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0087", - "name": "SET_LVAR_FLOAT_TO_LVAR_FLOAT", - "num_params": 2, - "short_desc": "Sets the float LVAR to the LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0088", - "name": "SET_VAR_FLOAT_TO_LVAR_FLOAT", - "num_params": 2, - "short_desc": "Sets the float VAR to the LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "0089", - "name": "SET_LVAR_FLOAT_TO_VAR_FLOAT", - "num_params": 2, - "short_desc": "Sets the float LVAR to the VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "008A", - "name": "SET_VAR_INT_TO_LVAR_INT", - "num_params": 2, - "short_desc": "Sets the int VAR to the LVAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "008B", - "name": "SET_LVAR_INT_TO_VAR_INT", - "num_params": 2, - "short_desc": "Sets the int LVAR to the VAR value" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "008C", - "name": "CSET_VAR_INT_TO_VAR_FLOAT", - "num_params": 2, - "short_desc": "Converts the float in the second global variable to an integer (via flooring) and stores the integer into the first global variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "008D", - "name": "CSET_VAR_FLOAT_TO_VAR_INT", - "num_params": 2, - "short_desc": "Converts the integer value of the second global variable to a float and stores the result in the first global variable" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_global" - } - ], - "id": "008E", - "name": "CSET_LVAR_INT_TO_VAR_FLOAT", - "num_params": 2, - "short_desc": "Converts the float value of the global variable to an integer (via flooring) and stores the result into a local variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "id": "008F", - "name": "CSET_LVAR_FLOAT_TO_VAR_INT", - "num_params": 2, - "short_desc": "Converts the integer value of the global variable to a float and then stores the result in the local variable" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0090", - "name": "CSET_VAR_INT_TO_LVAR_FLOAT", - "num_params": 2, - "short_desc": "Converts the float value of the local variable to an integer (via flooring) and stores the result to the global variable" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "0091", - "name": "CSET_VAR_FLOAT_TO_LVAR_INT", - "num_params": 2, - "short_desc": "Converts the integer value of the local variable to a float and stores the result in the global variable" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "float", - "source": "var_local" - } - ], - "id": "0092", - "name": "CSET_LVAR_INT_TO_LVAR_FLOAT", - "num_params": 2, - "short_desc": "Converts a float value to an integer (via truncating)" - }, - { - "input": [ - { - "name": "", - "type": "float", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "id": "0093", - "name": "CSET_LVAR_FLOAT_TO_LVAR_INT", - "num_params": 2, - "short_desc": "Converts the integer value of the second local variable to a float and stores the result to the first local variable" - }, - { - "output": [ - { - "name": "number", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_overload": true, - "is_static": true - }, - "class": "Math", - "id": "0094", - "member": "Abs", - "name": "ABS_VAR_INT", - "num_params": 1, - "short_desc": "Returns the absolute value of the global integer variable" - }, - { - "output": [ - { - "name": "number", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_overload": true, - "is_static": true - }, - "class": "Math", - "id": "0095", - "member": "Abs", - "name": "ABS_LVAR_INT", - "num_params": 1, - "short_desc": "Returns the absolute value of the local integer variable" - }, - { - "output": [ - { - "name": "number", - "type": "float", - "source": "var_global" - } - ], - "attrs": { - "is_overload": true, - "is_static": true - }, - "class": "Math", - "id": "0096", - "member": "Abs", - "name": "ABS_VAR_FLOAT", - "num_params": 1, - "short_desc": "Returns the absolute value of the global float variable" - }, - { - "output": [ - { - "name": "number", - "type": "float", - "source": "var_local" - } - ], - "attrs": { - "is_overload": true, - "is_static": true - }, - "class": "Math", - "id": "0097", - "member": "Abs", - "name": "ABS_LVAR_FLOAT", - "num_params": 1, - "short_desc": "Returns the absolute value of the local float variable" - }, - { - "output": [ - { - "name": "", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_overload": true, - "is_static": true - }, - "class": "Math", - "id": "0098", - "member": "Random", - "name": "GENERATE_RANDOM_FLOAT", - "num_params": 1, - "short_desc": "Returns a random float between 0.0 to 1.0" - }, - { - "output": [ - { - "name": "", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_overload": true, - "is_static": true - }, - "class": "Math", - "id": "0099", - "member": "Random", - "name": "GENERATE_RANDOM_INT", - "num_params": 1, - "short_desc": "Returns a random integer between 0 and 32767 (SA) or 65535 (III & VC)" - }, - { - "input": [ - { - "name": "pedType", - "type": "PedType" - }, - { - "name": "modelId", - "type": "model_char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Char", - "id": "009A", - "member": "Create", - "name": "CREATE_CHAR", - "num_params": 6, - "short_desc": "Creates a character at the specified location, with the specified model and pedtype" - }, - { - "attrs": { - "is_destructor": true - }, - "class": "Char", - "id": "009B", - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "member": "Delete", - "name": "DELETE_CHAR", - "num_params": 1, - "short_desc": "Removes the character from the game and mission cleanup list, freeing game memory" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "direction", - "type": "WanderDirection" - } - ], - "class": "Char", - "id": "009C", - "member": "WanderDir", - "name": "CHAR_WANDER_DIR", - "num_params": 2, - "short_desc": "Sets the character's wander direction" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "009D", - "name": "CHAR_WANDER_RANGE", - "num_params": 0 - }, - { - "id": "009E", - "name": "COMMAND_009E", - "num_params": 6, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "009F", - "member": "SetIdle", - "name": "CHAR_SET_IDLE", - "num_params": 1, - "short_desc": "Sets the character's objective to stay idle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "class": "Char", - "id": "00A0", - "member": "GetCoordinates", - "name": "GET_CHAR_COORDINATES", - "num_params": 4, - "short_desc": "Returns the character's coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Char", - "id": "00A1", - "member": "SetCoordinates", - "name": "SET_CHAR_COORDINATES", - "num_params": 4, - "short_desc": "Puts the character at the specified location" - }, - { - "input": [ - { - "name": "handle", - "type": "any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Char", - "id": "00A2", - "member": "IsStillAlive", - "name": "IS_CHAR_STILL_ALIVE", - "num_params": 1, - "short_desc": "Returns true if the handle is a valid character handle who is still alive (opposite of IS_CHAR_DEAD)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00A3", - "member": "IsInArea2D", - "name": "IS_CHAR_IN_AREA_2D", - "num_params": 6, - "short_desc": "Returns true if the character is within the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00A4", - "member": "IsInArea3D", - "name": "IS_CHAR_IN_AREA_3D", - "num_params": 8, - "short_desc": "Returns true if the character is within the specified 3D area" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_vehicle" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Car", - "id": "00A5", - "member": "Create", - "name": "CREATE_CAR", - "num_params": 5, - "short_desc": "Creates a vehicle at the specified location, with the specified model" - }, - { - "attrs": { - "is_destructor": true - }, - "class": "Car", - "id": "00A6", - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "member": "Delete", - "name": "DELETE_CAR", - "num_params": 1, - "short_desc": "Removes the vehicle from the game" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Car", - "id": "00A7", - "member": "GotoCoordinates", - "name": "CAR_GOTO_COORDINATES", - "num_params": 4, - "short_desc": "Makes the AI drive to the specified location by any means" - }, - { - "class": "Car", - "id": "00A8", - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "member": "WanderRandomly", - "name": "CAR_WANDER_RANDOMLY", - "num_params": 1, - "short_desc": "Clears any current tasks the vehicle has and makes it drive around aimlessly" - }, - { - "class": "Car", - "id": "00A9", - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "member": "SetIdle", - "name": "CAR_SET_IDLE", - "num_params": 1, - "short_desc": "Sets the car's mission to idle (MISSION_NONE), stopping any driving activity" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "class": "Car", - "id": "00AA", - "member": "GetCoordinates", - "name": "GET_CAR_COORDINATES", - "num_params": 4, - "short_desc": "Returns the vehicle's coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Car", - "id": "00AB", - "member": "SetCoordinates", - "name": "SET_CAR_COORDINATES", - "num_params": 4, - "short_desc": "Puts the vehicle at the specified location" - }, - { - "input": [ - { - "name": "handle", - "type": "any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Car", - "id": "00AC", - "member": "IsStillAlive", - "name": "IS_CAR_STILL_ALIVE", - "num_params": 1, - "short_desc": "Returns true if the handle is a valid vehicle handle that is still alive (opposite of IS_CAR_DEAD)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "maxSpeed", - "type": "float" - } - ], - "class": "Car", - "id": "00AD", - "member": "SetCruiseSpeed", - "name": "SET_CAR_CRUISE_SPEED", - "num_params": 2, - "short_desc": "Sets the vehicle's max speed" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "drivingStyle", - "type": "DrivingMode" - } - ], - "class": "Car", - "id": "00AE", - "member": "SetDrivingStyle", - "name": "SET_CAR_DRIVING_STYLE", - "num_params": 2, - "short_desc": "Sets the behavior of the vehicle's AI driver" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "carMission", - "type": "CarMission" - } - ], - "class": "Car", - "id": "00AF", - "member": "SetMission", - "name": "SET_CAR_MISSION", - "num_params": 2, - "short_desc": "Sets the mission of the vehicle's AI driver" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "00B0", - "member": "IsInArea2D", - "name": "IS_CAR_IN_AREA_2D", - "num_params": 6, - "short_desc": "Returns true if the vehicle is located within the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "00B1", - "member": "IsInArea3D", - "name": "IS_CAR_IN_AREA_3D", - "num_params": 8, - "short_desc": "Returns true if the vehicle is located within the specified 3D area" - }, - { - "attrs": { - "is_nop": true - }, - "id": "00B2", - "name": "SPECIAL_0", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "00B3", - "name": "SPECIAL_1", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "00B4", - "name": "SPECIAL_2", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "00B5", - "name": "SPECIAL_3", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "00B6", - "name": "SPECIAL_4", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "00B7", - "name": "SPECIAL_5", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "00B8", - "name": "SPECIAL_6", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "00B9", - "name": "SPECIAL_7", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "time", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "00BA", - "member": "PrintBig", - "name": "PRINT_BIG", - "num_params": 3, - "short_desc": "Displays a styled message for the specified time" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "time", - "type": "int" - }, - { - "name": "flag", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "00BB", - "member": "Print", - "name": "PRINT", - "num_params": 3, - "short_desc": "Displays a message positioned on the bottom of the screen for the specified time" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "time", - "type": "int" - }, - { - "name": "flag", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "00BC", - "member": "PrintNow", - "name": "PRINT_NOW", - "num_params": 3, - "short_desc": "Displays a message positioned on the bottom of the screen for the specified time" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "time", - "type": "int" - }, - { - "name": "flag", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "00BD", - "member": "PrintSoon", - "name": "PRINT_SOON", - "num_params": 3, - "short_desc": "Displays a message for the specified time when there are no other messages being printed" - }, - { - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "00BE", - "member": "ClearPrints", - "name": "CLEAR_PRINTS", - "num_params": 0, - "short_desc": "Clears all priority text and some styles of big texts" - }, - { - "output": [ - { - "name": "hours", - "type": "int", - "source": "var_any" - }, - { - "name": "minutes", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Clock", - "id": "00BF", - "member": "GetTimeOfDay", - "name": "GET_TIME_OF_DAY", - "num_params": 2, - "short_desc": "Returns the number of hours and minutes passed since midnight" - }, - { - "input": [ - { - "name": "hours", - "type": "int" - }, - { - "name": "minutes", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Clock", - "id": "00C0", - "member": "SetTimeOfDay", - "name": "SET_TIME_OF_DAY", - "num_params": 2, - "short_desc": "Sets the current in-game time" - }, - { - "input": [ - { - "name": "hours", - "type": "int" - }, - { - "name": "minutes", - "type": "int" - } - ], - "output": [ - { - "name": "minutesLeft", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Clock", - "id": "00C1", - "member": "GetMinutesToTimeOfDay", - "name": "GET_MINUTES_TO_TIME_OF_DAY", - "num_params": 3, - "short_desc": "Returns the number of minutes left until the clock matches the time specified" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "radius", - "type": "float" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Camera", - "id": "00C2", - "member": "IsPointOnScreen", - "name": "IS_POINT_ON_SCREEN", - "num_params": 4, - "short_desc": "Returns true if any part of the radius of the specified point is visible on screen" - }, - { - "attrs": { - "is_static": true - }, - "class": "Debugger", - "id": "00C3", - "member": "On", - "name": "DEBUG_ON", - "num_params": 0, - "short_desc": "Enables the debug mode" - }, - { - "attrs": { - "is_static": true - }, - "class": "Debugger", - "id": "00C4", - "member": "Off", - "name": "DEBUG_OFF", - "num_params": 0, - "short_desc": "Disables the debug mode" - }, - { - "attrs": { - "is_condition": true, - "is_keyword": true - }, - "id": "00C5", - "name": "RETURN_TRUE", - "num_params": 0, - "short_desc": "Returns a value of true" - }, - { - "attrs": { - "is_condition": true, - "is_keyword": true - }, - "id": "00C6", - "name": "RETURN_FALSE", - "num_params": 0, - "short_desc": "Returns a value of false" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00C7", - "name": "VAR_INT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00C8", - "name": "VAR_FLOAT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00C9", - "name": "LVAR_INT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00CA", - "name": "LVAR_FLOAT", - "num_params": 0 - }, - { - "id": "00CB", - "name": "{", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "00CC", - "name": "}", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00CD", - "name": "REPEAT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00CE", - "name": "ENDREPEAT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00CF", - "name": "IF_INTERNAL", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00D0", - "name": "IFNOT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00D1", - "name": "ELSE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00D2", - "name": "ENDIF", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00D3", - "name": "WHILE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00D4", - "name": "WHILENOT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "00D5", - "name": "ENDWHILE", - "num_params": 0 - }, - { - "id": "00D6", - "name": "COMMAND_00D6", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "00D7", - "name": "COMMAND_00D7", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "00D8", - "name": "COMMAND_00D8", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "00D9", - "name": "COMMAND_00D9", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "00DA", - "name": "COMMAND_00DA", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "", - "type": "int" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "00DB", - "name": "IF", - "num_params": 1, - "short_desc": "Begins a conditional statement with the specified number of conditions" - }, - { - "input": [ - { - "name": "", - "type": "label" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "00DC", - "name": "LAUNCH_MISSION", - "num_params": 1, - "short_desc": "Launches a submission script" - }, - { - "id": "00DD", - "name": "MISSION_HAS_FINISHED", - "num_params": 0, - "short_desc": "Resets multiple settings that are usually set during missions and in some scripts", - "class": "Mission", - "member": "Finish", - "attrs": { - "is_static": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "class": "Char", - "id": "00DE", - "member": "StoreCarIsIn", - "name": "STORE_CAR_CHAR_IS_IN", - "num_params": 2, - "short_desc": "Returns the current vehicle of the character and adds it to the mission cleanup list" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "class": "Player", - "id": "00DF", - "member": "StoreCarIsIn", - "name": "STORE_CAR_PLAYER_IS_IN", - "num_params": 2, - "short_desc": "Returns the current vehicle of the player and adds it to the mission cleanup list" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00E0", - "member": "IsInCar", - "name": "IS_CHAR_IN_CAR", - "num_params": 2, - "short_desc": "Returns true if the character is in the specified vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00E1", - "member": "IsInCar", - "name": "IS_PLAYER_IN_CAR", - "num_params": 2, - "short_desc": "Returns true if the player is in the specified vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00E2", - "member": "IsInModel", - "name": "IS_CHAR_IN_MODEL", - "num_params": 2, - "short_desc": "Returns true if the character is driving a vehicle with the specified model" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00E3", - "member": "IsInModel", - "name": "IS_PLAYER_IN_MODEL", - "num_params": 2, - "short_desc": "Returns true if the player is driving a vehicle with the specified model" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00E4", - "member": "IsInAnyCar", - "name": "IS_CHAR_IN_ANY_CAR", - "num_params": 1, - "short_desc": "Returns true if the character has a vehicle, even if they are not actually sat inside it (opening and closing the door)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00E5", - "member": "IsInAnyCar", - "name": "IS_PLAYER_IN_ANY_CAR", - "num_params": 1, - "short_desc": "Returns true if the player has a vehicle, even if they are not actually sat inside it (opening and closing the door)" - }, - { - "input": [ - { - "name": "pad", - "type": "PadId" - }, - { - "name": "buttonId", - "type": "Button" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Pad", - "id": "00E6", - "member": "IsButtonPressed", - "name": "IS_BUTTON_PRESSED", - "num_params": 2, - "short_desc": "Returns true if the pad's button has been pressed" - }, - { - "id": "00E7", - "name": "GET_PAD_STATE", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00E8", - "member": "LocateAnyMeans2D", - "name": "LOCATE_PLAYER_ANY_MEANS_2D", - "num_params": 6, - "short_desc": "Returns true if the player is within the 2D radius of the coordinates point" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00E9", - "member": "LocateOnFoot2D", - "name": "LOCATE_PLAYER_ON_FOOT_2D", - "num_params": 6, - "short_desc": "Returns true if the player is within the 2D radius of the coordinates point on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00EA", - "member": "LocateInCar2D", - "name": "LOCATE_PLAYER_IN_CAR_2D", - "num_params": 6, - "short_desc": "Returns true if the player is within the 2D radius of the coordinates point in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00EB", - "member": "LocateStoppedAnyMeans2D", - "name": "LOCATE_STOPPED_PLAYER_ANY_MEANS_2D", - "num_params": 6, - "short_desc": "Returns true if the player stopped within the 2D radius of the coordinates point" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00EC", - "member": "LocateStoppedOnFoot2D", - "name": "LOCATE_STOPPED_PLAYER_ON_FOOT_2D", - "num_params": 6, - "short_desc": "Returns true if the player stopped within the 2D radius of the coordinates point on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00ED", - "member": "LocateStoppedInCar2D", - "name": "LOCATE_STOPPED_PLAYER_IN_CAR_2D", - "num_params": 6, - "short_desc": "Returns true if the player stopped within the 2D radius of the coordinates point in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00EE", - "member": "LocateAnyMeansChar2D", - "name": "LOCATE_PLAYER_ANY_MEANS_CHAR_2D", - "num_params": 5, - "short_desc": "Returns true if the player is within the 2D radius of the specified character" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00EF", - "member": "LocateOnFootChar2D", - "name": "LOCATE_PLAYER_ON_FOOT_CHAR_2D", - "num_params": 5, - "short_desc": "Returns true if the player is within the 2D radius of the specified character on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00F0", - "member": "LocateInCarChar2D", - "name": "LOCATE_PLAYER_IN_CAR_CHAR_2D", - "num_params": 5, - "short_desc": "Returns true if the player is within the 2D radius of the specified character in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "Sphere" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F1", - "member": "LocateAnyMeans2D", - "name": "LOCATE_CHAR_ANY_MEANS_2D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 2D radius of the coordinates point" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F2", - "member": "LocateOnFoot2D", - "name": "LOCATE_CHAR_ON_FOOT_2D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 2D radius of the coordinates point on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F3", - "member": "LocateInCar2D", - "name": "LOCATE_CHAR_IN_CAR_2D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 2D radius of the coordinates point in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F4", - "member": "LocateStoppedAnyMeans2D", - "name": "LOCATE_STOPPED_CHAR_ANY_MEANS_2D", - "num_params": 6, - "short_desc": "Returns true if the character stopped within the 2D radius of the coordinates point" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F5", - "member": "LocateStoppedOnFoot2D", - "name": "LOCATE_STOPPED_CHAR_ON_FOOT_2D", - "num_params": 6, - "short_desc": "Returns true if the character stopped within the 2D radius of the coordinates point on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F6", - "member": "LocateStoppedInCar2D", - "name": "LOCATE_STOPPED_CHAR_IN_CAR_2D", - "num_params": 6, - "short_desc": "Returns true if the character stopped within the 2D radius of the coordinates point in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F7", - "member": "LocateAnyMeansChar2D", - "name": "LOCATE_CHAR_ANY_MEANS_CHAR_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the other character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F8", - "member": "LocateOnFootChar2D", - "name": "LOCATE_CHAR_ON_FOOT_CHAR_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the other character on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "otherChar", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "00F9", - "member": "LocateInCarChar2D", - "name": "LOCATE_CHAR_IN_CAR_CHAR_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the other character in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00FA", - "member": "LocateAnyMeans3D", - "name": "LOCATE_PLAYER_ANY_MEANS_3D", - "num_params": 8, - "short_desc": "Returns true if the player is within the specified 3D area" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00FB", - "member": "LocateOnFoot3D", - "name": "LOCATE_PLAYER_ON_FOOT_3D", - "num_params": 8, - "short_desc": "Returns true if the player is within the specified 3D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00FC", - "member": "LocateInCar3D", - "name": "LOCATE_PLAYER_IN_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the player is within the specified 3D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00FD", - "member": "LocateStoppedAnyMeans3D", - "name": "LOCATE_STOPPED_PLAYER_ANY_MEANS_3D", - "num_params": 8, - "short_desc": "Returns true if the player stopped within the specified 3D area" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00FE", - "member": "LocateStoppedOnFoot3D", - "name": "LOCATE_STOPPED_PLAYER_ON_FOOT_3D", - "num_params": 8, - "short_desc": "Returns true if the player stopped within the specified 3D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "00FF", - "member": "LocateStoppedInCar3D", - "name": "LOCATE_STOPPED_PLAYER_IN_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the player stopped within the specified 3D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0100", - "member": "LocateAnyMeansChar3D", - "name": "LOCATE_PLAYER_ANY_MEANS_CHAR_3D", - "num_params": 6, - "short_desc": "Returns true if the player is nearby the specified character" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0101", - "member": "LocateOnFootChar3D", - "name": "LOCATE_PLAYER_ON_FOOT_CHAR_3D", - "num_params": 6, - "short_desc": "Returns true if the player is nearby the specified character on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0102", - "member": "LocateInCarChar3D", - "name": "LOCATE_PLAYER_IN_CAR_CHAR_3D", - "num_params": 6, - "short_desc": "Returns true if the player is nearby the specified character in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0103", - "member": "LocateAnyMeans3D", - "name": "LOCATE_CHAR_ANY_MEANS_3D", - "num_params": 8, - "short_desc": "Returns true if the character is within the 3D radius of the coordinates point" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0104", - "member": "LocateOnFoot3D", - "name": "LOCATE_CHAR_ON_FOOT_3D", - "num_params": 8, - "short_desc": "Returns true if the character is within the 3D radius of the coordinates point on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0105", - "member": "LocateInCar3D", - "name": "LOCATE_CHAR_IN_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the character is within the 3D radius of the coordinates point in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0106", - "member": "LocateStoppedAnyMeans3D", - "name": "LOCATE_STOPPED_CHAR_ANY_MEANS_3D", - "num_params": 8, - "short_desc": "Returns true if the character stopped within the 3D radius of the coordinates point" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0107", - "member": "LocateStoppedOnFoot3D", - "name": "LOCATE_STOPPED_CHAR_ON_FOOT_3D", - "num_params": 8, - "short_desc": "Returns true if the character stopped within the 3D radius of the coordinates point on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0108", - "member": "LocateStoppedInCar3D", - "name": "LOCATE_STOPPED_CHAR_IN_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the character stopped within the 3D radius of the coordinates point in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0109", - "member": "LocateAnyMeansChar3D", - "name": "LOCATE_CHAR_ANY_MEANS_CHAR_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the other character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "010A", - "member": "LocateOnFootChar3D", - "name": "LOCATE_CHAR_ON_FOOT_CHAR_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the other character on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "010B", - "member": "LocateInCarChar3D", - "name": "LOCATE_CHAR_IN_CAR_CHAR_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the other character in a vehicle" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_object" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Object", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Object", - "id": "010C", - "member": "Create", - "name": "CREATE_OBJECT", - "num_params": 5, - "short_desc": "Creates an object at the specified location, with the specified model" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "attrs": { - "is_destructor": true - }, - "class": "Object", - "id": "010D", - "member": "Delete", - "name": "DELETE_OBJECT", - "num_params": 1, - "short_desc": "Destroys the object, freeing game memory" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "money", - "type": "int" - } - ], - "class": "Player", - "id": "010E", - "member": "AddScore", - "name": "ADD_SCORE", - "num_params": 2, - "short_desc": "Adds to the player's money" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "money", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "010F", - "member": "IsScoreGreater", - "name": "IS_SCORE_GREATER", - "num_params": 2, - "short_desc": "Returns true if the player's money is over the specified value" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "money", - "type": "int", - "source": "var_any" - } - ], - "class": "Player", - "id": "0110", - "member": "StoreScore", - "name": "STORE_SCORE", - "num_params": 2, - "short_desc": "Returns the player's money" - }, - { - "id": "0111", - "name": "COMMAND_0111", - "num_params": 6, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "wantedLevel", - "type": "int" - } - ], - "class": "Player", - "id": "0112", - "member": "AlterWantedLevel", - "name": "ALTER_WANTED_LEVEL", - "num_params": 2, - "short_desc": "Sets the player's wanted level" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "wantedLevel", - "type": "int" - } - ], - "class": "Player", - "id": "0113", - "member": "AlterWantedLevelNoDrop", - "name": "ALTER_WANTED_LEVEL_NO_DROP", - "num_params": 2, - "short_desc": "Sets the player's wanted level if the specified level is higher than the current one" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "wantedLevel", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0114", - "member": "IsWantedLevelGreater", - "name": "IS_WANTED_LEVEL_GREATER", - "num_params": 2, - "short_desc": "Returns true if the player's wanted level is over the specified value" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "class": "Player", - "id": "0115", - "member": "ClearWantedLevel", - "name": "CLEAR_WANTED_LEVEL", - "num_params": 1, - "short_desc": "Clears the player's wanted level" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "class": "", - "id": "0116", - "member": "", - "name": "SET_DEATHARREST_STATE", - "num_params": 1, - "short_desc": "Sets the detection of death and arrest during a mission (0112)", - "attrs": { - "is_keyword": true - } - }, - { - "attrs": { - "is_condition": true, - "is_keyword": true - }, - "class": "", - "id": "0117", - "member": "", - "name": "HAS_DEATHARREST_BEEN_EXECUTED", - "num_params": 0, - "short_desc": "Returns true if the player is dead (wasted) or arrested (busted)" - }, - { - "id": "0118", - "name": "ADD_AMMO_TO_PLAYER", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "weaponType", - "type": "WeaponType" - }, - { - "name": "ammo", - "type": "int" - } - ], - "class": "Char", - "id": "0119", - "member": "AddAmmo", - "name": "ADD_AMMO_TO_CHAR", - "num_params": 3, - "short_desc": "Adds the specified amount of ammo to the character's weapon, if the character has the weapon" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "011A", - "name": "ADD_AMMO_TO_CAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "id": "011B", - "name": "IS_PLAYER_STILL_ALIVE", - "num_params": 1, - "attrs": { - "is_condition": true - }, - "class": "Player", - "member": "IsStillAlive", - "short_desc": "Checks if the player is not dead (not wasted), opposite of IS_PLAYER_DEAD" - }, - { - "input": [ - { - "name": "handle", - "type": "any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Player", - "id": "011C", - "member": "IsDead", - "name": "IS_PLAYER_DEAD", - "num_params": 1, - "short_desc": "Returns true if the handle is an invalid player handle or the player is dead (wasted)" - }, - { - "input": [ - { - "name": "handle", - "type": "any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Char", - "id": "011D", - "member": "IsDead", - "name": "IS_CHAR_DEAD", - "num_params": 1, - "short_desc": "Returns true if the handle is an invalid character handle or the character is dead (wasted)" - }, - { - "input": [ - { - "name": "handle", - "type": "any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Car", - "id": "011E", - "member": "IsDead", - "name": "IS_CAR_DEAD", - "num_params": 1, - "short_desc": "Returns true if the handle is an invalid vehicle handle or the vehicle has been destroyed (wrecked)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "pedThreat", - "type": "int" - } - ], - "class": "Char", - "id": "011F", - "member": "SetThreatSearch", - "name": "SET_CHAR_THREAT_SEARCH", - "num_params": 2, - "short_desc": "Sets the character's hostility to other ped types" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0120", - "name": "SET_CHAR_THREAT_REACTION", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0121", - "member": "SetObjNoObj", - "name": "SET_CHAR_OBJ_NO_OBJ", - "num_params": 1, - "short_desc": "Clears the character's current objective" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0122", - "name": "ORDER_DRIVER_OUT_OF_CAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0123", - "name": "ORDER_CHAR_TO_DRIVE_CAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0124", - "name": "ADD_PATROL_POINT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0125", - "name": "IS_PLAYER_IN_GANGZONE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "zone", - "type": "zone_key" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0126", - "member": "IsInZone", - "name": "IS_PLAYER_IN_ZONE", - "num_params": 2, - "short_desc": "Returns true if the player is in the specified map zone" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0127", - "member": "IsPressingHorn", - "name": "IS_PLAYER_PRESSING_HORN", - "num_params": 1, - "short_desc": "Returns true if the player is honking the horn in a car" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "player", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0128", - "member": "HasSpottedPlayer", - "name": "HAS_CHAR_SPOTTED_PLAYER", - "num_params": 2, - "short_desc": "Returns true if the character has seen the specified player" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0129", - "name": "ORDER_CHAR_TO_BACKDOOR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "012A", - "name": "ADD_CHAR_TO_GANG", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "012B", - "member": "IsObjectivePassed", - "name": "IS_CHAR_OBJECTIVE_PASSED", - "num_params": 1, - "short_desc": "Returns true if the character has completed their objective" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "012C", - "name": "SET_CHAR_DRIVE_AGGRESSION", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "012D", - "name": "SET_CHAR_MAX_DRIVESPEED", - "num_params": 0 - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "pedType", - "type": "PedType" - }, - { - "name": "modelId", - "type": "model_char" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Char", - "id": "012E", - "member": "CreateInsideCar", - "name": "CREATE_CHAR_INSIDE_CAR", - "num_params": 4, - "short_desc": "Creates a character in the driver's seat of the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Player", - "id": "012F", - "member": "WarpFromCarToCoord", - "name": "WARP_PLAYER_FROM_CAR_TO_COORD", - "num_params": 4, - "short_desc": "Puts the player at the specified location, removing them from any vehicle they're in" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0130", - "name": "MAKE_CHAR_DO_NOTHING", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0131", - "name": "SET_CHAR_INVINCIBLE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0132", - "name": "SET_PLAYER_INVINCIBLE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0133", - "name": "SET_CHAR_GRAPHIC_TYPE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0134", - "name": "SET_PLAYER_GRAPHIC_TYPE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0135", - "member": "HasBeenArrested", - "name": "HAS_PLAYER_BEEN_ARRESTED", - "num_params": 1, - "short_desc": "Returns true if the specified player is being arrested (busted)" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0136", - "name": "STOP_CHAR_DRIVING", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0137", - "name": "KILL_CHAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0138", - "name": "SET_FAVOURITE_CAR_MODEL_FOR_CHAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0139", - "name": "SET_CHAR_OCCUPATION", - "num_params": 0 - }, - { - "id": "013A", - "name": "CHANGE_CAR_LOCK", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "013B", - "name": "SHAKE_CAM_WITH_POINT", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "013C", - "member": "IsModel", - "name": "IS_CAR_MODEL", - "num_params": 2, - "short_desc": "Returns true if the vehicle has the specified model" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "013D", - "name": "IS_CAR_REMAP", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "013E", - "name": "HAS_CAR_JUST_SUNK", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "013F", - "name": "SET_CAR_NO_COLLIDE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0140", - "name": "IS_CAR_DEAD_IN_AREA_2D", - "num_params": 0 - }, - { - "id": "0141", - "name": "IS_CAR_DEAD_IN_AREA_3D", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0142", - "name": "IS_TRAILER_ATTACHED", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0143", - "name": "IS_CAR_ON_TRAILER", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0144", - "name": "HAS_CAR_GOT_WEAPON", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0145", - "name": "PARK", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0146", - "name": "HAS_PARK_FINISHED", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0147", - "name": "KILL_ALL_PASSENGERS", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0148", - "name": "SET_CAR_BULLETPROOF", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0149", - "name": "SET_CAR_FLAMEPROOF", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "014A", - "name": "SET_CAR_ROCKETPROOF", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "014B", - "name": "IS_CARBOMB_ACTIVE", - "num_params": 0 - }, - { - "id": "014C", - "name": "COMMAND_014C", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "014D", - "name": "PUT_CAR_ON_TRAILER", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "014E", - "member": "IsCrushed", - "name": "IS_CAR_CRUSHED", - "num_params": 1, - "short_desc": "Returns true if the specified vehicle has been crushed by the car crusher" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "014F", - "name": "CREATE_GANG_CAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "heading", - "type": "float" - }, - { - "name": "modelId", - "type": "model_vehicle" - }, - { - "name": "primaryColor", - "type": "int" - }, - { - "name": "secondaryColor", - "type": "int" - }, - { - "name": "forceSpawn", - "type": "bool" - }, - { - "name": "alarmChance", - "type": "int" - }, - { - "name": "doorLockChance", - "type": "int" - }, - { - "name": "minDelay", - "type": "int" - }, - { - "name": "maxDelay", - "type": "int" - } - ], - "output": [ - { - "name": "handle", - "type": "CarGenerator", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "CarGenerator", - "id": "0150", - "member": "Create", - "name": "CREATE_CAR_GENERATOR", - "num_params": 13, - "short_desc": "Initializes a parked car generator" - }, - { - "input": [ - { - "name": "self", - "type": "CarGenerator" - }, - { - "name": "amount", - "type": "int" - } - ], - "class": "CarGenerator", - "id": "0151", - "member": "Switch", - "name": "SWITCH_CAR_GENERATOR", - "num_params": 2, - "short_desc": "Specifies the number of times the car generator spawns a car (101 - infinite)" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0152", - "name": "ADD_PAGER_MESSAGE", - "num_params": 0 - }, - { - "id": "0153", - "name": "COMMAND_0153", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "timer", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "0154", - "member": "ClearTimer", - "name": "CLEAR_ONSCREEN_TIMER", - "num_params": 1, - "short_desc": "Removes the onscreen timer" - }, - { - "input": [ - { - "name": "counter", - "type": "int", - "source": "var_global" - }, - { - "name": "display", - "type": "CounterDisplay" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "0155", - "member": "DisplayCounter", - "name": "DISPLAY_ONSCREEN_COUNTER", - "num_params": 2, - "short_desc": "Displays an onscreen counter, either shown in numbers or as a bar" - }, - { - "input": [ - { - "name": "counter", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "0156", - "member": "ClearCounter", - "name": "CLEAR_ONSCREEN_COUNTER", - "num_params": 1, - "short_desc": "Removes the onscreen counter (0150 or 03C4)" - }, - { - "id": "0157", - "name": "COMMAND_0157", - "num_params": 13, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - }, - { - "name": "_p7", - "type": "any" - }, - { - "name": "_p8", - "type": "any" - }, - { - "name": "_p9", - "type": "any" - }, - { - "name": "_p10", - "type": "any" - }, - { - "name": "_p11", - "type": "any" - }, - { - "name": "_p12", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0158", - "name": "IS_CHAR_IN_GANG_ZONE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "zone", - "type": "zone_key" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0159", - "member": "IsInZone", - "name": "IS_CHAR_IN_ZONE", - "num_params": 2, - "short_desc": "Returns true if the character is in the specified map zone" - }, - { - "input": [ - { - "name": "zone", - "type": "zone_key" - }, - { - "name": "dayOrNight", - "type": "DayOrNight" - }, - { - "name": "density", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Zone", - "id": "015A", - "member": "SetCarDensity", - "name": "SET_CAR_DENSITY", - "num_params": 3, - "short_desc": "Sets the traffic density in the specified map zone during the day or at night" - }, - { - "input": [ - { - "name": "zone", - "type": "zone_key" - }, - { - "name": "dayOrNight", - "type": "DayOrNight" - }, - { - "name": "density", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Zone", - "id": "015B", - "member": "SetPedDensity", - "name": "SET_PED_DENSITY", - "num_params": 3, - "short_desc": "Sets the peds density in the specified map zone during the day or at night" - }, - { - "input": [ - { - "name": "player", - "type": "Player" - }, - { - "name": "mode", - "type": "CameraMode" - }, - { - "name": "switchStyle", - "type": "SwitchType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "015C", - "member": "PointAtPlayer", - "name": "POINT_CAMERA_AT_PLAYER", - "num_params": 3, - "short_desc": "Attaches the camera to the specified player" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "mode", - "type": "CameraMode" - }, - { - "name": "switchStyle", - "type": "SwitchType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "015D", - "member": "PointAtCar", - "name": "POINT_CAMERA_AT_CAR", - "num_params": 3, - "short_desc": "Attaches the camera to the specified vehicle" - }, - { - "input": [ - { - "name": "char", - "type": "Char" - }, - { - "name": "mode", - "type": "CameraMode" - }, - { - "name": "switchStyle", - "type": "SwitchType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "015E", - "member": "PointAtChar", - "name": "POINT_CAMERA_AT_CHAR", - "num_params": 3, - "short_desc": "Attaches the camera to the specified character" - }, - { - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "015F", - "member": "Restore", - "name": "RESTORE_CAMERA", - "num_params": 0, - "short_desc": "Restores the camera to its usual position" - }, - { - "id": "0160", - "name": "SHAKE_PAD", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "0161", - "name": "COMMAND_0161", - "num_params": 13, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - }, - { - "name": "_p7", - "type": "any" - }, - { - "name": "_p8", - "type": "any" - }, - { - "name": "_p9", - "type": "any" - }, - { - "name": "_p10", - "type": "any" - }, - { - "name": "_p11", - "type": "any" - }, - { - "name": "_p12", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "scale", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Clock", - "id": "0162", - "member": "SetTimeScale", - "name": "SET_TIME_SCALE", - "num_params": 1, - "short_desc": "Sets the game to run at the specified speed" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0163", - "name": "IS_CAR_IN_AIR", - "num_params": 0 - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRotation", - "type": "float" - }, - { - "name": "yRotation", - "type": "float" - }, - { - "name": "zRotation", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0164", - "member": "SetFixedPosition", - "name": "SET_FIXED_CAMERA_POSITION", - "num_params": 6, - "short_desc": "Sets the camera's position and rotation" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "switchStyle", - "type": "SwitchType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0165", - "member": "PointAtPoint", - "name": "POINT_CAMERA_AT_POINT", - "num_params": 4, - "short_desc": "Points the camera at the specified location and applies the position set by 0159" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "color", - "type": "BlipColor" - }, - { - "name": "display", - "type": "BlipDisplay" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "0166", - "member": "AddForCarOld", - "name": "ADD_BLIP_FOR_CAR_OLD", - "num_params": 4, - "short_desc": "Adds a blip with properties to the vehicle" - }, - { - "input": [ - { - "name": "char", - "type": "Char" - }, - { - "name": "color", - "type": "BlipColor" - }, - { - "name": "display", - "type": "BlipDisplay" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "0167", - "member": "AddForCharOld", - "name": "ADD_BLIP_FOR_CHAR_OLD", - "num_params": 4, - "short_desc": "Adds a blip with properties to the character" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0168", - "name": "ADD_BLIP_FOR_OBJECT_OLD", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Blip" - } - ], - "class": "Blip", - "id": "0169", - "member": "Remove", - "name": "REMOVE_BLIP", - "num_params": 1, - "short_desc": "Removes the blip", - "attrs": { - "is_destructor": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Blip" - }, - { - "name": "color", - "type": "BlipColor" - } - ], - "class": "Blip", - "id": "016A", - "member": "ChangeColor", - "name": "CHANGE_BLIP_COLOUR", - "num_params": 2, - "short_desc": "Sets the blip's color" - }, - { - "input": [ - { - "name": "self", - "type": "Blip" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Blip", - "id": "016B", - "member": "Dim", - "name": "DIM_BLIP", - "num_params": 2, - "short_desc": "Sets whether the blip should appear dimmed" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "colour", - "type": "BlipColor" - }, - { - "name": "display", - "type": "BlipDisplay" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "016C", - "member": "AddForCoordOld", - "name": "ADD_BLIP_FOR_COORD_OLD", - "num_params": 6, - "short_desc": "Adds a blip with properties at the location" - }, - { - "input": [ - { - "name": "self", - "type": "Blip" - }, - { - "name": "size", - "type": "int" - } - ], - "class": "Blip", - "id": "016D", - "member": "ChangeScale", - "name": "CHANGE_BLIP_SCALE", - "num_params": 2, - "short_desc": "Sets the blip's size" - }, - { - "input": [ - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "016E", - "member": "SetFadingColor", - "name": "SET_FADING_COLOUR", - "num_params": 3, - "short_desc": "Sets the RGB color of the fade command (016A)" - }, - { - "input": [ - { - "name": "time", - "type": "int" - }, - { - "name": "direction", - "type": "Fade" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "016F", - "member": "DoFade", - "name": "DO_FADE", - "num_params": 2, - "short_desc": "Fades the screen for the specified time" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Camera", - "id": "0170", - "member": "GetFadingStatus", - "name": "GET_FADING_STATUS", - "num_params": 0, - "short_desc": "Returns true if the screen is fading (016A)" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "heading", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "0171", - "member": "AddHospital", - "name": "ADD_HOSPITAL_RESTART", - "num_params": 4, - "short_desc": "Adds a new location where the player can respawn after death" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "heading", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "0172", - "member": "AddPolice", - "name": "ADD_POLICE_RESTART", - "num_params": 4, - "short_desc": "Adds a new location where the player can respawn after arrest" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "heading", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "0173", - "member": "OverrideNext", - "name": "OVERRIDE_NEXT_RESTART", - "num_params": 4, - "short_desc": "Forces this location to be the next respawn location" - }, - { - "id": "0174", - "name": "DRAW_SHADOW", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "heading", - "type": "float", - "source": "var_any" - } - ], - "class": "Player", - "id": "0175", - "member": "GetHeading", - "name": "GET_PLAYER_HEADING", - "num_params": 2, - "short_desc": "Returns the player's heading (z-angle)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "heading", - "type": "float" - } - ], - "class": "Player", - "id": "0176", - "member": "SetHeading", - "name": "SET_PLAYER_HEADING", - "num_params": 2, - "short_desc": "Sets the player's heading (z-angle)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "output": [ - { - "name": "heading", - "type": "float", - "source": "var_any" - } - ], - "class": "Char", - "id": "0177", - "member": "GetHeading", - "name": "GET_CHAR_HEADING", - "num_params": 2, - "short_desc": "Returns the character's heading (z-angle)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "heading", - "type": "float" - } - ], - "class": "Char", - "id": "0178", - "member": "SetHeading", - "name": "SET_CHAR_HEADING", - "num_params": 2, - "short_desc": "Sets the character's heading (z-angle)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "heading", - "type": "float", - "source": "var_any" - } - ], - "class": "Car", - "id": "0179", - "member": "GetHeading", - "name": "GET_CAR_HEADING", - "num_params": 2, - "short_desc": "Returns the vehicle's heading (z-angle)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "heading", - "type": "float" - } - ], - "class": "Car", - "id": "017A", - "member": "SetHeading", - "name": "SET_CAR_HEADING", - "num_params": 2, - "short_desc": "Sets the vehicle's heading (z-angle)" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "output": [ - { - "name": "heading", - "type": "float", - "source": "var_any" - } - ], - "class": "Object", - "id": "017B", - "member": "GetHeading", - "name": "GET_OBJECT_HEADING", - "num_params": 2, - "short_desc": "Returns the object's heading (z-angle)" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "heading", - "type": "float" - } - ], - "class": "Object", - "id": "017C", - "member": "SetHeading", - "name": "SET_OBJECT_HEADING", - "num_params": 2, - "short_desc": "Sets the object's heading (z-angle)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "object", - "type": "Object" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "017D", - "member": "IsTouchingObject", - "name": "IS_PLAYER_TOUCHING_OBJECT", - "num_params": 2, - "short_desc": "Returns true if the player is colliding with the specified object" - }, - { - "id": "017E", - "name": "IS_CHAR_TOUCHING_OBJECT", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "weaponType", - "type": "WeaponType" - }, - { - "name": "ammo", - "type": "int" - } - ], - "class": "Player", - "id": "017F", - "member": "SetAmmo", - "name": "SET_PLAYER_AMMO", - "num_params": 3, - "short_desc": "Sets the amount of ammo the player has in the specified weapon" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "weaponType", - "type": "WeaponType" - }, - { - "name": "ammo", - "type": "int" - } - ], - "id": "0180", - "name": "SET_CHAR_AMMO", - "num_params": 3, - "short_desc": "Sets the amount of ammo the character has in the specified weapon", - "class": "Char", - "member": "SetAmmo" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0181", - "name": "SET_CAR_AMMO", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0182", - "name": "LOAD_CAMERA_SPLINE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0183", - "name": "MOVE_CAMERA_ALONG_SPLINE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0184", - "name": "GET_CAMERA_POSITION_ALONG_SPLINE", - "num_params": 0 - }, - { - "input": [ - { - "name": "flag", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "0185", - "name": "DECLARE_MISSION_FLAG", - "num_params": 1, - "short_desc": "Links the global variable to the specific hardcoded flag that defines is there an active mission or not" - }, - { - "input": [ - { - "name": "contactId", - "type": "Contact" - }, - { - "name": "flag", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "0186", - "name": "DECLARE_MISSION_FLAG_FOR_CONTACT", - "num_params": 2, - "short_desc": "Sets the mission flag var for the specific contact" - }, - { - "id": "0187", - "name": "DECLARE_BASE_BRIEF_ID_FOR_CONTACT", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "health", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0188", - "member": "IsHealthGreater", - "name": "IS_PLAYER_HEALTH_GREATER", - "num_params": 2, - "short_desc": "Returns true if the player's health is over the specified value" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "health", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0189", - "member": "IsHealthGreater", - "name": "IS_CHAR_HEALTH_GREATER", - "num_params": 2, - "short_desc": "Returns true if the character's health is over the specified value" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "health", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "018A", - "member": "IsHealthGreater", - "name": "IS_CAR_HEALTH_GREATER", - "num_params": 2, - "short_desc": "Returns true if the car's health is over the specified value" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "018B", - "member": "AddForCar", - "name": "ADD_BLIP_FOR_CAR", - "num_params": 2, - "short_desc": "Adds a blip and a marker to the vehicle" - }, - { - "input": [ - { - "name": "char", - "type": "Char" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "018C", - "member": "AddForChar", - "name": "ADD_BLIP_FOR_CHAR", - "num_params": 2, - "short_desc": "Adds a blip and a marker to the character" - }, - { - "input": [ - { - "name": "object", - "type": "Object" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "018D", - "member": "AddForObject", - "name": "ADD_BLIP_FOR_OBJECT", - "num_params": 2, - "short_desc": "Adds a blip and a marker to the object" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "018E", - "member": "AddForContactPoint", - "name": "ADD_BLIP_FOR_CONTACT_POINT", - "num_params": 4, - "short_desc": "Adds a blip to the contact point" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "018F", - "member": "AddForCoord", - "name": "ADD_BLIP_FOR_COORD", - "num_params": 4, - "short_desc": "Adds a blip to the location" - }, - { - "input": [ - { - "name": "self", - "type": "Blip" - }, - { - "name": "display", - "type": "BlipDisplay" - } - ], - "class": "Blip", - "id": "0190", - "member": "ChangeDisplay", - "name": "CHANGE_BLIP_DISPLAY", - "num_params": 2, - "short_desc": "Changes the display of the specified blip" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "soundId", - "type": "ScriptSound" - } - ], - "attrs": { - "is_static": true - }, - "class": "Sound", - "id": "0191", - "member": "AddOneOffSound", - "name": "ADD_ONE_OFF_SOUND", - "num_params": 4, - "short_desc": "Plays a sound with the specified ID at the location" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "soundId", - "type": "ScriptSound" - } - ], - "output": [ - { - "name": "handle", - "type": "Sound", - "source": "var_any" - } - ], - "attrs": { - "is_static": true, - "is_constructor": true - }, - "class": "Sound", - "id": "0192", - "member": "AddContinuous", - "name": "ADD_CONTINUOUS_SOUND", - "num_params": 5, - "short_desc": "Creates a continuous sound at the location" - }, - { - "input": [ - { - "name": "self", - "type": "Sound" - } - ], - "class": "Sound", - "id": "0193", - "member": "Remove", - "name": "REMOVE_SOUND", - "num_params": 1, - "short_desc": "Stops the sound" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "0194", - "member": "IsStuckOnRoof", - "name": "IS_CAR_STUCK_ON_ROOF", - "num_params": 1, - "short_desc": "Returns true if the car has been upside down for more than 2 seconds (requires 0190)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "0195", - "member": "AddUpsidedownCheck", - "name": "ADD_UPSIDEDOWN_CAR_CHECK", - "num_params": 1, - "short_desc": "Activates upside-down car check for the car" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "0196", - "member": "RemoveUpsidedownCheck", - "name": "REMOVE_UPSIDEDOWN_CAR_CHECK", - "num_params": 1, - "short_desc": "Deactivates upside-down car check (0190) for the car" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0197", - "member": "SetObjWaitOnFoot", - "name": "SET_CHAR_OBJ_WAIT_ON_FOOT", - "num_params": 1, - "short_desc": "Sets the character's objective to stay idle on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0198", - "member": "SetObjFleeOnFootTillSafe", - "name": "SET_CHAR_OBJ_FLEE_ON_FOOT_TILL_SAFE", - "num_params": 1, - "short_desc": "Sets the character's objective to run away" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Char", - "id": "0199", - "member": "SetObjGuardSpot", - "name": "SET_CHAR_OBJ_GUARD_SPOT", - "num_params": 4, - "short_desc": "Sets the character's objective to guard the specified location" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - } - ], - "class": "Char", - "id": "019A", - "member": "SetObjGuardArea", - "name": "SET_CHAR_OBJ_GUARD_AREA", - "num_params": 5, - "short_desc": "Sets the character's objective to guard the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "019B", - "member": "SetObjWaitInCar", - "name": "SET_CHAR_OBJ_WAIT_IN_CAR", - "num_params": 1, - "short_desc": "Sets the character's objective to stay in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "019C", - "member": "IsInAreaOnFoot2D", - "name": "IS_PLAYER_IN_AREA_ON_FOOT_2D", - "num_params": 6, - "short_desc": "Returns true if the player is within the specified 2D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "019D", - "member": "IsInAreaInCar2D", - "name": "IS_PLAYER_IN_AREA_IN_CAR_2D", - "num_params": 6, - "short_desc": "Returns true if the player is within the specified 2D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "019E", - "member": "IsStoppedInArea2D", - "name": "IS_PLAYER_STOPPED_IN_AREA_2D", - "num_params": 6, - "short_desc": "Returns true if the player stopped within the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "019F", - "member": "IsStoppedInAreaOnFoot2D", - "name": "IS_PLAYER_STOPPED_IN_AREA_ON_FOOT_2D", - "num_params": 6, - "short_desc": "Returns true if the player stopped within the specified 2D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "01A0", - "member": "IsStoppedInAreaInCar2D", - "name": "IS_PLAYER_STOPPED_IN_AREA_IN_CAR_2D", - "num_params": 6, - "short_desc": "Returns true if the player stopped within the specified 2D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "01A1", - "member": "IsInAreaOnFoot3D", - "name": "IS_PLAYER_IN_AREA_ON_FOOT_3D", - "num_params": 8, - "short_desc": "Returns true if the player is within the specified 3D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "01A2", - "member": "IsInAreaInCar3D", - "name": "IS_PLAYER_IN_AREA_IN_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the player is within the specified 3D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "01A3", - "member": "IsStoppedInArea3D", - "name": "IS_PLAYER_STOPPED_IN_AREA_3D", - "num_params": 8, - "short_desc": "Returns true if the player stopped within the specified 3D area" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "01A4", - "member": "IsStoppedInAreaOnFoot3D", - "name": "IS_PLAYER_STOPPED_IN_AREA_ON_FOOT_3D", - "num_params": 8, - "short_desc": "Returns true if the player stopped within the specified 3D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "01A5", - "member": "IsStoppedInAreaInCar3D", - "name": "IS_PLAYER_STOPPED_IN_AREA_IN_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the player stopped within the specified 3D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01A6", - "member": "IsInAreaOnFoot2D", - "name": "IS_CHAR_IN_AREA_ON_FOOT_2D", - "num_params": 6, - "short_desc": "Returns true if the character is within the specified 2D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01A7", - "member": "IsInAreaInCar2D", - "name": "IS_CHAR_IN_AREA_IN_CAR_2D", - "num_params": 6, - "short_desc": "Returns true if the character is within the specified 2D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01A8", - "member": "IsStoppedInArea2D", - "name": "IS_CHAR_STOPPED_IN_AREA_2D", - "num_params": 6, - "short_desc": "Returns true if the character stopped within the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01A9", - "member": "IsStoppedInAreaOnFoot2D", - "name": "IS_CHAR_STOPPED_IN_AREA_ON_FOOT_2D", - "num_params": 6, - "short_desc": "Returns true if the character stopped within the specified 2D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01AA", - "member": "IsStoppedInAreaInCar2D", - "name": "IS_CHAR_STOPPED_IN_AREA_IN_CAR_2D", - "num_params": 6, - "short_desc": "Returns true if the character stopped within the specified 2D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01AB", - "member": "IsInAreaOnFoot3D", - "name": "IS_CHAR_IN_AREA_ON_FOOT_3D", - "num_params": 8, - "short_desc": "Returns true if the character is within the specified 3D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01AC", - "member": "IsInAreaInCar3D", - "name": "IS_CHAR_IN_AREA_IN_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the character is within the specified 3D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01AD", - "member": "IsStoppedInArea3D", - "name": "IS_CHAR_STOPPED_IN_AREA_3D", - "num_params": 8, - "short_desc": "Returns true if the character stopped within the specified 3D area" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01AE", - "member": "IsStoppedInAreaOnFoot3D", - "name": "IS_CHAR_STOPPED_IN_AREA_ON_FOOT_3D", - "num_params": 8, - "short_desc": "Returns true if the character stopped within the specified 3D area on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "01AF", - "member": "IsStoppedInAreaInCar3D", - "name": "IS_CHAR_STOPPED_IN_AREA_IN_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the character stopped within the specified 3D area in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01B0", - "member": "IsStoppedInArea2D", - "name": "IS_CAR_STOPPED_IN_AREA_2D", - "num_params": 6, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01B1", - "member": "IsStoppedInArea3D", - "name": "IS_CAR_STOPPED_IN_AREA_3D", - "num_params": 8, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01B2", - "member": "Locate2D", - "name": "LOCATE_CAR_2D", - "num_params": 6, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01B3", - "member": "LocateStopped2D", - "name": "LOCATE_STOPPED_CAR_2D", - "num_params": 6, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01B4", - "member": "Locate3D", - "name": "LOCATE_CAR_3D", - "num_params": 8, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01B5", - "member": "LocateStopped3D", - "name": "LOCATE_STOPPED_CAR_3D", - "num_params": 8, - "short_desc": "Returns true if the car is stopped in the radius of the specified point" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "weaponType", - "type": "WeaponType" - }, - { - "name": "ammo", - "type": "int" - } - ], - "class": "Player", - "id": "01B6", - "member": "GiveWeapon", - "name": "GIVE_WEAPON_TO_PLAYER", - "num_params": 3, - "short_desc": "Gives the player the weapon with the specified amount of ammo" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "weaponType", - "type": "WeaponType" - }, - { - "name": "ammo", - "type": "int" - } - ], - "class": "Char", - "id": "01B7", - "member": "GiveWeapon", - "name": "GIVE_WEAPON_TO_CHAR", - "num_params": 3, - "short_desc": "Gives the character the weapon with the specified amount of ammo" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01B8", - "name": "GIVE_WEAPON_TO_CAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "01B9", - "member": "SetControl", - "name": "SET_PLAYER_CONTROL", - "num_params": 2, - "short_desc": "Sets whether player's control is enabled" - }, - { - "input": [ - { - "name": "type", - "type": "WeatherType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Weather", - "id": "01BA", - "member": "Force", - "name": "FORCE_WEATHER", - "num_params": 1, - "short_desc": "Forces the game weather to the specified type" - }, - { - "input": [ - { - "name": "type", - "type": "WeatherType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Weather", - "id": "01BB", - "member": "ForceNow", - "name": "FORCE_WEATHER_NOW", - "num_params": 1, - "short_desc": "Forces the upcoming weather to the specified type" - }, - { - "attrs": { - "is_static": true - }, - "class": "Weather", - "id": "01BC", - "member": "Release", - "name": "RELEASE_WEATHER", - "num_params": 0, - "short_desc": "Allows the game to continue its usual weather pattern after using 01B5" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "class": "Player", - "id": "01BD", - "member": "SetCurrentWeapon", - "name": "SET_CURRENT_PLAYER_WEAPON", - "num_params": 2, - "short_desc": "Sets the player's currently held weapon" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "class": "Char", - "id": "01BE", - "member": "SetCurrentWeapon", - "name": "SET_CURRENT_CHAR_WEAPON", - "num_params": 2, - "short_desc": "Sets the character's currently held weapon" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01BF", - "name": "SET_CURRENT_CAR_WEAPON", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "class": "Object", - "id": "01C0", - "member": "GetCoordinates", - "name": "GET_OBJECT_COORDINATES", - "num_params": 4, - "short_desc": "Returns the object's coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Object", - "id": "01C1", - "member": "SetCoordinates", - "name": "SET_OBJECT_COORDINATES", - "num_params": 4, - "short_desc": "Puts the object at the specified location" - }, - { - "output": [ - { - "name": "time", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Clock", - "id": "01C2", - "member": "GetGameTimer", - "name": "GET_GAME_TIMER", - "num_params": 1, - "short_desc": "Returns the time passed in milliseconds since the game started" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Char", - "id": "01C3", - "member": "TurnToFaceCoord", - "name": "TURN_CHAR_TO_FACE_COORD", - "num_params": 4, - "short_desc": "Rotates the character to face the location" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Player", - "id": "01C4", - "member": "TurnToFaceCoord", - "name": "TURN_PLAYER_TO_FACE_COORD", - "num_params": 4, - "short_desc": "Rotates the player to face the location" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "wantedLevel", - "type": "int", - "source": "var_any" - } - ], - "class": "Player", - "id": "01C5", - "member": "StoreWantedLevel", - "name": "STORE_WANTED_LEVEL", - "num_params": 2, - "short_desc": "Returns the player's current wanted level" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01C6", - "member": "IsStopped", - "name": "IS_CAR_STOPPED", - "num_params": 1, - "short_desc": "Returns true if the vehicle is not moving" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "01C7", - "member": "MarkAsNoLongerNeeded", - "name": "MARK_CHAR_AS_NO_LONGER_NEEDED", - "num_params": 1, - "short_desc": "Allows the character to be deleted by the game if necessary, and also removes them from the mission cleanup list, if applicable" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "01C8", - "member": "MarkAsNoLongerNeeded", - "name": "MARK_CAR_AS_NO_LONGER_NEEDED", - "num_params": 1, - "short_desc": "Allows the vehicle to be deleted by the game if necessary, and also removes it from the mission cleanup list, if applicable" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "class": "Object", - "id": "01C9", - "member": "MarkAsNoLongerNeeded", - "name": "MARK_OBJECT_AS_NO_LONGER_NEEDED", - "num_params": 1, - "short_desc": "Allows the object to be deleted by the game if necessary, and also removes it from the mission cleanup list, if applicable" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "01CA", - "member": "DontRemove", - "name": "DONT_REMOVE_CHAR", - "num_params": 1, - "short_desc": "Removes the character from the mission cleanup list, preventing it from being deleted when the mission ends" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "01CB", - "member": "DontRemove", - "name": "DONT_REMOVE_CAR", - "num_params": 1, - "short_desc": "Removes the vehicle from the mission cleanup list, preventing it from being deleted when the mission ends" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "class": "Object", - "id": "01CC", - "member": "DontRemove", - "name": "DONT_REMOVE_OBJECT", - "num_params": 1, - "short_desc": "Removes the object from the mission cleanup list, preventing it from being deleted when the mission ends" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "pedType", - "type": "PedType" - }, - { - "name": "modelId", - "type": "model_char" - }, - { - "name": "seatId", - "type": "int" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Char", - "id": "01CD", - "member": "CreateAsPassenger", - "name": "CREATE_CHAR_AS_PASSENGER", - "num_params": 5, - "short_desc": "Creates a character with the specified model in the passenger seat of the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - } - ], - "class": "Char", - "id": "01CE", - "member": "SetObjKillCharOnFoot", - "name": "SET_CHAR_OBJ_KILL_CHAR_ON_FOOT", - "num_params": 2, - "short_desc": "Sets the character's objective to attack the other character on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Player" - } - ], - "class": "Char", - "id": "01CF", - "member": "SetObjKillPlayerOnFoot", - "name": "SET_CHAR_OBJ_KILL_PLAYER_ON_FOOT", - "num_params": 2, - "short_desc": "Sets the character's objective to attack the player on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - } - ], - "class": "Char", - "id": "01D0", - "member": "SetObjKillCharAnyMeans", - "name": "SET_CHAR_OBJ_KILL_CHAR_ANY_MEANS", - "num_params": 2, - "short_desc": "Sets the character's objective to attack the specified character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Player" - } - ], - "class": "Char", - "id": "01D1", - "member": "SetObjKillPlayerAnyMeans", - "name": "SET_CHAR_OBJ_KILL_PLAYER_ANY_MEANS", - "num_params": 2, - "short_desc": "Sets the character's objective to attack the player" - }, - { - "id": "01D2", - "name": "SET_CHAR_OBJ_FLEE_CHAR_ON_FOOT_TILL_SAFE", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Player" - } - ], - "class": "Char", - "id": "01D3", - "member": "SetObjFleePlayerOnFootTillSafe", - "name": "SET_CHAR_OBJ_FLEE_PLAYER_ON_FOOT_TILL_SAFE", - "num_params": 2, - "short_desc": "Sets the character's objective to escape on foot and stay away from the target player until it is safe" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - } - ], - "class": "Char", - "id": "01D4", - "member": "SetObjFleeCharOnFootAlways", - "name": "SET_CHAR_OBJ_FLEE_CHAR_ON_FOOT_ALWAYS", - "num_params": 2, - "short_desc": "Sets the character's objective to walk away forever and stay away from the target character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Player" - } - ], - "class": "Char", - "id": "01D5", - "member": "SetObjFleePlayerOnFootAlways", - "name": "SET_CHAR_OBJ_FLEE_PLAYER_ON_FOOT_ALWAYS", - "num_params": 2, - "short_desc": "Sets the character's objective to walk away forever and stay away from the target player" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - } - ], - "class": "Char", - "id": "01D6", - "member": "SetObjGotoCharOnFoot", - "name": "SET_CHAR_OBJ_GOTO_CHAR_ON_FOOT", - "num_params": 2, - "short_desc": "Sets the character's objective to walk towards the target character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Player" - } - ], - "class": "Char", - "id": "01D7", - "member": "SetObjGotoPlayerOnFoot", - "name": "SET_CHAR_OBJ_GOTO_PLAYER_ON_FOOT", - "num_params": 2, - "short_desc": "Sets the character's objective to walk towards the target player" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "Char", - "id": "01D8", - "member": "SetObjLeaveCar", - "name": "SET_CHAR_OBJ_LEAVE_CAR", - "num_params": 2, - "short_desc": "Sets the character's objective to leave the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "Char", - "id": "01D9", - "member": "SetObjEnterCarAsPassenger", - "name": "SET_CHAR_OBJ_ENTER_CAR_AS_PASSENGER", - "num_params": 2, - "short_desc": "Sets the character's objective to enter the vehicle as a passenger" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "Char", - "id": "01DA", - "member": "SetObjEnterCarAsDriver", - "name": "SET_CHAR_OBJ_ENTER_CAR_AS_DRIVER", - "num_params": 2, - "short_desc": "Sets the character's objective to enter the vehicle as a driver" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01DB", - "name": "SET_CHAR_OBJ_FOLLOW_CAR_IN_CAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01DC", - "name": "SET_CHAR_OBJ_FIRE_AT_OBJECT_FROM_VEHICLE", - "num_params": 0 - }, - { - "id": "01DD", - "name": "COMMAND_01DD", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "Char", - "id": "01DE", - "member": "SetObjDestroyCar", - "name": "SET_CHAR_OBJ_DESTROY_CAR", - "num_params": 2, - "short_desc": "Sets the character's objective to destroy the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - } - ], - "class": "Char", - "id": "01DF", - "member": "SetObjGotoAreaOnFoot", - "name": "SET_CHAR_OBJ_GOTO_AREA_ON_FOOT", - "num_params": 5, - "short_desc": "Sets the character's objective to walk into the specified 2D area" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01E0", - "name": "SET_CHAR_OBJ_GOTO_AREA_IN_CAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01E1", - "name": "SET_CHAR_OBJ_FOLLOW_CAR_ON_FOOT_WITH_OFFSET", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01E2", - "name": "SET_CHAR_OBJ_GUARD_ATTACK", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leader", - "type": "Char" - } - ], - "class": "Char", - "id": "01E3", - "member": "SetAsLeader", - "name": "SET_CHAR_AS_LEADER", - "num_params": 2, - "short_desc": "Makes the character follow the leader character", - "attrs": { - "is_overload": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leader", - "type": "Player" - } - ], - "class": "Char", - "id": "01E4", - "member": "SetAsLeader", - "name": "SET_PLAYER_AS_LEADER", - "num_params": 2, - "short_desc": "Makes the character follow the leader player", - "attrs": { - "is_overload": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "01E5", - "member": "LeaveGroup", - "name": "LEAVE_GROUP", - "num_params": 1, - "short_desc": "Makes the character stop following the leader (01DE or 01DF)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "routeId", - "type": "int" - }, - { - "name": "mode", - "type": "FollowRoute" - } - ], - "class": "Char", - "id": "01E6", - "member": "SetObjFollowRoute", - "name": "SET_CHAR_OBJ_FOLLOW_ROUTE", - "num_params": 3, - "short_desc": "Sets the character's objective to follow along the specified route" - }, - { - "input": [ - { - "name": "routeId", - "type": "int" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "01E7", - "member": "AddRoutePoint", - "name": "ADD_ROUTE_POINT", - "num_params": 4, - "short_desc": "Adds a new waypoint to the route with the specified id" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "01E8", - "member": "PrintWithNumberBig", - "name": "PRINT_WITH_NUMBER_BIG", - "num_params": 4, - "short_desc": "Displays a styled message in which the first string token~1~ is substituted with the specified number" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "flag", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "01E9", - "member": "PrintWithNumber", - "name": "PRINT_WITH_NUMBER", - "num_params": 4, - "short_desc": "Displays a styled message in which the first string token ~1~ is substituted with the specified number" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "flag", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "01EA", - "member": "PrintWithNumberNow", - "name": "PRINT_WITH_NUMBER_NOW", - "num_params": 4, - "short_desc": "Displays a styled message in which the first string token ~1~ is substituted with the specified number" - }, - { - "id": "01EB", - "name": "COMMAND_01EB", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "01EC", - "member": "SwitchRoadsOn", - "name": "SWITCH_ROADS_ON", - "num_params": 6, - "short_desc": "Allows cars to drive in the specified 3D area" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "01ED", - "member": "SwitchRoadsOff", - "name": "SWITCH_ROADS_OFF", - "num_params": 6, - "short_desc": "Prevents cars from driving on roads in the specified 3D area" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "count", - "type": "int", - "source": "var_any" - } - ], - "class": "Car", - "id": "01EE", - "member": "GetNumberOfPassengers", - "name": "GET_NUMBER_OF_PASSENGERS", - "num_params": 2, - "short_desc": "Returns the number of passengers sitting in the car" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "count", - "type": "int", - "source": "var_any" - } - ], - "class": "Car", - "id": "01EF", - "member": "GetMaximumNumberOfPassengers", - "name": "GET_MAXIMUM_NUMBER_OF_PASSENGERS", - "num_params": 2, - "short_desc": "Returns the maximum number of passengers that could sit in the car" - }, - { - "input": [ - { - "name": "multiplier", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "01F0", - "member": "SetCarDensityMultiplier", - "name": "SET_CAR_DENSITY_MULTIPLIER", - "num_params": 1, - "short_desc": "Sets the quantity of traffic that will spawn in the game" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "01F1", - "member": "SetHeavy", - "name": "SET_CAR_HEAVY", - "num_params": 2, - "short_desc": "Sets whether the car is heavy" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "01F2", - "member": "ClearThreatSearch", - "name": "CLEAR_CHAR_THREAT_SEARCH", - "num_params": 1, - "short_desc": "Resets character's hostility to other ped types (011A)" - }, - { - "input": [ - { - "name": "craneX", - "type": "float" - }, - { - "name": "craneY", - "type": "float" - }, - { - "name": "pickupZoneX1", - "type": "float" - }, - { - "name": "pickupZoneY1", - "type": "float" - }, - { - "name": "pickupZoneX2", - "type": "float" - }, - { - "name": "pickupZoneY2", - "type": "float" - }, - { - "name": "dropOffX", - "type": "float" - }, - { - "name": "dropOffY", - "type": "float" - }, - { - "name": "dropOffZ", - "type": "float" - }, - { - "name": "dropOffAngle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Crane", - "id": "01F3", - "member": "Activate", - "name": "ACTIVATE_CRANE", - "num_params": 10, - "short_desc": "Activates a crane located within 100.0 units of the specified location" - }, - { - "input": [ - { - "name": "craneX", - "type": "float" - }, - { - "name": "craneY", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Crane", - "id": "01F4", - "member": "Deactivate", - "name": "DEACTIVATE_CRANE", - "num_params": 2, - "short_desc": "Deactivates a crane located within 100.0 units of the specified location" - }, - { - "input": [ - { - "name": "wantedLevel", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "01F5", - "member": "SetMaxWantedLevel", - "name": "SET_MAX_WANTED_LEVEL", - "num_params": 1, - "short_desc": "Sets the maximum wanted level the player can receive" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01F6", - "name": "SAVE_VAR_INT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01F7", - "name": "SAVE_VAR_FLOAT", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01F8", - "member": "IsInAirProper", - "name": "IS_CAR_IN_AIR_PROPER", - "num_params": 1, - "short_desc": "Returns true if the vehicle is in the air" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "01F9", - "member": "IsUpsidedown", - "name": "IS_CAR_UPSIDEDOWN", - "num_params": 1, - "short_desc": "Returns true if the car is upside down" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "class": "Player", - "id": "01FA", - "member": "GetChar", - "name": "GET_PLAYER_CHAR", - "num_params": 2, - "short_desc": "Gets the character handle for the specified player" - }, - { - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "01FB", - "member": "CancelOverride", - "name": "CANCEL_OVERRIDE_RESTART", - "num_params": 0, - "short_desc": "Stops the player from spawning at the override location (016E)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "01FC", - "member": "SetIgnorePolice", - "name": "SET_POLICE_IGNORE_PLAYER", - "num_params": 2, - "short_desc": "Sets whether cops should ignore the player regardless of wanted level" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "01FD", - "name": "ADD_PAGER_MESSAGE_WITH_NUMBER", - "num_params": 0 - }, - { - "input": [ - { - "name": "text", - "type": "gxt_key" - }, - { - "name": "weaponType", - "type": "WeaponType" - }, - { - "name": "timeInMs", - "type": "int" - }, - { - "name": "targetsNum", - "type": "int" - }, - { - "name": "targetModel1", - "type": "model_any" - }, - { - "name": "targetModel2", - "type": "model_any" - }, - { - "name": "targetModel3", - "type": "model_any" - }, - { - "name": "targetModel4", - "type": "model_any" - }, - { - "name": "betaSoundsAndMessages", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "KillFrenzy", - "id": "01FE", - "member": "Start", - "name": "START_KILL_FRENZY", - "num_params": 9, - "short_desc": "Starts a rampage" - }, - { - "output": [ - { - "name": "status", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "KillFrenzy", - "id": "01FF", - "member": "ReadStatus", - "name": "READ_KILL_FRENZY_STATUS", - "num_params": 1, - "short_desc": "Returns the status of the current rampage" - }, - { - "input": [ - { - "name": "num", - "type": "float" - } - ], - "output": [ - { - "name": "result", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Math", - "id": "0200", - "member": "Sqrt", - "name": "SQRT", - "num_params": 2, - "short_desc": "Returns the square root of a number" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "handle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0201", - "member": "LocateAnyMeansCar2D", - "name": "LOCATE_PLAYER_ANY_MEANS_CAR_2D", - "num_params": 5, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "handle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0202", - "member": "LocateOnFootCar2D", - "name": "LOCATE_PLAYER_ON_FOOT_CAR_2D", - "num_params": 5, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "handle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0203", - "member": "LocateInCarCar2D", - "name": "LOCATE_PLAYER_IN_CAR_CAR_2D", - "num_params": 5, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "handle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0204", - "member": "LocateAnyMeansCar3D", - "name": "LOCATE_PLAYER_ANY_MEANS_CAR_3D", - "num_params": 6, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "handle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0205", - "member": "LocateOnFootCar3D", - "name": "LOCATE_PLAYER_ON_FOOT_CAR_3D", - "num_params": 6, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "handle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0206", - "member": "LocateInCarCar3D", - "name": "LOCATE_PLAYER_IN_CAR_CAR_3D", - "num_params": 6, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0207", - "member": "LocateAnyMeansCar2D", - "name": "LOCATE_CHAR_ANY_MEANS_CAR_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0208", - "member": "LocateOnFootCar2D", - "name": "LOCATE_CHAR_ON_FOOT_CAR_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the vehicle on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "handle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0209", - "member": "LocateInCarCar2D", - "name": "LOCATE_CHAR_IN_CAR_CAR_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the vehicle in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "020A", - "member": "LocateAnyMeansCar3D", - "name": "LOCATE_CHAR_ANY_MEANS_CAR_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "020B", - "member": "LocateOnFootCar3D", - "name": "LOCATE_CHAR_ON_FOOT_CAR_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the vehicle on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "020C", - "member": "LocateInCarCar3D", - "name": "LOCATE_CHAR_IN_CAR_CAR_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the vehicle in a vehicle" - }, - { - "input": [ - { - "name": "min", - "type": "float" - }, - { - "name": "max", - "type": "float" - } - ], - "output": [ - { - "name": "result", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Math", - "id": "020D", - "member": "RandomFloatInRange", - "name": "GENERATE_RANDOM_FLOAT_IN_RANGE", - "num_params": 3, - "short_desc": "Returns a random float between the specified ranges" - }, - { - "input": [ - { - "name": "min", - "type": "int" - }, - { - "name": "max", - "type": "int" - } - ], - "output": [ - { - "name": "result", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Math", - "id": "020E", - "member": "RandomIntInRange", - "name": "GENERATE_RANDOM_INT_IN_RANGE", - "num_params": 3, - "short_desc": "Returns a random integer between the specified ranges" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "lockStatus", - "type": "CarLock" - } - ], - "class": "Car", - "id": "020F", - "member": "LockDoors", - "name": "LOCK_CAR_DOORS", - "num_params": 2, - "short_desc": "Sets the locked status of the car's doors" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "0210", - "member": "Explode", - "name": "EXPLODE_CAR", - "num_params": 1, - "short_desc": "Makes the vehicle explode" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "type", - "type": "ExplosionType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Fx", - "id": "0211", - "member": "AddExplosion", - "name": "ADD_EXPLOSION", - "num_params": 4, - "short_desc": "Creates an explosion at the point" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "0212", - "member": "IsUpright", - "name": "IS_CAR_UPRIGHT", - "num_params": 1, - "short_desc": "Returns true if the vehicle is in the normal position (upright)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "char", - "type": "Char" - } - ], - "class": "Char", - "id": "0213", - "member": "TurnToFaceChar", - "name": "TURN_CHAR_TO_FACE_CHAR", - "num_params": 2, - "short_desc": "Rotates the character to face the other character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "player", - "type": "Player" - } - ], - "class": "Char", - "id": "0214", - "member": "TurnToFacePlayer", - "name": "TURN_CHAR_TO_FACE_PLAYER", - "num_params": 2, - "short_desc": "Rotates the character to face the player" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "char", - "type": "Char" - } - ], - "class": "Player", - "id": "0215", - "member": "TurnToFaceChar", - "name": "TURN_PLAYER_TO_FACE_CHAR", - "num_params": 2, - "short_desc": "Rotates the player to face the character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "class": "Char", - "id": "0216", - "member": "SetObjGotoCoordOnFoot", - "name": "SET_CHAR_OBJ_GOTO_COORD_ON_FOOT", - "num_params": 3, - "short_desc": "Sets the character's objective to walk at the specified location" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0217", - "name": "SET_CHAR_OBJ_GOTO_COORD_IN_CAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "modelId", - "type": "model_object" - }, - { - "name": "pickupType", - "type": "PickupType" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Pickup", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Pickup", - "id": "0218", - "member": "Create", - "name": "CREATE_PICKUP", - "num_params": 6, - "short_desc": "Creates a pickup with the given model and type" - }, - { - "attrs": { - "is_condition": true - }, - "class": "Pickup", - "id": "0219", - "input": [ - { - "name": "self", - "type": "Pickup" - } - ], - "member": "HasBeenCollected", - "name": "HAS_PICKUP_BEEN_COLLECTED", - "num_params": 1, - "short_desc": "Returns true if specified pickup has been collected" - }, - { - "input": [ - { - "name": "self", - "type": "Pickup" - } - ], - "attrs": { - "is_destructor": true - }, - "class": "Pickup", - "id": "021A", - "member": "Remove", - "name": "REMOVE_PICKUP", - "num_params": 1, - "short_desc": "Destroys the specified pickup, freeing game memory" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "021B", - "member": "SetTaxiLights", - "name": "SET_TAXI_LIGHTS", - "num_params": 2, - "short_desc": "Sets whether the taxi's roof light is on" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "021C", - "member": "PrintBigQ", - "name": "PRINT_BIG_Q", - "num_params": 3, - "short_desc": "Displays a low-priority styled message for the specified time" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "021D", - "member": "PrintWithNumberBigQ", - "name": "PRINT_WITH_NUMBER_BIG_Q", - "num_params": 4, - "short_desc": "Displays a low-priority styled message in which the first string token~1~ is replaced with the specified number" - }, - { - "id": "021E", - "name": "COMMAND_021E", - "num_params": 10, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - }, - { - "name": "_p7", - "type": "any" - }, - { - "name": "_p8", - "type": "any" - }, - { - "name": "_p9", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "021F", - "name": "SET_GARAGE_WITH_CAR_MODEL", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "Garage", - "id": "0220", - "member": "SetTargetCarForMission", - "name": "SET_TARGET_CAR_FOR_MISSION_GARAGE", - "num_params": 2, - "short_desc": "Sets the garage to only accept the specified vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Garage", - "id": "0221", - "member": "IsCarInMission", - "name": "IS_CAR_IN_MISSION_GARAGE", - "num_params": 1, - "short_desc": "Returns true if a vehicle is in the garage" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "0222", - "member": "SetFreeBombs", - "name": "SET_FREE_BOMBS", - "num_params": 1, - "short_desc": "Sets whether the player can use bomb shops for free" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0223", - "name": "SET_POWERPOINT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0224", - "name": "SET_ALL_TAXI_LIGHTS", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "0225", - "member": "IsArmedWithAnyBomb", - "name": "IS_CAR_ARMED_WITH_ANY_BOMB", - "num_params": 1, - "short_desc": "Returns true if the specified vehicle has a car bomb installed" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0226", - "member": "ApplyBrakesToCar", - "name": "APPLY_BRAKES_TO_PLAYERS_CAR", - "num_params": 2, - "short_desc": "Applies brakes to the player's car" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "health", - "type": "int" - } - ], - "class": "Player", - "id": "0227", - "member": "SetHealth", - "name": "SET_PLAYER_HEALTH", - "num_params": 2, - "short_desc": "Sets the player's health" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "health", - "type": "int" - } - ], - "class": "Char", - "id": "0228", - "member": "SetHealth", - "name": "SET_CHAR_HEALTH", - "num_params": 2, - "short_desc": "Sets the character's health" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "health", - "type": "int" - } - ], - "class": "Car", - "id": "0229", - "member": "SetHealth", - "name": "SET_CAR_HEALTH", - "num_params": 2, - "short_desc": "Sets the vehicle's health" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "health", - "type": "int", - "source": "var_any" - } - ], - "class": "Player", - "id": "022A", - "member": "GetHealth", - "name": "GET_PLAYER_HEALTH", - "num_params": 2, - "short_desc": "Returns the player's health" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "output": [ - { - "name": "health", - "type": "int", - "source": "var_any" - } - ], - "class": "Char", - "id": "022B", - "member": "GetHealth", - "name": "GET_CHAR_HEALTH", - "num_params": 2, - "short_desc": "Returns the character's health" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "health", - "type": "int", - "source": "var_any" - } - ], - "class": "Car", - "id": "022C", - "member": "GetHealth", - "name": "GET_CAR_HEALTH", - "num_params": 2, - "short_desc": "Returns the vehicle's health" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "status", - "type": "BombType" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "022D", - "member": "IsArmedWithBomb", - "name": "IS_CAR_ARMED_WITH_BOMB", - "num_params": 2, - "short_desc": "Returns true if the vehicle is armed with a bomb of the specified status" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "primaryColor", - "type": "int" - }, - { - "name": "secondaryColor", - "type": "int" - } - ], - "class": "Car", - "id": "022E", - "member": "ChangeColor", - "name": "CHANGE_CAR_COLOUR", - "num_params": 3, - "short_desc": "Sets the car's primary and secondary colors" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "022F", - "member": "SwitchPedRoadsOn", - "name": "SWITCH_PED_ROADS_ON", - "num_params": 6, - "short_desc": "Allows pedestrians to walk into the specified area" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "0230", - "member": "SwitchPedRoadsOff", - "name": "SWITCH_PED_ROADS_OFF", - "num_params": 6, - "short_desc": "Forbids pedestrians to walk into the specified area" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - } - ], - "class": "Char", - "id": "0231", - "member": "LookAtCharAlways", - "name": "CHAR_LOOK_AT_CHAR_ALWAYS", - "num_params": 2, - "short_desc": "Makes the character to keep looking at the direction of the other character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Player" - } - ], - "class": "Char", - "id": "0232", - "member": "LookAtPlayerAlways", - "name": "CHAR_LOOK_AT_PLAYER_ALWAYS", - "num_params": 2, - "short_desc": "Makes the character to keep looking at the direction of the player" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "target", - "type": "Char" - } - ], - "class": "Player", - "id": "0233", - "member": "LookAtCharAlways", - "name": "PLAYER_LOOK_AT_CHAR_ALWAYS", - "num_params": 2, - "short_desc": "Makes the player to keep looking at the direction of the character" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0234", - "member": "StopLooking", - "name": "STOP_CHAR_LOOKING", - "num_params": 1, - "short_desc": "Makes the character to stop looking at the other character (022C) or player (022D)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "class": "Player", - "id": "0235", - "member": "StopLooking", - "name": "STOP_PLAYER_LOOKING", - "num_params": 1, - "short_desc": "Makes the player to stop looking at the character (022E)" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0236", - "name": "SWITCH_HELICOPTER", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0237", - "name": "SET_GANG_ATTITUDE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0238", - "name": "SET_GANG_GANG_ATTITUDE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0239", - "name": "SET_GANG_PLAYER_ATTITUDE", - "num_params": 0 - }, - { - "id": "023A", - "name": "COMMAND_023A", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "gangId", - "type": "GangType" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Gang", - "id": "023B", - "member": "SetCarModel", - "name": "SET_GANG_CAR_MODEL", - "num_params": 2, - "short_desc": "Sets the car used by members of the specified gang" - }, - { - "input": [ - { - "name": "gangId", - "type": "GangType" - }, - { - "name": "weaponType1", - "type": "WeaponType" - }, - { - "name": "weaponType2", - "type": "WeaponType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Gang", - "id": "023C", - "member": "SetWeapons", - "name": "SET_GANG_WEAPONS", - "num_params": 3, - "short_desc": "Sets the weapons that the specified gang can use" - }, - { - "id": "023D", - "name": "SET_CHAR_OBJ_RUN_TO_AREA", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "class": "Char", - "id": "023E", - "member": "SetObjRunToCoord", - "name": "SET_CHAR_OBJ_RUN_TO_COORD", - "num_params": 3, - "short_desc": "Sets the character's objective to run at the specified location" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "023F", - "name": "IS_PLAYER_TOUCHING_OBJECT_ON_FOOT", - "num_params": 0 - }, - { - "id": "0240", - "name": "IS_CHAR_TOUCHING_OBJECT_ON_FOOT", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "slotId", - "type": "int" - }, - { - "name": "modelName", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "0241", - "member": "LoadSpecialCharacter", - "name": "LOAD_SPECIAL_CHARACTER", - "num_params": 2, - "short_desc": "Requests a special character's model to be loaded into the specified slot" - }, - { - "input": [ - { - "name": "slotId", - "type": "int" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Streaming", - "id": "0242", - "member": "HasSpecialCharacterLoaded", - "name": "HAS_SPECIAL_CHARACTER_LOADED", - "num_params": 1, - "short_desc": "Returns true if the special character's model (023C) is available for creation" - }, - { - "id": "0243", - "name": "FLASH_CAR", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "0244", - "name": "FLASH_CHAR", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "0245", - "name": "FLASH_OBJECT", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0246", - "member": "IsInRemoteMode", - "name": "IS_PLAYER_IN_REMOTE_MODE", - "num_params": 1, - "short_desc": "Returns true if the player is controlling a remote-control vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "bombType", - "type": "BombType" - } - ], - "id": "0247", - "name": "ARM_CAR_WITH_BOMB", - "num_params": 2, - "class": "Car", - "member": "ArmWithBomb", - "short_desc": "Arms the vehicle with a bomb of the given type (In SA, this command only supports the mobile version)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "pedstat", - "type": "PedStat" - } - ], - "class": "Char", - "id": "0248", - "member": "SetPersonality", - "name": "SET_CHAR_PERSONALITY", - "num_params": 2, - "short_desc": "Sets the ped stat of the character" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "0249", - "member": "SetOffset", - "name": "SET_CUTSCENE_OFFSET", - "num_params": 3, - "short_desc": "Sets the position for a cutscene" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "animGroup", - "type": "AnimGroup" - } - ], - "class": "Char", - "id": "024A", - "member": "SetAnimGroup", - "name": "SET_ANIM_GROUP_FOR_CHAR", - "num_params": 2, - "short_desc": "Sets the animation group for the character" - }, - { - "id": "024B", - "name": "SET_ANIM_GROUP_FOR_PLAYER", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "modelId", - "type": "model_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "024C", - "member": "RequestModel", - "name": "REQUEST_MODEL", - "num_params": 1, - "short_desc": "Requests a new model to load" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Streaming", - "id": "024D", - "member": "HasModelLoaded", - "name": "HAS_MODEL_LOADED", - "num_params": 1, - "short_desc": "Returns true if the model is available for creation" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "024E", - "member": "MarkModelAsNoLongerNeeded", - "name": "MARK_MODEL_AS_NO_LONGER_NEEDED", - "num_params": 1, - "short_desc": "Releases the specified model, freeing game memory" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Phone", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Phone", - "id": "024F", - "member": "Grab", - "name": "GRAB_PHONE", - "num_params": 3, - "short_desc": "Gets the phone at the specified X and Y coordinates" - }, - { - "id": "0250", - "name": "SET_REPEATED_PHONE_MESSAGE", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "0251", - "name": "SET_PHONE_MESSAGE", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0252", - "name": "HAS_PHONE_DISPLAYED_MESSAGE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - } - ], - "class": "Phone", - "id": "0253", - "member": "TurnOff", - "name": "TURN_PHONE_OFF", - "num_params": 1, - "short_desc": "Disables the phone from ringing" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "size", - "type": "float" - }, - { - "name": "coronaType", - "type": "CoronaType" - }, - { - "name": "flareType", - "type": "FlareType" - }, - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Fx", - "id": "0254", - "member": "DrawCorona", - "name": "DRAW_CORONA", - "num_params": 9, - "short_desc": "Displays a corona at the specified location" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0255", - "name": "DRAW_LIGHT", - "num_params": 0 - }, - { - "attrs": { - "is_static": true - }, - "class": "Weather", - "id": "0256", - "member": "Store", - "name": "STORE_WEATHER", - "num_params": 0, - "short_desc": "Saves the weather (type, interpolation value and the amount of rain fallen)" - }, - { - "attrs": { - "is_static": true - }, - "class": "Weather", - "id": "0257", - "member": "Restore", - "name": "RESTORE_WEATHER", - "num_params": 0, - "short_desc": "Restores the weather previously saved with 0251" - }, - { - "attrs": { - "is_static": true - }, - "class": "Clock", - "id": "0258", - "member": "Store", - "name": "STORE_CLOCK", - "num_params": 0, - "short_desc": "Saves the current time in game" - }, - { - "attrs": { - "is_static": true - }, - "class": "Clock", - "id": "0259", - "member": "Restore", - "name": "RESTORE_CLOCK", - "num_params": 0, - "short_desc": "Restores the game time to the time when it was saved with 0253" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "heading", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "025A", - "member": "CriticalMission", - "name": "RESTART_CRITICAL_MISSION", - "num_params": 4, - "short_desc": "Fades the screen and puts the player at the location" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "025B", - "member": "IsPlaying", - "name": "IS_PLAYER_PLAYING", - "num_params": 1, - "short_desc": "Returns true if the player hasn't been wasted or busted (the player is still playing)" - }, - { - "id": "025C", - "name": "COMMAND_025C", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "025D", - "name": "COMMAND_025D", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "025E", - "name": "COMMAND_025E", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "025F", - "name": "COMMAND_025F", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "0260", - "name": "COMMAND_0260", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "0261", - "name": "COMMAND_0261", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0262", - "name": "COMMAND_0262", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0263", - "name": "COMMAND_0263", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0264", - "name": "COMMAND_0264", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0265", - "name": "COMMAND_0265", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0266", - "name": "COMMAND_0266", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0267", - "name": "COMMAND_0267", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0268", - "name": "COMMAND_0268", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0269", - "name": "COMMAND_0269", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "026A", - "name": "COMMAND_026A", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "026B", - "name": "COMMAND_026B", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "026C", - "name": "COMMAND_026C", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "026D", - "name": "COMMAND_026D", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "026E", - "name": "COMMAND_026E", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "026F", - "name": "SET_COLL_OBJ_FOLLOW_CAR_IN_CAR", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0270", - "name": "SET_COLL_OBJ_FIRE_AT_OBJECT_FROM_VEHICLE", - "num_params": 0 - }, - { - "id": "0271", - "name": "COMMAND_0271", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0272", - "name": "COMMAND_0272", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0273", - "name": "COMMAND_0273", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "0274", - "name": "COMMAND_0274", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0275", - "name": "SET_COLL_OBJ_FOLLOW_CAR_ON_FOOT_WITH_OFFSET", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0276", - "name": "SET_COLL_OBJ_GUARD_ATTACK", - "num_params": 0 - }, - { - "id": "0277", - "name": "COMMAND_0277", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "0278", - "name": "COMMAND_0278", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0279", - "name": "SET_COLL_OBJ_GOTO_COORD_IN_CAR", - "num_params": 0 - }, - { - "id": "027A", - "name": "COMMAND_027A", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "027B", - "name": "COMMAND_027B", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "027C", - "name": "COMMAND_027C", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "027D", - "name": "COMMAND_027D", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "027E", - "name": "COMMAND_027E", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "027F", - "name": "COMMAND_027F", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0280", - "name": "LOCATE_COLL_ANY_MEANS_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0281", - "name": "LOCATE_COLL_ON_FOOT_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0282", - "name": "LOCATE_COLL_IN_CAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0283", - "name": "LOCATE_STOPPED_COLL_ANY_MEANS_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0284", - "name": "LOCATE_STOPPED_COLL_ON_FOOT_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0285", - "name": "LOCATE_STOPPED_COLL_IN_CAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0286", - "name": "LOCATE_COLL_ANY_MEANS_CHAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0287", - "name": "LOCATE_COLL_ON_FOOT_CHAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0288", - "name": "LOCATE_COLL_IN_CAR_CHAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0289", - "name": "LOCATE_COLL_ANY_MEANS_CAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "028A", - "name": "LOCATE_COLL_ON_FOOT_CAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "028B", - "name": "LOCATE_COLL_IN_CAR_CAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "028C", - "name": "LOCATE_COLL_ANY_MEANS_PLAYER_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "028D", - "name": "LOCATE_COLL_ON_FOOT_PLAYER_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "028E", - "name": "LOCATE_COLL_IN_CAR_PLAYER_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "028F", - "name": "IS_COLL_IN_AREA_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0290", - "name": "IS_COLL_IN_AREA_ON_FOOT_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0291", - "name": "IS_COLL_IN_AREA_IN_CAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0292", - "name": "IS_COLL_STOPPED_IN_AREA_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0293", - "name": "IS_COLL_STOPPED_IN_AREA_ON_FOOT_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0294", - "name": "IS_COLL_STOPPED_IN_AREA_IN_CAR_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0295", - "name": "GET_NUMBER_OF_PEDS_IN_COLL", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0296", - "member": "SetHeedThreats", - "name": "SET_CHAR_HEED_THREATS", - "num_params": 2, - "short_desc": "Makes the character attack whoever attacks them" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0297", - "member": "SetHeedThreats", - "name": "SET_PLAYER_HEED_THREATS", - "num_params": 2, - "short_desc": "Makes the player to attack whoever attacks them" - }, - { - "output": [ - { - "name": "mode", - "type": "ControllerMode", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pad", - "id": "0298", - "member": "GetControllerMode", - "name": "GET_CONTROLLER_MODE", - "num_params": 1, - "short_desc": "Returns the controller mode" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0299", - "member": "SetCanRespray", - "name": "SET_CAN_RESPRAY_CAR", - "num_params": 2, - "short_desc": "Enables or disables the ability to Pay'n'Spray the car" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "029A", - "member": "IsTaxi", - "name": "IS_TAXI", - "num_params": 1, - "short_desc": "Returns true if the vehicle's model is Taxi (110), Cabbie (128), or Borgnine (148)" - }, - { - "input": [ - { - "name": "slotId", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "029B", - "member": "UnloadSpecialCharacter", - "name": "UNLOAD_SPECIAL_CHARACTER", - "num_params": 1, - "short_desc": "Releases the special character (023C), freeing game memory" - }, - { - "attrs": { - "is_static": true - }, - "class": "Player", - "id": "029C", - "member": "ResetNumOfModelsKilled", - "name": "RESET_NUM_OF_MODELS_KILLED_BY_PLAYER", - "num_params": 0, - "short_desc": "Resets the count of how many times the player has destroyed a certain model (0298)" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_any" - } - ], - "output": [ - { - "name": "num", - "type": "int", - "source": "var_any" - } - ], - "class": "Player", - "id": "029D", - "member": "GetNumOfModelsKilled", - "name": "GET_NUM_OF_MODELS_KILLED_BY_PLAYER", - "num_params": 2, - "short_desc": "Returns the amount of times the player has destroyed a specific model", - "attrs": { - "is_static": true - } - }, - { - "id": "029E", - "name": "ACTIVATE_GARAGE", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "029F", - "name": "SWITCH_TAXI_TIMER", - "num_params": 0 - }, - { - "input": [ - { - "name": "modelId", - "type": "model_object" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Object", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Object", - "id": "02A0", - "member": "CreateNoOffset", - "name": "CREATE_OBJECT_NO_OFFSET", - "num_params": 5, - "short_desc": "Creates an object without offset at the location" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "02A1", - "member": "IsBoat", - "name": "IS_BOAT", - "num_params": 1, - "short_desc": "Returns true if the vehicle is a boat" - }, - { - "id": "02A2", - "name": "SET_CHAR_OBJ_GOTO_AREA_ANY_MEANS", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "02A3", - "name": "SET_COLL_OBJ_GOTO_AREA_ANY_MEANS", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02A4", - "member": "IsStopped", - "name": "IS_PLAYER_STOPPED", - "num_params": 1, - "short_desc": "Returns true if the player is not moving" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "id": "02A5", - "name": "IS_CHAR_STOPPED", - "num_params": 1, - "short_desc": "Returns true if the character is not moving", - "attrs": { - "is_condition": true - }, - "class": "Char", - "member": "IsStopped" - }, - { - "input": [ - { - "name": "time", - "type": "int" - }, - { - "name": "allowSkip", - "type": "bool" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "02A6", - "name": "MESSAGE_WAIT", - "num_params": 2, - "short_desc": "Pauses the script execution (same as 0001) while allowing to skip the wait time by pressing X on the pad" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "02A7", - "name": "ADD_PARTICLE_EFFECT", - "num_params": 0 - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "02A8", - "member": "SwitchWidescreen", - "name": "SWITCH_WIDESCREEN", - "num_params": 1, - "short_desc": "Enables widescreen" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "02A9", - "name": "ADD_SPRITE_BLIP_FOR_CAR", - "num_params": 0 - }, - { - "id": "02AA", - "name": "ADD_SPRITE_BLIP_FOR_CHAR", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "02AB", - "name": "ADD_SPRITE_BLIP_FOR_OBJECT", - "num_params": 0 - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "sprite", - "type": "RadarSprite" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "02AC", - "member": "AddSpriteForContactPoint", - "name": "ADD_SPRITE_BLIP_FOR_CONTACT_POINT", - "num_params": 5, - "short_desc": "Adds a sprite blip to the contact point" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "sprite", - "type": "RadarSprite" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "02AD", - "member": "AddSpriteForCoord", - "name": "ADD_SPRITE_BLIP_FOR_COORD", - "num_params": 5, - "short_desc": "Adds a sprite blip to the location" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "02AE", - "member": "SetOnlyDamagedByPlayer", - "name": "SET_CHAR_ONLY_DAMAGED_BY_PLAYER", - "num_params": 2, - "short_desc": "Makes a character immune to everything except the player" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "02AF", - "member": "SetOnlyDamagedByPlayer", - "name": "SET_CAR_ONLY_DAMAGED_BY_PLAYER", - "num_params": 2, - "short_desc": "Makes a vehicle immune to everything except the player" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "bulletProof", - "type": "bool" - }, - { - "name": "fireProof", - "type": "bool" - }, - { - "name": "explosionProof", - "type": "bool" - }, - { - "name": "collisionProof", - "type": "bool" - }, - { - "name": "meleeProof", - "type": "bool" - } - ], - "class": "Char", - "id": "02B0", - "member": "SetProofs", - "name": "SET_CHAR_PROOFS", - "num_params": 6, - "short_desc": "Sets the character's immunities" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "bulletProof", - "type": "bool" - }, - { - "name": "fireProof", - "type": "bool" - }, - { - "name": "explosionProof", - "type": "bool" - }, - { - "name": "collisionProof", - "type": "bool" - }, - { - "name": "meleeProof", - "type": "bool" - } - ], - "class": "Car", - "id": "02B1", - "member": "SetProofs", - "name": "SET_CAR_PROOFS", - "num_params": 6, - "short_desc": "Sets the vehicle's immunities" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02B2", - "member": "IsInAngledArea2D", - "name": "IS_PLAYER_IN_ANGLED_AREA_2D", - "num_params": 7, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02B3", - "member": "IsInAngledAreaOnFoot2D", - "name": "IS_PLAYER_IN_ANGLED_AREA_ON_FOOT_2D", - "num_params": 7, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02B4", - "member": "IsInAngledAreaInCar2D", - "name": "IS_PLAYER_IN_ANGLED_AREA_IN_CAR_2D", - "num_params": 7, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02B5", - "member": "IsStoppedInAngledArea2D", - "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_2D", - "num_params": 7, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02B6", - "member": "IsStoppedInAngledAreaOnFoot2D", - "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_ON_FOOT_2D", - "num_params": 7, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02B7", - "member": "IsStoppedInAngledAreaInCar2D", - "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_IN_CAR_2D", - "num_params": 7, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02B8", - "member": "IsInAngledArea3D", - "name": "IS_PLAYER_IN_ANGLED_AREA_3D", - "num_params": 9, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02B9", - "member": "IsInAngledAreaOnFoot3D", - "name": "IS_PLAYER_IN_ANGLED_AREA_ON_FOOT_3D", - "num_params": 9, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02BA", - "member": "IsInAngledAreaInCar3D", - "name": "IS_PLAYER_IN_ANGLED_AREA_IN_CAR_3D", - "num_params": 9, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02BB", - "member": "IsStoppedInAngledArea3D", - "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_3D", - "num_params": 9, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02BC", - "member": "IsStoppedInAngledAreaOnFoot3D", - "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_ON_FOOT_3D", - "num_params": 9, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02BD", - "member": "IsStoppedInAngledAreaInCar3D", - "name": "IS_PLAYER_STOPPED_IN_ANGLED_AREA_IN_CAR_3D", - "num_params": 9, - "short_desc": "" - }, - { - "id": "02BE", - "name": "DEACTIVATE_GARAGE", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "id": "02BF", - "name": "GET_NUMBER_OF_CARS_COLLECTED_BY_GARAGE", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "02C0", - "name": "HAS_CAR_BEEN_TAKEN_TO_GARAGE", - "num_params": 0 - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "02C1", - "member": "SetSwatRequired", - "name": "SET_SWAT_REQUIRED", - "num_params": 1, - "short_desc": "Sets patrol cars to Police cars and Enforcers" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "02C2", - "name": "SET_FBI_REQUIRED", - "num_params": 0 - }, - { - "id": "02C3", - "name": "SET_ARMY_REQUIRED", - "num_params": 0, - "attrs": { - "is_unsupported": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "02C4", - "member": "IsInWater", - "name": "IS_CAR_IN_WATER", - "num_params": 1, - "short_desc": "Returns true if the vehicle is submerged in water" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "nodeX", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeY", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeZ", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "02C5", - "member": "GetClosestCharNode", - "name": "GET_CLOSEST_CHAR_NODE", - "num_params": 6, - "short_desc": "Returns the nearest path node from the specified coordinates that a pedestrian can walk on" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "nodeX", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeY", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeZ", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "02C6", - "member": "GetClosestCarNode", - "name": "GET_CLOSEST_CAR_NODE", - "num_params": 6, - "short_desc": "Returns the nearest path note from the specified coordinates that a vehicle can drive on" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Car", - "id": "02C7", - "member": "GotoCoordinatesAccurate", - "name": "CAR_GOTO_COORDINATES_ACCURATE", - "num_params": 4, - "short_desc": "Makes the AI drive to the specified location obeying the traffic rules" - }, - { - "input": [ - { - "name": "_zero", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02C8", - "member": "StartRace", - "name": "START_PACMAN_RACE", - "num_params": 1, - "short_desc": "Creates a predefined collection of donkey magazine pickups" - }, - { - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02C9", - "member": "StartRecord", - "name": "START_PACMAN_RECORD", - "num_params": 0, - "short_desc": "Stores the current player's position for debugging purposes during the pacman race" - }, - { - "output": [ - { - "name": "num", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02CA", - "member": "GetNumberOfPowerPillsEaten", - "name": "GET_NUMBER_OF_POWER_PILLS_EATEN", - "num_params": 1, - "short_desc": "Returns the number of donkey magazine pickups (02C3) collected" - }, - { - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02CB", - "member": "Clear", - "name": "CLEAR_PACMAN", - "num_params": 0, - "short_desc": "Removes all donkey magazine (02C3) and platinum (02C7) pickups" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "distance", - "type": "float" - }, - { - "name": "count", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02CC", - "member": "StartScramble", - "name": "START_PACMAN_SCRAMBLE", - "num_params": 5, - "short_desc": "Creates a collection of platinum pickups nearby the specified location" - }, - { - "output": [ - { - "name": "num", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02CD", - "member": "GetNumberOfPowerPillsCarried", - "name": "GET_NUMBER_OF_POWER_PILLS_CARRIED", - "num_params": 1, - "short_desc": "Returns the number of platinum pickups (02C7) collected in a vehicle" - }, - { - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02CE", - "member": "ClearNumberOfPowerPillsCarried", - "name": "CLEAR_NUMBER_OF_POWER_PILLS_CARRIED", - "num_params": 0, - "short_desc": "Clears the number of platinum pickups (02C7) collected in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "02CF", - "member": "IsOnScreen", - "name": "IS_CAR_ON_SCREEN", - "num_params": 1, - "short_desc": "Returns true if the car is visible" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "02D0", - "member": "IsOnScreen", - "name": "IS_CHAR_ON_SCREEN", - "num_params": 1, - "short_desc": "Returns true if the character is visible" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "02D1", - "member": "IsOnScreen", - "name": "IS_OBJECT_ON_SCREEN", - "num_params": 1, - "short_desc": "Returns true if the object is visible" - }, - { - "input": [ - { - "name": "", - "type": "label" - }, - { - "name": "_unused", - "type": "label" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "02D2", - "name": "GOSUB_FILE", - "num_params": 2, - "short_desc": "Transfers the script execution to the label as a subroutine" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "groundZ", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "02D3", - "member": "GetGroundZFor3DCoord", - "name": "GET_GROUND_Z_FOR_3D_COORD", - "num_params": 4, - "short_desc": "Stores the ground position at the location" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "ScriptFire", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "ScriptFire", - "id": "02D4", - "member": "Create", - "name": "START_SCRIPT_FIRE", - "num_params": 4, - "short_desc": "Creates a script fire at the location" - }, - { - "input": [ - { - "name": "self", - "type": "ScriptFire" - } - ], - "attrs": { - "is_condition": true - }, - "class": "ScriptFire", - "id": "02D5", - "member": "IsExtinguished", - "name": "IS_SCRIPT_FIRE_EXTINGUISHED", - "num_params": 1, - "short_desc": "Returns true if the script fire has been put out" - }, - { - "input": [ - { - "name": "self", - "type": "ScriptFire" - } - ], - "attrs": { - "is_destructor": true - }, - "class": "ScriptFire", - "id": "02D6", - "member": "Remove", - "name": "REMOVE_SCRIPT_FIRE", - "num_params": 1, - "short_desc": "Removes the script fire" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "02D7", - "member": "SetComedyControls", - "name": "SET_COMEDY_CONTROLS", - "num_params": 2, - "short_desc": "Makes the vehicle harder to control" - }, - { - "input": [ - { - "name": "self", - "type": "Boat" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Boat", - "id": "02D8", - "member": "Goto", - "name": "BOAT_GOTO_COORDS", - "num_params": 4, - "short_desc": "Makes the boat sail to the location" - }, - { - "input": [ - { - "name": "self", - "type": "Boat" - } - ], - "class": "Boat", - "id": "02D9", - "member": "Stop", - "name": "BOAT_STOP", - "num_params": 1, - "short_desc": "Turns off the car's engine" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02DA", - "member": "IsShootingInArea", - "name": "IS_PLAYER_SHOOTING_IN_AREA", - "num_params": 6, - "short_desc": "Returns true if the player fired a weapon within the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "topRightX", - "type": "float" - }, - { - "name": "topRightY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "02DB", - "member": "IsShootingInArea", - "name": "IS_CHAR_SHOOTING_IN_AREA", - "num_params": 6, - "short_desc": "Returns true if the character fired a weapon within the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02DC", - "member": "IsCurrentWeapon", - "name": "IS_CURRENT_PLAYER_WEAPON", - "num_params": 2, - "short_desc": "Returns true if the player is holding the given type of weapon" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "02DD", - "member": "IsCurrentWeapon", - "name": "IS_CURRENT_CHAR_WEAPON", - "num_params": 2, - "short_desc": "Returns true if the character is holding the given type of weapon" - }, - { - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02DE", - "member": "ClearNumberOfPowerPillsEaten", - "name": "CLEAR_NUMBER_OF_POWER_PILLS_EATEN", - "num_params": 0, - "short_desc": "Clears the number of donkey magazine pickups (02C3) collected" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pacman", - "id": "02DF", - "member": "AddPowerPill", - "name": "ADD_POWER_PILL", - "num_params": 3, - "short_desc": "Creates a single donkey magazine pickup" - }, - { - "input": [ - { - "name": "self", - "type": "Boat" - }, - { - "name": "maxSpeed", - "type": "float" - } - ], - "class": "Boat", - "id": "02E0", - "member": "SetCruiseSpeed", - "name": "SET_BOAT_CRUISE_SPEED", - "num_params": 2, - "short_desc": "Sets the boat's max speed" - }, - { - "id": "02E1", - "name": "COMMAND_02E1", - "num_params": 8, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - }, - { - "name": "_p7", - "type": "any" - } - ] - }, - { - "id": "02E2", - "name": "COMMAND_02E2", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02E3", - "member": "IsInTaxi", - "name": "IS_PLAYER_IN_TAXI", - "num_params": 1, - "short_desc": "Returns true if the player is driving a taxi" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "02E4", - "member": "IsShooting", - "name": "IS_PLAYER_SHOOTING", - "num_params": 1, - "short_desc": "Returns true if the player is firing a weapon" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "02E5", - "member": "IsShooting", - "name": "IS_CHAR_SHOOTING", - "num_params": 1, - "short_desc": "Returns true if the character is firing a weapon" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "cashAmount", - "type": "int" - } - ], - "output": [ - { - "name": "handle", - "type": "Pickup", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Pickup", - "id": "02E6", - "member": "CreateMoney", - "name": "CREATE_MONEY_PICKUP", - "num_params": 5, - "short_desc": "Creates a money pickup with the specified cash value" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "accuracy", - "type": "int" - } - ], - "class": "Char", - "id": "02E7", - "member": "SetAccuracy", - "name": "SET_CHAR_ACCURACY", - "num_params": 2, - "short_desc": "Affects how often the character will hit the target when attacking with a weapon" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "speed", - "type": "float", - "source": "var_any" - } - ], - "class": "Car", - "id": "02E8", - "member": "GetSpeed", - "name": "GET_CAR_SPEED", - "num_params": 2, - "short_desc": "Gets the car's speed" - }, - { - "input": [ - { - "name": "name", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "02E9", - "member": "Load", - "name": "LOAD_CUTSCENE", - "num_params": 1, - "short_desc": "Loads the data for the specified cutscene" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_any" - } - ], - "output": [ - { - "name": "handle", - "type": "CutsceneObject", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "CutsceneObject", - "id": "02EA", - "member": "Create", - "name": "CREATE_CUTSCENE_OBJECT", - "num_params": 2, - "short_desc": "Creates a new cutscene object with the model" - }, - { - "input": [ - { - "name": "self", - "type": "CutsceneObject" - }, - { - "name": "animation", - "type": "string" - } - ], - "class": "CutsceneObject", - "id": "02EB", - "member": "SetAnim", - "name": "SET_CUTSCENE_ANIM", - "num_params": 2, - "short_desc": "Sets the animation of the cutscene object" - }, - { - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "02EC", - "member": "Start", - "name": "START_CUTSCENE", - "num_params": 0, - "short_desc": "Starts the loaded cutscene (02E4)" - }, - { - "output": [ - { - "name": "time", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "02ED", - "member": "GetTime", - "name": "GET_CUTSCENE_TIME", - "num_params": 1, - "short_desc": "Returns the time in milliseconds passed since the cutscene has started (02E7)" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Cutscene", - "id": "02EE", - "member": "HasFinished", - "name": "HAS_CUTSCENE_FINISHED", - "num_params": 0, - "short_desc": "Returns true if the cutscene has finished" - }, - { - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "02EF", - "member": "Clear", - "name": "CLEAR_CUTSCENE", - "num_params": 0, - "short_desc": "Ends the current cutscene, freeing game memory" - }, - { - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "02F0", - "member": "RestoreJumpcut", - "name": "RESTORE_CAMERA_JUMPCUT", - "num_params": 0, - "short_desc": "Restores the camera, putting it back behind the player" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "02F1", - "member": "CreateCollectable", - "name": "CREATE_COLLECTABLE1", - "num_params": 3, - "short_desc": "Creates a hidden package pickup at the location" - }, - { - "input": [ - { - "name": "amount", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "02F2", - "member": "SetCollectableTotal", - "name": "SET_COLLECTABLE1_TOTAL", - "num_params": 1, - "short_desc": "Sets the total number of hidden packages to collect" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "02F3", - "member": "IsProjectileInArea", - "name": "IS_PROJECTILE_IN_AREA", - "num_params": 6, - "short_desc": "Returns true if a projectile is in the specified 3D area" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "02F4", - "member": "DestroyProjectilesInArea", - "name": "DESTROY_PROJECTILES_IN_AREA", - "num_params": 6, - "short_desc": "Destroys all projectiles in the specified 3D area" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pickup", - "id": "02F5", - "member": "DropMine", - "name": "DROP_MINE", - "num_params": 3, - "short_desc": "Creates a mine pickup of type MineInactive at the location" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pickup", - "id": "02F6", - "member": "DropNauticalMine", - "name": "DROP_NAUTICAL_MINE", - "num_params": 3, - "short_desc": "Creates a nautical mine pickup of type MineInactive at the location" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "modelId", - "type": "model_char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "02F7", - "member": "IsModel", - "name": "IS_CHAR_MODEL", - "num_params": 2, - "short_desc": "Returns true if the character's model ID is equivalent to the model ID passed" - }, - { - "input": [ - { - "name": "cutsceneModelId", - "type": "model_any" - }, - { - "name": "modelName", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "02F8", - "member": "LoadSpecialModel", - "name": "LOAD_SPECIAL_MODEL", - "num_params": 2, - "short_desc": "Loads a model with the given name as a cutscene model id (GTA III: 185-189, VC: 295-299)" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_any" - }, - { - "name": "cutsceneObject", - "type": "CutsceneObject" - } - ], - "output": [ - { - "name": "handle", - "type": "CutsceneHead", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "CutsceneHead", - "id": "02F9", - "member": "Create", - "name": "CREATE_CUTSCENE_HEAD", - "num_params": 3, - "short_desc": "Creates a head attached to the cutscene object (02E5)" - }, - { - "input": [ - { - "name": "self", - "type": "CutsceneHead" - }, - { - "name": "animation", - "type": "string" - } - ], - "class": "CutsceneHead", - "id": "02FA", - "member": "SetAnim", - "name": "SET_CUTSCENE_HEAD_ANIM", - "num_params": 2, - "short_desc": "Sets the animation of the cuscene head" - }, - { - "input": [ - { - "name": "angle", - "type": "float" - } - ], - "output": [ - { - "name": "result", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Math", - "id": "02FB", - "member": "Sin", - "name": "SIN", - "num_params": 2, - "short_desc": "Returns the sine of the angle" - }, - { - "input": [ - { - "name": "angle", - "type": "float" - } - ], - "output": [ - { - "name": "result", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Math", - "id": "02FC", - "member": "Cos", - "name": "COS", - "num_params": 2, - "short_desc": "Returns the cosine of the angle" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - } - ], - "class": "Car", - "id": "02FD", - "member": "GetForwardX", - "name": "GET_CAR_FORWARD_X", - "num_params": 2, - "short_desc": "Returns the X coord of the vehicle's angle" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "y", - "type": "float", - "source": "var_any" - } - ], - "class": "Car", - "id": "02FE", - "member": "GetForwardY", - "name": "GET_CAR_FORWARD_Y", - "num_params": 2, - "short_desc": "Returns the Y coord of the vehicle's angle" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - }, - { - "name": "type", - "type": "GarageType" - } - ], - "class": "Garage", - "id": "02FF", - "member": "ChangeType", - "name": "CHANGE_GARAGE_TYPE", - "num_params": 2, - "short_desc": "Sets the garage's type" - }, - { - "input": [ - { - "name": "craneX", - "type": "float" - }, - { - "name": "craneY", - "type": "float" - }, - { - "name": "pickupZoneX1", - "type": "float" - }, - { - "name": "pickupZoneY1", - "type": "float" - }, - { - "name": "pickupZoneX2", - "type": "float" - }, - { - "name": "pickupZoneY2", - "type": "float" - }, - { - "name": "dropOffX", - "type": "float" - }, - { - "name": "dropOffY", - "type": "float" - }, - { - "name": "dropOffZ", - "type": "float" - }, - { - "name": "dropOffAngle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Crane", - "id": "0300", - "member": "ActivateCrusher", - "name": "ACTIVATE_CRUSHER_CRANE", - "num_params": 10, - "short_desc": "Activates a crusher crane located within 100.0 units of the specified location" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0301", - "member": "PrintWith2Numbers", - "name": "PRINT_WITH_2_NUMBERS", - "num_params": 5, - "short_desc": "Displays a styled message in which the first two ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0302", - "member": "PrintWith2NumbersNow", - "name": "PRINT_WITH_2_NUMBERS_NOW", - "num_params": 5, - "short_desc": "Displays a styled message in which the first two ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0303", - "member": "PrintWith2NumbersSoon", - "name": "PRINT_WITH_2_NUMBERS_SOON", - "num_params": 5, - "short_desc": "Displays a styled message with the 2 specified numbers when there are no other messages being printed" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0304", - "member": "PrintWith3Numbers", - "name": "PRINT_WITH_3_NUMBERS", - "num_params": 6, - "short_desc": "Displays a styled message in which the first three ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0305", - "member": "PrintWith3NumbersNow", - "name": "PRINT_WITH_3_NUMBERS_NOW", - "num_params": 6, - "short_desc": "Displays a styled message in which the first three ~1~ tokens are substituted with the specified numbers" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0306", - "name": "PRINT_WITH_3_NUMBERS_SOON", - "num_params": 0 - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0307", - "member": "PrintWith4Numbers", - "name": "PRINT_WITH_4_NUMBERS", - "num_params": 7, - "short_desc": "Displays a styled message in which the first four ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0308", - "member": "PrintWith4NumbersNow", - "name": "PRINT_WITH_4_NUMBERS_NOW", - "num_params": 7, - "short_desc": "Displays a styled message in which the first four ~1~ tokens are substituted with the specified numbers" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0309", - "name": "PRINT_WITH_4_NUMBERS_SOON", - "num_params": 0 - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "num5", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "030A", - "member": "PrintWith5Numbers", - "name": "PRINT_WITH_5_NUMBERS", - "num_params": 8, - "short_desc": "Displays a styled message in which the first five ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "num5", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "030B", - "member": "PrintWith5NumbersNow", - "name": "PRINT_WITH_5_NUMBERS_NOW", - "num_params": 8, - "short_desc": "Displays a styled message in which the first five ~1~ tokens are substituted with the specified numbers" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "030C", - "name": "PRINT_WITH_5_NUMBERS_SOON", - "num_params": 0 - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "num5", - "type": "int" - }, - { - "name": "num6", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "030D", - "member": "PrintWith6Numbers", - "name": "PRINT_WITH_6_NUMBERS", - "num_params": 9, - "short_desc": "Displays a styled message in which the first six ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "num5", - "type": "int" - }, - { - "name": "num6", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "030E", - "member": "PrintWith6NumbersNow", - "name": "PRINT_WITH_6_NUMBERS_NOW", - "num_params": 9, - "short_desc": "Displays a styled message in which the first six ~1~ tokens are substituted with the specified numbers" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "030F", - "name": "PRINT_WITH_6_NUMBERS_SOON", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leader", - "type": "Char" - }, - { - "name": "formationType", - "type": "FormationType" - } - ], - "class": "Char", - "id": "0310", - "member": "SetObjFollowCharInFormation", - "name": "SET_CHAR_OBJ_FOLLOW_CHAR_IN_FORMATION", - "num_params": 3, - "short_desc": "Sets the character's objective to escort the leader character" - }, - { - "input": [ - { - "name": "progress", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0311", - "member": "PlayerMadeProgress", - "name": "PLAYER_MADE_PROGRESS", - "num_params": 1, - "short_desc": "Increases the progress made stat by the specified amount" - }, - { - "input": [ - { - "name": "maxProgress", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0312", - "member": "SetProgressTotal", - "name": "SET_PROGRESS_TOTAL", - "num_params": 1, - "short_desc": "Sets the maximum progress the player can reach" - }, - { - "input": [ - { - "name": "distance", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0313", - "member": "RegisterJumpDistance", - "name": "REGISTER_JUMP_DISTANCE", - "num_params": 1, - "short_desc": "Saves the highest insane jump distance stat" - }, - { - "input": [ - { - "name": "height", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0314", - "member": "RegisterJumpHeight", - "name": "REGISTER_JUMP_HEIGHT", - "num_params": 1, - "short_desc": "Saves the highest insane jump height stat" - }, - { - "input": [ - { - "name": "flips", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0315", - "member": "RegisterJumpFlips", - "name": "REGISTER_JUMP_FLIPS", - "num_params": 1, - "short_desc": "Saves the highest insane jump flips stat" - }, - { - "input": [ - { - "name": "spins", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0316", - "member": "RegisterJumpSpins", - "name": "REGISTER_JUMP_SPINS", - "num_params": 1, - "short_desc": "Saves the highest insane jump rotation stat" - }, - { - "input": [ - { - "name": "stunt", - "type": "StuntType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0317", - "member": "RegisterJumpStunt", - "name": "REGISTER_JUMP_STUNT", - "num_params": 1, - "short_desc": "Saves the best insane stunt stat" - }, - { - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0318", - "member": "RegisterUniqueJumpFound", - "name": "REGISTER_UNIQUE_JUMP_FOUND", - "num_params": 0, - "short_desc": "Increments the completed number of unique stunt jumps stat by 1" - }, - { - "input": [ - { - "name": "total", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0319", - "member": "SetUniqueJumpsTotal", - "name": "SET_UNIQUE_JUMPS_TOTAL", - "num_params": 1, - "short_desc": "Sets the total number of unique stunt jumps stat" - }, - { - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "031A", - "member": "RegisterPassengerDroppedOffTaxi", - "name": "REGISTER_PASSENGER_DROPPED_OFF_TAXI", - "num_params": 0, - "short_desc": "Increments the number of passengers dropped off stat by 1" - }, - { - "input": [ - { - "name": "cashAmount", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "031B", - "member": "RegisterMoneyMadeTaxi", - "name": "REGISTER_MONEY_MADE_TAXI", - "num_params": 1, - "short_desc": "Adds the value to the cash made in taxi stat" - }, - { - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "031C", - "member": "RegisterMissionGiven", - "name": "REGISTER_MISSION_GIVEN", - "num_params": 0, - "short_desc": "Increments the number of mission attempts stat by one" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "031D", - "member": "RegisterMissionPassed", - "name": "REGISTER_MISSION_PASSED", - "num_params": 1, - "short_desc": "Sets the GXT of the last mission passed" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "031E", - "member": "SetRunning", - "name": "SET_CHAR_RUNNING", - "num_params": 2, - "short_desc": "Makes the character run" - }, - { - "attrs": { - "is_static": true - }, - "class": "World", - "id": "031F", - "member": "RemoveAllScriptFires", - "name": "REMOVE_ALL_SCRIPT_FIRES", - "num_params": 0, - "short_desc": "Removes all script fires (02CF)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "color", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "0320", - "member": "IsFirstColor", - "name": "IS_FIRST_CAR_COLOUR", - "num_params": 2, - "short_desc": "Returns true if the vehicle's primary color matches the specified color" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "color", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "0321", - "member": "IsSecondColor", - "name": "IS_SECOND_CAR_COLOUR", - "num_params": 2, - "short_desc": "Returns true if the vehicle's secondary color matches the specified color" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0322", - "member": "HasBeenDamagedByWeapon", - "name": "HAS_CHAR_BEEN_DAMAGED_BY_WEAPON", - "num_params": 2, - "short_desc": "Returns true if the character has been hit by the specified weapon" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "0323", - "member": "HasBeenDamagedByWeapon", - "name": "HAS_CAR_BEEN_DAMAGED_BY_WEAPON", - "num_params": 2, - "short_desc": "Returns true if the vehicle has been hit by the specified weapon" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leader", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0324", - "member": "IsInCharsGroup", - "name": "IS_CHAR_IN_CHARS_GROUP", - "num_params": 2, - "short_desc": "Returns true if the character is part of the leader's group (01DE)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "leader", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0325", - "member": "IsInPlayersGroup", - "name": "IS_CHAR_IN_PLAYERS_GROUP", - "num_params": 2, - "short_desc": "Returns true if the character is part of the leader's group (01DF)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0326", - "member": "ExplodeHead", - "name": "EXPLODE_CHAR_HEAD", - "num_params": 1, - "short_desc": "Dismembers the character" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "class": "Player", - "id": "0327", - "member": "ExplodeHead", - "name": "EXPLODE_PLAYER_HEAD", - "num_params": 1, - "short_desc": "Kills the player" - }, - { - "input": [ - { - "name": "self", - "type": "Boat" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Boat", - "id": "0328", - "member": "Anchor", - "name": "ANCHOR_BOAT", - "num_params": 2, - "short_desc": "Makes the boat stay motionless in the water" - }, - { - "input": [ - { - "name": "zone", - "type": "zone_key" - }, - { - "name": "dayOrNight", - "type": "DayOrNight" - }, - { - "name": "pedGroup", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Zone", - "id": "0329", - "member": "SetGroup", - "name": "SET_ZONE_GROUP", - "num_params": 3, - "short_desc": "Assigns one of the ped groups defined in pedgrp.dat to the map zone" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - } - ], - "output": [ - { - "name": "handle", - "type": "ScriptFire", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "ScriptFire", - "id": "032A", - "member": "CreateCarFire", - "name": "START_CAR_FIRE", - "num_params": 2, - "short_desc": "Creates a script fire on the vehicle" - }, - { - "input": [ - { - "name": "char", - "type": "Char" - } - ], - "output": [ - { - "name": "handle", - "type": "ScriptFire", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "ScriptFire", - "id": "032B", - "member": "CreateCharFire", - "name": "START_CHAR_FIRE", - "num_params": 2, - "short_desc": "Creates a script fire on the character" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "class": "World", - "id": "032C", - "member": "GetRandomCarOfTypeInArea", - "name": "GET_RANDOM_CAR_OF_TYPE_IN_AREA", - "num_params": 6, - "short_desc": "Returns the handle of a random car with the specified model in the specified 2D area, or -1 otherwise", - "attrs": { - "is_constructor": true - } - }, - { - "input": [ - { - "name": "zone", - "type": "zone_key" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "class": "World", - "id": "032D", - "member": "GetRandomCarOfTypeInZone", - "name": "GET_RANDOM_CAR_OF_TYPE_IN_ZONE", - "num_params": 3, - "short_desc": "Returns the handle of a random vehicle with the specified model in the specified map zone, or -1 otherwise", - "attrs": { - "is_constructor": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Garage", - "id": "032E", - "member": "HasResprayHappened", - "name": "HAS_RESPRAY_HAPPENED", - "num_params": 1, - "short_desc": "Returns true if the player's car has been resprayed by the garage" - }, - { - "input": [ - { - "name": "zoom", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "032F", - "member": "SetZoom", - "name": "SET_CAMERA_ZOOM", - "num_params": 1, - "short_desc": "Sets how far behind the camera is from the player" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_object" - }, - { - "name": "pickupType", - "type": "PickupType" - }, - { - "name": "ammo", - "type": "int" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Pickup", - "source": "var_any" - } - ], - "class": "Pickup", - "id": "0330", - "member": "CreateWithAmmo", - "name": "CREATE_PICKUP_WITH_AMMO", - "num_params": 7, - "short_desc": "Creates a weapon pickup, giving the player the specified amount of ammo when they pick it up", - "attrs": { - "is_constructor": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "target", - "type": "Car" - } - ], - "class": "Car", - "id": "0331", - "member": "SetRamCar", - "name": "SET_CAR_RAM_CAR", - "num_params": 2, - "short_desc": "Sets the AI driver's mission to ram another car (similar to 00AF with RamCarFaraway)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "target", - "type": "Car" - } - ], - "class": "Car", - "id": "0332", - "member": "SetBlockCar", - "name": "SET_CAR_BLOCK_CAR", - "num_params": 2, - "short_desc": "Set's the AI driver's mission to obstruct another's car pathway (similar to 00AF with BlockCarFaraway)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0333", - "member": "SetObjCatchTrain", - "name": "SET_CHAR_OBJ_CATCH_TRAIN", - "num_params": 1, - "short_desc": "Sets the character's objective to enter a nearby train" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0334", - "name": "SET_COLL_OBJ_CATCH_TRAIN", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0335", - "member": "SetNeverGetsTired", - "name": "SET_PLAYER_NEVER_GETS_TIRED", - "num_params": 2, - "short_desc": "Defines whether the player can run fast forever" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0336", - "member": "SetFastReload", - "name": "SET_PLAYER_FAST_RELOAD", - "num_params": 2, - "short_desc": "Defines whether the player can reload their gun faster" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0337", - "member": "SetBleeding", - "name": "SET_CHAR_BLEEDING", - "num_params": 2, - "short_desc": "Makes a character bleed" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0338", - "member": "SetFunnySuspension", - "name": "SET_CAR_FUNNY_SUSPENSION", - "num_params": 2, - "short_desc": "", - "attrs": { - "is_nop": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0339", - "member": "SetBigWheels", - "name": "SET_CAR_BIG_WHEELS", - "num_params": 2, - "short_desc": "Sets the car's big wheels property (unused)" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "033A", - "member": "SetFreeResprays", - "name": "SET_FREE_RESPRAYS", - "num_params": 1, - "short_desc": "Defines whether the player can respray their car for free" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "033B", - "member": "SetVisible", - "name": "SET_PLAYER_VISIBLE", - "num_params": 2, - "short_desc": "Sets whether the player is visible or not" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "033C", - "member": "SetVisible", - "name": "SET_CHAR_VISIBLE", - "num_params": 2, - "short_desc": "Sets whether the character is visible or not" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "id": "033D", - "name": "SET_CAR_VISIBLE", - "num_params": 2, - "short_desc": "Sets whether the vehicle is visible or not", - "class": "Car", - "member": "SetVisible" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "solid", - "type": "bool" - }, - { - "name": "car", - "type": "bool" - }, - { - "name": "char", - "type": "bool" - }, - { - "name": "object", - "type": "bool" - }, - { - "name": "particle", - "type": "bool" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "033E", - "member": "IsAreaOccupied", - "name": "IS_AREA_OCCUPIED", - "num_params": 11, - "short_desc": "Returns true if there is anything with the specified properties within the 3D area" - }, - { - "attrs": { - "is_static": true - }, - "class": "DrugRun", - "id": "033F", - "member": "Start", - "name": "START_DRUG_RUN", - "num_params": 0, - "short_desc": "Creates a plane flying along the prerecorded path in the 'S.A.M.' mission" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "DrugRun", - "id": "0340", - "member": "HasBeenCompleted", - "name": "HAS_DRUG_RUN_BEEN_COMPLETED", - "num_params": 0, - "short_desc": "Returns true if the plane in the 'S.A.M.' mission has landed" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "DrugRun", - "id": "0341", - "member": "HasPlaneBeenShotDown", - "name": "HAS_DRUG_PLANE_BEEN_SHOT_DOWN", - "num_params": 0, - "short_desc": "Returns true if the plane in the 'S.A.M.' mission has been destroyed" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "class": "Player", - "id": "0342", - "member": "SaveFromFires", - "name": "SAVE_PLAYER_FROM_FIRES", - "num_params": 1, - "short_desc": "Removes all fires located within 3.0 units of the player's position" - }, - { - "input": [ - { - "name": "offsetLeft", - "type": "float" - }, - { - "name": "offsetTop", - "type": "float" - }, - { - "name": "key", - "type": "gxt_key" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0343", - "member": "Display", - "name": "DISPLAY_TEXT", - "num_params": 3, - "short_desc": "Draws text at the specified on-screen position" - }, - { - "input": [ - { - "name": "widthScale", - "type": "float" - }, - { - "name": "heightScale", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0344", - "member": "SetScale", - "name": "SET_TEXT_SCALE", - "num_params": 2, - "short_desc": "Scales the width and height of the text letters" - }, - { - "input": [ - { - "name": "red", - "type": "int" - }, - { - "name": "green", - "type": "int" - }, - { - "name": "blue", - "type": "int" - }, - { - "name": "alpha", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0345", - "member": "SetColor", - "name": "SET_TEXT_COLOUR", - "num_params": 4, - "short_desc": "Sets the color of the text letters" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0346", - "member": "SetJustify", - "name": "SET_TEXT_JUSTIFY", - "num_params": 1, - "short_desc": "Sets the text to be drawn justified, which means the text will wrap in order to fill an even rectangle of space" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0347", - "member": "SetCenter", - "name": "SET_TEXT_CENTRE", - "num_params": 1, - "short_desc": "Centers the text" - }, - { - "input": [ - { - "name": "width", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0348", - "member": "SetWrapX", - "name": "SET_TEXT_WRAPX", - "num_params": 1, - "short_desc": "Sets the line width of the text" - }, - { - "input": [ - { - "name": "width", - "type": "float" - } - ], - "id": "0349", - "name": "SET_TEXT_CENTRE_SIZE", - "num_params": 1, - "short_desc": "Sets the line width of the centered text", - "class": "Text", - "member": "SetCenterSize", - "attrs": { - "is_static": true - } - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "034A", - "member": "SetBackground", - "name": "SET_TEXT_BACKGROUND", - "num_params": 1, - "short_desc": "Gives the text a background (0346)" - }, - { - "input": [ - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - }, - { - "name": "a", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "034B", - "member": "SetBackgroundColor", - "name": "SET_TEXT_BACKGROUND_COLOUR", - "num_params": 4, - "short_desc": "Sets the color of the background of the text" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "034C", - "member": "SetBackgroundOnlyText", - "name": "SET_TEXT_BACKGROUND_ONLY_TEXT", - "num_params": 1, - "short_desc": "Sets the background of the text to enclose centered text (0342 and 0346)" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "034D", - "member": "SetProportional", - "name": "SET_TEXT_PROPORTIONAL", - "num_params": 1, - "short_desc": "Makes the text size proportionate" - }, - { - "input": [ - { - "name": "font", - "type": "Font" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "034E", - "member": "SetFont", - "name": "SET_TEXT_FONT", - "num_params": 1, - "short_desc": "Sets the text draw font" - }, - { - "id": "034F", - "name": "COMMAND_034F", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0350", - "name": "COMMAND_0350", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0351", - "name": "COMMAND_0351", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "fromAngle", - "type": "float" - }, - { - "name": "toAngle", - "type": "float" - }, - { - "name": "collisionCheck", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "0352", - "member": "Rotate", - "name": "ROTATE_OBJECT", - "num_params": 4, - "short_desc": "Rotates the object from one angle to another, optionally accounting for a collision during the rotation" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "fromX", - "type": "float" - }, - { - "name": "fromY", - "type": "float" - }, - { - "name": "fromZ", - "type": "float" - }, - { - "name": "xSpeed", - "type": "float" - }, - { - "name": "ySpeed", - "type": "float" - }, - { - "name": "zSpeed", - "type": "float" - }, - { - "name": "collisionCheck", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "0353", - "member": "Slide", - "name": "SLIDE_OBJECT", - "num_params": 8, - "short_desc": "Returns true if the object has finished moving" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0354", - "member": "RemoveElegantly", - "name": "REMOVE_CHAR_ELEGANTLY", - "num_params": 1, - "short_desc": "Removes the character with a fade, freeing game memory" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0355", - "member": "SetStayInSamePlace", - "name": "SET_CHAR_STAY_IN_SAME_PLACE", - "num_params": 2, - "short_desc": "Makes the character maintain their position when attacked" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "0356", - "member": "IsNasty", - "name": "IS_NASTY_GAME", - "num_params": 0, - "short_desc": "Returns true if the game has no violent elements censored" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "modelName", - "type": "string" - } - ], - "class": "Char", - "id": "0357", - "member": "Undress", - "name": "UNDRESS_CHAR", - "num_params": 2, - "short_desc": "Removes the character and requests a new special model to load" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0358", - "member": "Dress", - "name": "DRESS_CHAR", - "num_params": 1, - "short_desc": "Respawns the character using the model requested with 0352" - }, - { - "input": [ - { - "name": "startTime", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "ChaseScene", - "id": "0359", - "member": "Start", - "name": "START_CHASE_SCENE", - "num_params": 1, - "short_desc": "Starts the chase scene (intro mission custscene)" - }, - { - "attrs": { - "is_static": true - }, - "class": "ChaseScene", - "id": "035A", - "member": "Stop", - "name": "STOP_CHASE_SCENE", - "num_params": 0, - "short_desc": "Stops the chase scene (intro mission custscene)" - }, - { - "input": [ - { - "name": "explosionType", - "type": "ExplosionType" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "035B", - "member": "IsExplosionInArea", - "name": "IS_EXPLOSION_IN_AREA", - "num_params": 7, - "short_desc": "Returns true if there is an explosion of the specified type in the 3D area" - }, - { - "input": [ - { - "name": "explosionType", - "type": "ExplosionType" - }, - { - "name": "zone", - "type": "zone_key" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "035C", - "member": "IsExplosionInZone", - "name": "IS_EXPLOSION_IN_ZONE", - "num_params": 2, - "short_desc": "Returns true if an explosion of the specified type in the map zone" - }, - { - "attrs": { - "is_static": true - }, - "class": "DrugDropOff", - "id": "035D", - "member": "Start", - "name": "START_DRUG_DROP_OFF", - "num_params": 0, - "short_desc": "Creates a plane flying along the prerecorded path in the 'A Drop In The Ocean' mission" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "DrugDropOff", - "id": "035E", - "member": "HasPlaneBeenShotDown", - "name": "HAS_DROP_OFF_PLANE_BEEN_SHOT_DOWN", - "num_params": 0, - "short_desc": "Returns true if the plane in the 'A Drop In The Ocean' mission has been destroyed" - }, - { - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "DrugDropOff", - "id": "035F", - "member": "FindPlaneCoordinates", - "name": "FIND_DROP_OFF_PLANE_COORDINATES", - "num_params": 3, - "short_desc": "Stores the current coordinates of the plane in the 'A Drop In The Ocean' mission" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Pickup", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Pickup", - "id": "0360", - "member": "CreateFloatingPackage", - "name": "CREATE_FLOATING_PACKAGE", - "num_params": 4, - "short_desc": "Creates a pickup of type FloatingPackage at the given coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "xOffset", - "type": "float" - }, - { - "name": "yOffset", - "type": "float" - }, - { - "name": "zOffset", - "type": "float" - } - ], - "class": "Object", - "id": "0361", - "member": "PlaceRelativeToCar", - "name": "PLACE_OBJECT_RELATIVE_TO_CAR", - "num_params": 5, - "short_desc": "Places the object at an offset from the car" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "class": "Object", - "id": "0362", - "member": "MakeTargetable", - "name": "MAKE_OBJECT_TARGETABLE", - "num_params": 1, - "short_desc": "Makes the object targettable (ability to be auto-aimed)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "amount", - "type": "int" - } - ], - "class": "Player", - "id": "0363", - "member": "AddArmour", - "name": "ADD_ARMOUR_TO_PLAYER", - "num_params": 2, - "short_desc": "Increases the character's armour by the specified value to the maximum of 100.0" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "amount", - "type": "int" - } - ], - "class": "Char", - "id": "0364", - "member": "AddArmor", - "name": "ADD_ARMOUR_TO_CHAR", - "num_params": 2, - "short_desc": "Increases the character's armor by the specified value to the maximum of 100.0" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - } - ], - "class": "Garage", - "id": "0365", - "member": "Open", - "name": "OPEN_GARAGE", - "num_params": 1, - "short_desc": "Opens the garage" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - } - ], - "class": "Garage", - "id": "0366", - "member": "Close", - "name": "CLOSE_GARAGE", - "num_params": 1, - "short_desc": "Closes the garage" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Char", - "id": "0367", - "member": "WarpFromCarToCoord", - "name": "WARP_CHAR_FROM_CAR_TO_COORD", - "num_params": 4, - "short_desc": "Pulls the character out of their car and places at the location" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "modelId", - "type": "model_object" - }, - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "0368", - "member": "SetVisibilityOfClosestObjectOfType", - "name": "SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE", - "num_params": 6, - "short_desc": "Sets the visibility of the object closest to the specified coordinates, matching the specified model" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - } - ], - "id": "0369", - "name": "HAS_CHAR_SPOTTED_CHAR", - "num_params": 2, - "short_desc": "Returns true if the character can see the target character", - "attrs": { - "is_condition": true - }, - "class": "Char", - "member": "HasSpottedChar" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "036A", - "member": "SetObjHailTaxi", - "name": "SET_CHAR_OBJ_HAIL_TAXI", - "num_params": 1, - "short_desc": "Sets the character's objective to hail a taxi" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "036B", - "member": "HasBeenDamaged", - "name": "HAS_OBJECT_BEEN_DAMAGED", - "num_params": 1, - "short_desc": "Returns true if the object is damaged" - }, - { - "input": [ - { - "name": "text", - "type": "gxt_key" - }, - { - "name": "weaponType", - "type": "WeaponType" - }, - { - "name": "timeInMs", - "type": "int" - }, - { - "name": "targetsNum", - "type": "int" - }, - { - "name": "targetModel1", - "type": "model_any" - }, - { - "name": "targetModel2", - "type": "model_any" - }, - { - "name": "targetModel3", - "type": "model_any" - }, - { - "name": "targetModel4", - "type": "model_any" - }, - { - "name": "betaSoundsAndMessages", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "KillFrenzy", - "id": "036C", - "member": "StartHeadshot", - "name": "START_KILL_FRENZY_HEADSHOT", - "num_params": 9, - "short_desc": "Starts a headshot rampage" - }, - { - "input": [ - { - "name": "craneX", - "type": "float" - }, - { - "name": "craneY", - "type": "float" - }, - { - "name": "pickupZoneX1", - "type": "float" - }, - { - "name": "pickupZoneY1", - "type": "float" - }, - { - "name": "pickupZoneX2", - "type": "float" - }, - { - "name": "pickupZoneY2", - "type": "float" - }, - { - "name": "dropOffX", - "type": "float" - }, - { - "name": "dropOffY", - "type": "float" - }, - { - "name": "dropOffZ", - "type": "float" - }, - { - "name": "dropOffAngle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Crane", - "id": "036D", - "member": "ActivateMilitary", - "name": "ACTIVATE_MILITARY_CRANE", - "num_params": 10, - "short_desc": "Activates a military crane located within 100.0 units of the specified location" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "Player", - "id": "036E", - "member": "WarpIntoCar", - "name": "WARP_PLAYER_INTO_CAR", - "num_params": 2, - "short_desc": "Puts the player in the specified vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "Char", - "id": "036F", - "member": "WarpIntoCar", - "name": "WARP_CHAR_INTO_CAR", - "num_params": 2, - "short_desc": "Puts the character in the specified vehicle" - }, - { - "id": "0370", - "name": "COMMAND_0370", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0371", - "name": "SET_AUDIO_STREAM", - "num_params": 0 - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0372", - "member": "PrintWith2NumbersBig", - "name": "PRINT_WITH_2_NUMBERS_BIG", - "num_params": 5, - "short_desc": "Displays a styled message in which the first two ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0373", - "member": "PrintWith3NumbersBig", - "name": "PRINT_WITH_3_NUMBERS_BIG", - "num_params": 6, - "short_desc": "Displays a styled message in which the first three ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0374", - "member": "PrintWith4NumbersBig", - "name": "PRINT_WITH_4_NUMBERS_BIG", - "num_params": 7, - "short_desc": "Displays a styled message in which the first four ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "num5", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0375", - "member": "PrintWith5NumbersBig", - "name": "PRINT_WITH_5_NUMBERS_BIG", - "num_params": 8, - "short_desc": "Displays a styled message in which the first five ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - }, - { - "name": "num3", - "type": "int" - }, - { - "name": "num4", - "type": "int" - }, - { - "name": "num5", - "type": "int" - }, - { - "name": "num6", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0376", - "member": "PrintWith6NumbersBig", - "name": "PRINT_WITH_6_NUMBERS_BIG", - "num_params": 9, - "short_desc": "Displays a styled message in which the first six ~1~ tokens are substituted with the specified numbers" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "stateId", - "type": "WaitState" - }, - { - "name": "timeInMs", - "type": "int" - } - ], - "class": "Char", - "id": "0377", - "member": "SetWaitState", - "name": "SET_CHAR_WAIT_STATE", - "num_params": 3, - "short_desc": "Puts the character in the idle state for the given period of time" - }, - { - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0378", - "member": "SetBehindPlayer", - "name": "SET_CAMERA_BEHIND_PLAYER", - "num_params": 0, - "short_desc": "Puts the camera behind the player" - }, - { - "input": [ - { - "name": "type", - "type": "MotionBlurType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0379", - "member": "SetMotionBlur", - "name": "SET_MOTION_BLUR", - "num_params": 1, - "short_desc": "Sets the motion blur (camera overlay color)" - }, - { - "input": [ - { - "name": "templateKey", - "type": "gxt_key" - }, - { - "name": "replacementKey", - "type": "gxt_key" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "037A", - "member": "PrintStringInString", - "name": "PRINT_STRING_IN_STRING", - "num_params": 4, - "short_desc": "Displays a styled message in which the first string token ~a~ is substituted with the specified text" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Char", - "id": "037B", - "member": "CreateRandom", - "name": "CREATE_RANDOM_CHAR", - "num_params": 4, - "short_desc": "Creates a character with a randomised model and pedtype at the specified coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "037C", - "member": "SetObjStealAnyCar", - "name": "SET_CHAR_OBJ_STEAL_ANY_CAR", - "num_params": 1, - "short_desc": "Sets the character's objective to find any traffic vehicle nearby and take the driver's seat" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "037D", - "member": "Set2RepeatedMessages", - "name": "SET_2_REPEATED_PHONE_MESSAGES", - "num_params": 3, - "short_desc": "Assigns two script lines to the phone which can be picked up again in a minute" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "037E", - "member": "Set2Messages", - "name": "SET_2_PHONE_MESSAGES", - "num_params": 3, - "short_desc": "Assigns two script lines to the phone" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - }, - { - "name": "msg3", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "037F", - "member": "Set3RepeatedMessages", - "name": "SET_3_REPEATED_PHONE_MESSAGES", - "num_params": 4, - "short_desc": "Assigns three script lines to the phone which can be picked up again in a minute" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - }, - { - "name": "msg3", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "0380", - "member": "Set3Messages", - "name": "SET_3_PHONE_MESSAGES", - "num_params": 4, - "short_desc": "Assigns three script lines to the phone" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - }, - { - "name": "msg3", - "type": "gxt_key" - }, - { - "name": "msg4", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "0381", - "member": "Set4RepeatedMessages", - "name": "SET_4_REPEATED_PHONE_MESSAGES", - "num_params": 5, - "short_desc": "Assigns four script lines to the phone which can be picked up again in a minute" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - }, - { - "name": "msg3", - "type": "gxt_key" - }, - { - "name": "msg4", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "0382", - "member": "Set4Messages", - "name": "SET_4_PHONE_MESSAGES", - "num_params": 5, - "short_desc": "Assigns four script lines to the phone" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "0383", - "member": "IsSniperBulletInArea", - "name": "IS_SNIPER_BULLET_IN_AREA", - "num_params": 6, - "short_desc": "Returns true if a sniper bullet is in the specified area" - }, - { - "attrs": { - "is_static": true - }, - "class": "Player", - "id": "0384", - "member": "GiveDetonator", - "name": "GIVE_PLAYER_DETONATOR", - "num_params": 0, - "short_desc": "Gives the player a detonator" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0385", - "name": "SET_COLL_OBJ_STEAL_ANY_CAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "xSpeed", - "type": "float" - }, - { - "name": "ySpeed", - "type": "float" - }, - { - "name": "zSpeed", - "type": "float" - } - ], - "class": "Object", - "id": "0386", - "member": "SetVelocity", - "name": "SET_OBJECT_VELOCITY", - "num_params": 4, - "short_desc": "Sets the object's velocity" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Object", - "id": "0387", - "member": "SetCollision", - "name": "SET_OBJECT_COLLISION", - "num_params": 2, - "short_desc": "Sets the object's collision detection" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "0388", - "member": "IsIcecreamJingleOn", - "name": "IS_ICECREAM_JINGLE_ON", - "num_params": 1, - "short_desc": "Returns true if the vehicle's siren is on" - }, - { - "input": [ - { - "name": "templateKey", - "type": "gxt_key" - }, - { - "name": "replacementKey", - "type": "gxt_key" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "style", - "type": "TextStyle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0389", - "member": "PrintStringInStringNow", - "name": "PRINT_STRING_IN_STRING_NOW", - "num_params": 4, - "short_desc": "Displays a styled message in which the first string token ~a~ is substituted with the specified text" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "038A", - "name": "PRINT_STRING_IN_STRING_SOON", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - }, - { - "name": "msg3", - "type": "gxt_key" - }, - { - "name": "msg4", - "type": "gxt_key" - }, - { - "name": "msg5", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "038B", - "member": "Set5RepeatedMessages", - "name": "SET_5_REPEATED_PHONE_MESSAGES", - "num_params": 6, - "short_desc": "Assigns five script lines to the phone which can be picked up again in a minute" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - }, - { - "name": "msg3", - "type": "gxt_key" - }, - { - "name": "msg4", - "type": "gxt_key" - }, - { - "name": "msg5", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "038C", - "member": "Set5Messages", - "name": "SET_5_PHONE_MESSAGES", - "num_params": 6, - "short_desc": "Assigns five script lines to the phone" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - }, - { - "name": "msg3", - "type": "gxt_key" - }, - { - "name": "msg4", - "type": "gxt_key" - }, - { - "name": "msg5", - "type": "gxt_key" - }, - { - "name": "msg6", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "038D", - "member": "Set6RepeatedMessages", - "name": "SET_6_REPEATED_PHONE_MESSAGES", - "num_params": 7, - "short_desc": "Assigns six script lines to the phone which can be picked up again in a minute" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - }, - { - "name": "msg1", - "type": "gxt_key" - }, - { - "name": "msg2", - "type": "gxt_key" - }, - { - "name": "msg3", - "type": "gxt_key" - }, - { - "name": "msg4", - "type": "gxt_key" - }, - { - "name": "msg5", - "type": "gxt_key" - }, - { - "name": "msg6", - "type": "gxt_key" - } - ], - "class": "Phone", - "id": "038E", - "member": "Set6Messages", - "name": "SET_6_PHONE_MESSAGES", - "num_params": 7, - "short_desc": "Assigns six script lines to the phone" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "radiusX", - "type": "float" - }, - { - "name": "radiusY", - "type": "float" - }, - { - "name": "radiusZ", - "type": "float" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "038F", - "member": "IsPointObscuredByAMissionEntity", - "name": "IS_POINT_OBSCURED_BY_A_MISSION_ENTITY", - "num_params": 6, - "short_desc": "Returns true if there is a vehicle in the specified area" - }, - { - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "0390", - "member": "LoadAllModelsNow", - "name": "LOAD_ALL_MODELS_NOW", - "num_params": 0, - "short_desc": "Loads any requested models (0247 or 0353) synchronously" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Object", - "id": "0391", - "member": "AddToVelocity", - "name": "ADD_TO_OBJECT_VELOCITY", - "num_params": 4, - "short_desc": "Adds the given vector to the object's velocity (0381)" - }, - { - "input": [ - { - "name": "memorySlot", - "type": "int" - }, - { - "name": "offsetLeft", - "type": "float" - }, - { - "name": "offsetTop", - "type": "float" - }, - { - "name": "width", - "type": "float" - }, - { - "name": "height", - "type": "float" - }, - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - }, - { - "name": "a", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "0392", - "member": "DrawSprite", - "name": "DRAW_SPRITE", - "num_params": 9, - "short_desc": "Draws a loaded texture (038F) at the specified on-screen X and Y coordinates, with the specified size and RGBA color" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "width", - "type": "float" - }, - { - "name": "height", - "type": "float" - }, - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - }, - { - "name": "a", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "0393", - "member": "DrawRect", - "name": "DRAW_RECT", - "num_params": 8, - "short_desc": "Draws a box at the specified screen X and Y position, with the specified size and RGBA colors" - }, - { - "input": [ - { - "name": "memorySlot", - "type": "int" - }, - { - "name": "spriteName", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Txd", - "id": "0394", - "member": "LoadSprite", - "name": "LOAD_SPRITE", - "num_params": 2, - "short_desc": "Loads a sprite from the most recently loaded texture dictionary (0390)" - }, - { - "input": [ - { - "name": "name", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Txd", - "id": "0395", - "member": "LoadDictionary", - "name": "LOAD_TEXTURE_DICTIONARY", - "num_params": 1, - "short_desc": "Loads the texture dictionary for use in drawing sprites (038D) on the screen" - }, - { - "attrs": { - "is_static": true - }, - "class": "Txd", - "id": "0396", - "member": "Remove", - "name": "REMOVE_TEXTURE_DICTIONARY", - "num_params": 0, - "short_desc": "Unloads all currently loaded textures (038F), as well as texture dictionaries (0390), freeing game memory" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Object", - "id": "0397", - "member": "SetDynamic", - "name": "SET_OBJECT_DYNAMIC", - "num_params": 2, - "short_desc": "Defines whether or not the object is moveable" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "animSpeed", - "type": "float" - } - ], - "class": "Char", - "id": "0398", - "member": "SetAnimSpeed", - "name": "SET_CHAR_ANIM_SPEED", - "num_params": 2, - "short_desc": "Makes the character perform an animation at the specified speed" - }, - { - "input": [ - { - "name": "soundId", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Audio", - "id": "0399", - "member": "PlayMissionPassedTune", - "name": "PLAY_MISSION_PASSED_TUNE", - "num_params": 1, - "short_desc": "Plays an audio file with the specified ID from the Audio directory" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "clearParticles", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "039A", - "member": "ClearArea", - "name": "CLEAR_AREA", - "num_params": 5, - "short_desc": "Clears the area, removing all vehicles and pedestrians" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "039B", - "member": "FreezeTimer", - "name": "FREEZE_ONSCREEN_TIMER", - "num_params": 1, - "short_desc": "Makes the on-screen timer stop updating" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "039C", - "member": "SwitchSiren", - "name": "SWITCH_CAR_SIREN", - "num_params": 2, - "short_desc": "Sets whether the car's alarm can be activated" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "039D", - "member": "SwitchPedRoadsOnAngled", - "name": "SWITCH_PED_ROADS_ON_ANGLED", - "num_params": 7, - "short_desc": "Enables pedestrians walk into the specified angled area" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "039E", - "member": "SwitchPedRoadsOffAngled", - "name": "SWITCH_PED_ROADS_OFF_ANGLED", - "num_params": 7, - "short_desc": "Forbids pedestrians to walk into the specified angled area" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "039F", - "member": "SwitchRoadsOnAngled", - "name": "SWITCH_ROADS_ON_ANGLED", - "num_params": 7, - "short_desc": "Allows cars to drive in the specified angled area" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "angle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "03A0", - "member": "SwitchRoadsOffAngled", - "name": "SWITCH_ROADS_OFF_ANGLED", - "num_params": 7, - "short_desc": "Prevents cars from driving on roads in the specified angled area" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "03A1", - "member": "SetWatertight", - "name": "SET_CAR_WATERTIGHT", - "num_params": 2, - "short_desc": "Makes the vehicle watertight, meaning characters inside will not be harmed if the vehicle is submerged in water" - }, - { - "input": [ - { - "name": "particle", - "type": "ParticleObject" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "strengthX", - "type": "float" - }, - { - "name": "strengthY", - "type": "float" - }, - { - "name": "strengthZ", - "type": "float" - }, - { - "name": "scale", - "type": "float" - }, - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - }, - { - "name": "durationInMs", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Fx", - "id": "03A2", - "member": "AddMovingParticleEffect", - "name": "ADD_MOVING_PARTICLE_EFFECT", - "num_params": 12, - "short_desc": "Adds a moving particle effect" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "03A3", - "member": "SetCantBeDraggedOut", - "name": "SET_CHAR_CANT_BE_DRAGGED_OUT", - "num_params": 2, - "short_desc": "Locks the character while in a car" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "class": "Car", - "id": "03A4", - "member": "TurnToFaceCoord", - "name": "TURN_CAR_TO_FACE_COORD", - "num_params": 3, - "short_desc": "Sets the car's heading so that it is facing the 2D coordinate" - }, - { - "input": [ - { - "name": "craneX", - "type": "float" - }, - { - "name": "craneY", - "type": "float" - }, - { - "name": "car", - "type": "Car" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Crane", - "id": "03A5", - "member": "IsLiftingCar", - "name": "IS_CRANE_LIFTING_CAR", - "num_params": 3, - "short_desc": "Checks if a crane located within 100.0 units of the specified location is lifting the vehicle" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "radius", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Sphere", - "id": "03A6", - "member": "Draw", - "name": "DRAW_SPHERE", - "num_params": 4, - "short_desc": "Displays a red cylinder sphere" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "status", - "type": "EntityStatus" - } - ], - "class": "Car", - "id": "03A7", - "member": "SetStatus", - "name": "SET_CAR_STATUS", - "num_params": 2, - "short_desc": "Sets the car's status" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "03A8", - "member": "IsMale", - "name": "IS_CHAR_MALE", - "num_params": 1, - "short_desc": "Returns true if the character is male" - }, - { - "input": [ - { - "name": "name", - "type": "string" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "03A9", - "name": "SCRIPT_NAME", - "num_params": 1, - "short_desc": "Assigns a new name to the current script" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - }, - { - "name": "type", - "type": "GarageType" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "class": "Garage", - "id": "03AA", - "member": "ChangeTypeWithCarModel", - "name": "CHANGE_GARAGE_TYPE_WITH_CAR_MODEL", - "num_params": 3, - "short_desc": "Changes the type of garage and target model" - }, - { - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "DrugRun", - "id": "03AB", - "member": "FindPlaneCoordinates", - "name": "FIND_DRUG_PLANE_COORDINATES", - "num_params": 3, - "short_desc": "Returns the current coordinates of the plane in the 'S.A.M.' mission" - }, - { - "attrs": { - "is_nop": true - }, - "id": "03AC", - "input": [ - { - "name": "_p1", - "type": "int" - } - ], - "name": "SAVE_INT_TO_DEBUG_FILE", - "num_params": 1, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "03AD", - "input": [ - { - "name": "_p1", - "type": "float" - } - ], - "name": "SAVE_FLOAT_TO_DEBUG_FILE", - "num_params": 1, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_nop": true - }, - "id": "03AE", - "name": "SAVE_NEWLINE_TO_DEBUG_FILE", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Audio", - "id": "03AF", - "member": "PoliceRadioMessage", - "name": "POLICE_RADIO_MESSAGE", - "num_params": 3, - "short_desc": "Plays police radio message audio reporting the suspect has last been seen at the specified location" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "03B0", - "member": "SetStrong", - "name": "SET_CAR_STRONG", - "num_params": 2, - "short_desc": "Defines whether the car is more resistant to collisions than normal" - }, - { - "input": [ - { - "name": "routeId", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "03B1", - "member": "RemoveRoute", - "name": "REMOVE_ROUTE", - "num_params": 1, - "short_desc": "Clears all waypoints in the route with the specified id" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "03B2", - "member": "SwitchRubbish", - "name": "SWITCH_RUBBISH", - "num_params": 1, - "short_desc": "Toggles garbage on the streets" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "03B3", - "member": "RemoveParticleEffectsInArea", - "name": "REMOVE_PARTICLE_EFFECTS_IN_AREA", - "num_params": 6, - "short_desc": "Removes all particle effects (02A2 or 039D) in the specified area" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "03B4", - "member": "Switch", - "name": "SWITCH_STREAMING", - "num_params": 1, - "short_desc": "Sets the streaming of additional models like peds, cars, and maps" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Garage", - "id": "03B5", - "member": "IsOpen", - "name": "IS_GARAGE_OPEN", - "num_params": 1, - "short_desc": "Returns true if the garage's door is open" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Garage", - "id": "03B6", - "member": "IsClosed", - "name": "IS_GARAGE_CLOSED", - "num_params": 1, - "short_desc": "Returns true if the garage's door is closed" - }, - { - "attrs": { - "is_static": true - }, - "class": "CatalinaHeli", - "id": "03B7", - "member": "Start", - "name": "START_CATALINA_HELI", - "num_params": 0, - "short_desc": "Creates a heli flying in the 'The Exchange' mission " - }, - { - "attrs": { - "is_static": true - }, - "class": "CatalinaHeli", - "id": "03B8", - "member": "TakeOff", - "name": "CATALINA_HELI_TAKE_OFF", - "num_params": 0, - "short_desc": "Makes the heli in the 'The Exchange' mission take off" - }, - { - "attrs": { - "is_static": true - }, - "class": "CatalinaHeli", - "id": "03B9", - "member": "Remove", - "name": "REMOVE_CATALINA_HELI", - "num_params": 0, - "short_desc": "Deletes the heli flying in the 'The Exchange' mission" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "CatalinaHeli", - "id": "03BA", - "member": "HasBeenShotDown", - "name": "HAS_CATALINA_HELI_BEEN_SHOT_DOWN", - "num_params": 0, - "short_desc": "Returns true if the player damaged the heli flying in the 'The Exchange' mission" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "fromModelId", - "type": "model_object" - }, - { - "name": "toModelId", - "type": "model_object" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "03BB", - "member": "SwapNearestBuildingModel", - "name": "SWAP_NEAREST_BUILDING_MODEL", - "num_params": 6, - "short_desc": "Swaps a map model with another map model nearest to the center of the search area" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "03BC", - "member": "SwitchProcessing", - "name": "SWITCH_WORLD_PROCESSING", - "num_params": 1, - "short_desc": "Sets whether the game should render the world or only the cutscene objects" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "class": "Player", - "id": "03BD", - "member": "RemoveAllWeapons", - "name": "REMOVE_ALL_PLAYER_WEAPONS", - "num_params": 1, - "short_desc": "Takes all weapons away from the player" - }, - { - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "CatalinaHeli", - "id": "03BE", - "member": "Grab", - "name": "GRAB_CATALINA_HELI", - "num_params": 1, - "short_desc": "Returns the handle of the heli created with 03B2" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "03BF", - "member": "ClearAreaOfCars", - "name": "CLEAR_AREA_OF_CARS", - "num_params": 6, - "short_desc": "Clears all cars in the specified 3D area" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - } - ], - "class": "Garage", - "id": "03C0", - "member": "SetRotatingDoor", - "name": "SET_ROTATING_GARAGE_DOOR", - "num_params": 1, - "short_desc": "Sets the garage door to swing open instead of slide open" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "radius", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "Sphere", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Sphere", - "id": "03C1", - "member": "Create", - "name": "ADD_SPHERE", - "num_params": 5, - "short_desc": "Creates a static sphere at the location, with the specified radius" - }, - { - "input": [ - { - "name": "self", - "type": "Sphere" - } - ], - "attrs": { - "is_destructor": true - }, - "class": "Sphere", - "id": "03C2", - "member": "Remove", - "name": "REMOVE_SPHERE", - "num_params": 1, - "short_desc": "Destroys a static sphere" - }, - { - "attrs": { - "is_static": true - }, - "class": "CatalinaHeli", - "id": "03C3", - "member": "FlyAway", - "name": "CATALINA_HELI_FLY_AWAY", - "num_params": 0, - "short_desc": "Makes the heli in the 'The Exchange' mission fly high in the sky" - }, - { - "input": [ - { - "name": "handle", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "03C4", - "member": "SetEveryoneIgnorePlayer", - "name": "SET_EVERYONE_IGNORE_PLAYER", - "num_params": 2, - "short_desc": "Makes pedestrians pay no attention to the player" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "class": "Char", - "id": "03C5", - "member": "StoreCarIsInNoSave", - "name": "STORE_CAR_CHAR_IS_IN_NO_SAVE", - "num_params": 2, - "short_desc": "Returns the character's vehicle handle without marking it as used by the script, therefore allowing it to be deleted by the game at any time" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "class": "Player", - "id": "03C6", - "member": "StoreCarIsInNoSave", - "name": "STORE_CAR_PLAYER_IS_IN_NO_SAVE", - "num_params": 2, - "short_desc": "Returns the player's vehicle handle without marking it as used by the script, therefore allowing it to be deleted by the game at any time" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Phone", - "id": "03C7", - "member": "IsDisplayingMessage", - "name": "IS_PHONE_DISPLAYING_MESSAGE", - "num_params": 1, - "short_desc": "Returns true if the phone is displaying an assigned script line" - }, - { - "id": "03C8", - "name": "COMMAND_03C8", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "counter", - "type": "int", - "source": "var_global" - }, - { - "name": "display", - "type": "CounterDisplay" - }, - { - "name": "text", - "type": "gxt_key" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "03C9", - "member": "DisplayCounterWithString", - "name": "DISPLAY_ONSCREEN_COUNTER_WITH_STRING", - "num_params": 3, - "short_desc": "Displays an onscreen counter with the text, either shown in numbers or as a bar" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "heading", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "03CA", - "member": "CreateRandomCarForCarPark", - "name": "CREATE_RANDOM_CAR_FOR_CAR_PARK", - "num_params": 4, - "short_desc": "Starts spawning random cars at the specified location" - }, - { - "input": [ - { - "name": "level", - "type": "LevelName" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Streaming", - "id": "03CB", - "member": "IsCollisionInMemory", - "name": "IS_COLLISION_IN_MEMORY", - "num_params": 1, - "short_desc": "Returns true if the level (island) collision is loaded (03F7)" - }, - { - "input": [ - { - "name": "multiplier", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "03CC", - "member": "SetWantedMultiplier", - "name": "SET_WANTED_MULTIPLIER", - "num_params": 1, - "short_desc": "Sets sensitivity to crime, changing how many crimes a player can commit before police begin to pursue" - }, - { - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "03CD", - "member": "SetInFrontOfPlayer", - "name": "SET_CAMERA_IN_FRONT_OF_PLAYER", - "num_params": 0, - "short_desc": "Puts the camera in front of the player, pointing towards the player" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "id": "03CE", - "name": "IS_CAR_VISIBLY_DAMAGED", - "num_params": 1, - "short_desc": "Returns true if any of the car components is visibly damaged or lost", - "attrs": { - "is_condition": true - }, - "class": "Car", - "member": "IsVisiblyDamaged" - }, - { - "input": [ - { - "name": "handle", - "type": "any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Object", - "id": "03CF", - "member": "DoesExist", - "name": "DOES_OBJECT_EXIST", - "num_params": 1, - "short_desc": "Returns true if the handle is a valid object handle" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "03D0", - "member": "LoadScene", - "name": "LOAD_SCENE", - "num_params": 3, - "short_desc": "Starts loading a specific location, just like if the player was there, removing LOD textures" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "speed", - "type": "float" - }, - { - "name": "duration", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "StuckCarCheck", - "id": "03D1", - "member": "Add", - "name": "ADD_STUCK_CAR_CHECK", - "num_params": 3, - "short_desc": "Adds the vehicle to the stuck cars array" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - } - ], - "attrs": { - "is_static": true - }, - "class": "StuckCarCheck", - "id": "03D2", - "member": "Remove", - "name": "REMOVE_STUCK_CAR_CHECK", - "num_params": 1, - "short_desc": "Removes the vehicle from the stuck cars array" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "StuckCarCheck", - "id": "03D3", - "member": "IsCarStuck", - "name": "IS_CAR_STUCK", - "num_params": 1, - "short_desc": "Returns true if the car is stuck" - }, - { - "id": "03D4", - "name": "COMMAND_03D4", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "03D5", - "name": "COMMAND_03D5", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "03D6", - "name": "COMMAND_03D6", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "03D7", - "name": "COMMAND_03D7", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "output": [ - { - "name": "nodeX", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeY", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeZ", - "type": "float", - "source": "var_any" - }, - { - "name": "angle", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "03D8", - "member": "GetClosestCarNodeWithHeading", - "name": "GET_CLOSEST_CAR_NODE_WITH_HEADING", - "num_params": 7, - "short_desc": "Returns the position and heading of the closest vehicle path node to the specified position" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - }, - { - "name": "importSlot", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Garage", - "id": "03D9", - "member": "HasSlotBeenFilled", - "name": "HAS_IMPORT_GARAGE_SLOT_BEEN_FILLED", - "num_params": 2, - "short_desc": "Returns true if the import garage has collected a vehicle from the predefined list" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "03DA", - "member": "ClearThisPrint", - "name": "CLEAR_THIS_PRINT", - "num_params": 1, - "short_desc": "Removes the priority text from the screen" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "03DB", - "member": "ClearThisBigPrint", - "name": "CLEAR_THIS_BIG_PRINT", - "num_params": 1, - "short_desc": "Removes the styled text from the screen" - }, - { - "id": "03DC", - "name": "COMMAND_03DC", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "03DD", - "member": "ActivateSaveMenu", - "name": "ACTIVATE_SAVE_MENU", - "num_params": 0, - "short_desc": "Displays a screen prompting the player to save" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "03DE", - "member": "HasSaveGameFinished", - "name": "HAS_SAVE_GAME_FINISHED", - "num_params": 0, - "short_desc": "Returns true if the player has saved their game" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - } - ], - "class": "Garage", - "id": "03DF", - "member": "NoSpecialCameraForThisGarage", - "name": "NO_SPECIAL_CAMERA_FOR_THIS_GARAGE", - "num_params": 1, - "short_desc": "Disables special camera when in the garage" - }, - { - "input": [ - { - "name": "pickup", - "type": "Pickup" - }, - { - "name": "color", - "type": "BlipColor" - }, - { - "name": "display", - "type": "BlipDisplay" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "03E0", - "member": "AddForPickupOld", - "name": "ADD_BLIP_FOR_PICKUP_OLD", - "num_params": 4, - "short_desc": "Adds a blip with properties to the pickup" - }, - { - "input": [ - { - "name": "pickup", - "type": "Pickup" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "03E1", - "member": "AddForPickup", - "name": "ADD_BLIP_FOR_PICKUP", - "num_params": 2, - "short_desc": "Adds a blip and a marker to the pickup" - }, - { - "input": [ - { - "name": "pickup", - "type": "Pickup" - }, - { - "name": "sprite", - "type": "RadarSprite" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "03E2", - "member": "AddSpriteForPickup", - "name": "ADD_SPRITE_BLIP_FOR_PICKUP", - "num_params": 3, - "short_desc": "Adds a sprite blip and a marker to the pickup" - }, - { - "input": [ - { - "name": "multiplier", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "03E3", - "member": "SetPedDensityMultiplier", - "name": "SET_PED_DENSITY_MULTIPLIER", - "num_params": 1, - "short_desc": "Sets the quantity of pedestrians to spawn in the game" - }, - { - "input": [ - { - "name": "pedType", - "type": "PedType" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "03E4", - "member": "ForceRandomPedType", - "name": "FORCE_RANDOM_PED_TYPE", - "num_params": 1, - "short_desc": "Forces the game to spawn only pedestrians of the given type" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "03E5", - "member": "SetDrawBeforeFade", - "name": "SET_TEXT_DRAW_BEFORE_FADE", - "num_params": 1, - "short_desc": "Causes the next text to be drawn before the fade is drawn" - }, - { - "output": [ - { - "name": "num", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "03E6", - "member": "GetCollectablesCollected", - "name": "GET_COLLECTABLE1S_COLLECTED", - "num_params": 1, - "short_desc": "Returns the number of hidden packages collected" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "03E7", - "member": "SetObjLeaveAnyCar", - "name": "SET_CHAR_OBJ_LEAVE_ANY_CAR", - "num_params": 1, - "short_desc": "Sets the character's objective to leave the car they are in" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "03E8", - "member": "SetSpritesDrawBeforeFade", - "name": "SET_SPRITES_DRAW_BEFORE_FADE", - "num_params": 1, - "short_desc": "Causes the next texture to be drawn (038D) before the fade is drawn" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "03E9", - "member": "SetRightJustify", - "name": "SET_TEXT_RIGHT_JUSTIFY", - "num_params": 1, - "short_desc": "Sets the text draw to be aligned to the right" - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "03EA", - "member": "PrintHelp", - "name": "PRINT_HELP", - "num_params": 1, - "short_desc": "Displays a black text box for a few seconds" - }, - { - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "03EB", - "member": "ClearHelp", - "name": "CLEAR_HELP", - "num_params": 0, - "short_desc": "Removes the text box from the screen" - }, - { - "input": [ - { - "name": "object", - "type": "HudObject" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "03EC", - "member": "FlashObject", - "name": "FLASH_HUD_OBJECT", - "num_params": 1, - "short_desc": "Makes a specific part of the HUD disappear and reappear several times" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "03ED", - "name": "FLASH_RADAR_BLIP", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "03EE", - "member": "IsInControl", - "name": "IS_CHAR_IN_CONTROL", - "num_params": 1, - "short_desc": "Returns true if the character can move" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "03EF", - "member": "SetGenerateCarsAround", - "name": "SET_GENERATE_CARS_AROUND_CAMERA", - "num_params": 1, - "short_desc": "Enables traffic spawn at the camera position, otherwise at the player position (default)" - }, - { - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "03F0", - "member": "ClearSmallPrints", - "name": "CLEAR_SMALL_PRINTS", - "num_params": 0, - "short_desc": "Clears small messages from the screen" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Crane", - "id": "03F1", - "member": "HasMilitaryCollectedAllCars", - "name": "HAS_MILITARY_CRANE_COLLECTED_ALL_CARS", - "num_params": 0, - "short_desc": "Checks if the military crane has collected all vehicles" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "03F2", - "member": "SetUpsidedownNotDamaged", - "name": "SET_UPSIDEDOWN_CAR_NOT_DAMAGED", - "num_params": 2, - "short_desc": "Disables the car from exploding when it is upside down, as long as the player is not in the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "03F3", - "member": "CanStartMission", - "name": "CAN_PLAYER_START_MISSION", - "num_params": 1, - "short_desc": "Returns true if the player can move" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "class": "Player", - "id": "03F4", - "member": "MakeSafeForCutscene", - "name": "MAKE_PLAYER_SAFE_FOR_CUTSCENE", - "num_params": 1, - "short_desc": "Makes the player safe, putting the character in a safe location" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "03F5", - "member": "UseCommands", - "name": "USE_TEXT_COMMANDS", - "num_params": 1, - "short_desc": "Enables text and texture drawing" - }, - { - "input": [ - { - "name": "type", - "type": "PedType" - }, - { - "name": "threatMask", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "03F6", - "member": "SetThreatForPedType", - "name": "SET_THREAT_FOR_PED_TYPE", - "num_params": 2, - "short_desc": "Sets the ped type's hostility to other ped types" - }, - { - "input": [ - { - "name": "type", - "type": "PedType" - }, - { - "name": "threatMask", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "03F7", - "member": "ClearThreatForPedType", - "name": "CLEAR_THREAT_FOR_PED_TYPE", - "num_params": 2, - "short_desc": "Clears the ped type's hostility to other ped types" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "primaryColour", - "type": "int", - "source": "var_any" - }, - { - "name": "secondaryColour", - "type": "int", - "source": "var_any" - } - ], - "class": "Car", - "id": "03F8", - "member": "GetColors", - "name": "GET_CAR_COLOURS", - "num_params": 3, - "short_desc": "Gets the car's primary and secondary colors" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "03F9", - "member": "SetAllCarsCanBeDamaged", - "name": "SET_ALL_CARS_CAN_BE_DAMAGED", - "num_params": 1, - "short_desc": "Sets whether all cars receive damage" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "03FA", - "member": "SetCanBeDamaged", - "name": "SET_CAR_CAN_BE_DAMAGED", - "num_params": 2, - "short_desc": "Sets whether the car receives damage" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "03FB", - "name": "MAKE_PLAYER_UNSAFE", - "num_params": 0 - }, - { - "input": [ - { - "name": "level", - "type": "LevelName" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "03FC", - "member": "LoadCollision", - "name": "LOAD_COLLISION", - "num_params": 1, - "short_desc": "Loads the level (island) collision" - }, - { - "output": [ - { - "name": "health", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Object", - "id": "03FD", - "member": "GetBodyCastHealth", - "name": "GET_BODY_CAST_HEALTH", - "num_params": 1, - "short_desc": "Stores the health of the bodycast object used in the 'Plaster Blaster' mission" - }, - { - "input": [ - { - "name": "char1", - "type": "Char" - }, - { - "name": "char2", - "type": "Char" - }, - { - "name": "duration", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "03FE", - "member": "SetCharsChatting", - "name": "SET_CHARS_CHATTING", - "num_params": 3, - "short_desc": "Makes the two characters chat for the specified period of time" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "03FF", - "name": "MAKE_PLAYER_SAFE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0400", - "member": "SetStaysInCurrentLevel", - "name": "SET_CAR_STAYS_IN_CURRENT_LEVEL", - "num_params": 2, - "short_desc": "Forces the AI-controlled vehicle to stay on the current island" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0401", - "member": "SetStaysInCurrentLevel", - "name": "SET_CHAR_STAYS_IN_CURRENT_LEVEL", - "num_params": 2, - "short_desc": "Forces the AI-controlled character to stay on the current island" - }, - { - "input": [ - { - "name": "pad", - "type": "PadId" - }, - { - "name": "delay", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pad", - "id": "0402", - "member": "SetDrunkInputDelay", - "name": "SET_DRUNK_INPUT_DELAY", - "num_params": 2, - "short_desc": "Affects the delay to the left and right steering while driving" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "amount", - "type": "int" - } - ], - "class": "Char", - "id": "0403", - "member": "SetMoney", - "name": "SET_CHAR_MONEY", - "num_params": 2, - "short_desc": "Sets the character's cash sum, setting how much cash they will drop when dead" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0404", - "name": "INCREASE_CHAR_MONEY", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "xOffset", - "type": "float" - }, - { - "name": "yOffset", - "type": "float" - }, - { - "name": "zOffset", - "type": "float" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "class": "Object", - "id": "0405", - "member": "GetOffsetInWorldCoords", - "name": "GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS", - "num_params": 7, - "short_desc": "Returns the object's coordinates with an offset" - }, - { - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0406", - "member": "RegisterLifeSaved", - "name": "REGISTER_LIFE_SAVED", - "num_params": 0, - "short_desc": "Increments the number of people saved in an ambulance stat by 1" - }, - { - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0407", - "member": "RegisterCriminalCaught", - "name": "REGISTER_CRIMINAL_CAUGHT", - "num_params": 0, - "short_desc": "Increments the number of criminals killed on Vigilante mission stat by 1" - }, - { - "input": [ - { - "name": "highestLevel", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0408", - "member": "RegisterAmbulanceLevel", - "name": "REGISTER_AMBULANCE_LEVEL", - "num_params": 1, - "short_desc": "Saves the highest paramedic mission level stat" - }, - { - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0409", - "member": "RegisterFireExtinguished", - "name": "REGISTER_FIRE_EXTINGUISHED", - "num_params": 0, - "short_desc": "Increments the number of fires extinguished stat by 1" - }, - { - "input": [ - { - "name": "self", - "type": "Phone" - } - ], - "class": "Phone", - "id": "040A", - "member": "TurnOn", - "name": "TURN_PHONE_ON", - "num_params": 1, - "short_desc": "Makes the phone ringing" - }, - { - "input": [ - { - "name": "timeInSec", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "040B", - "member": "RegisterLongestDodoFlight", - "name": "REGISTER_LONGEST_DODO_FLIGHT", - "num_params": 1, - "short_desc": "Saves the longest flight in Dodo stat" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "xOffset", - "type": "float" - }, - { - "name": "yOffset", - "type": "float" - }, - { - "name": "zOffset", - "type": "float" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "class": "Car", - "id": "040C", - "member": "GetOffsetInWorldCoords", - "name": "GET_OFFSET_FROM_CAR_IN_WORLD_COORDS", - "num_params": 7, - "short_desc": "Returns the coordinates of an offset of the vehicle's position, depending on the vehicle's rotation" - }, - { - "input": [ - { - "name": "total", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "040D", - "member": "SetTotalNumberOfKillFrenzies", - "name": "SET_TOTAL_NUMBER_OF_KILL_FRENZIES", - "num_params": 1, - "short_desc": "Sets the total number of rampages passed stat" - }, - { - "attrs": { - "is_static": true - }, - "class": "Rc", - "id": "040E", - "member": "BlowUpBuggy", - "name": "BLOW_UP_RC_BUGGY", - "num_params": 0, - "short_desc": "Destroys the remote-control vehicle" - }, - { - "input": [ - { - "name": "carIndex", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "ChaseScene", - "id": "040F", - "member": "RemoveCarFromChase", - "name": "REMOVE_CAR_FROM_CHASE", - "num_params": 1, - "short_desc": "Removes the car from the chase scene" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "0410", - "member": "IsFrench", - "name": "IS_FRENCH_GAME", - "num_params": 0, - "short_desc": "Returns true if the game language is set to French" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "0411", - "member": "IsGerman", - "name": "IS_GERMAN_GAME", - "num_params": 0, - "short_desc": "Returns true if the game language is set to German" - }, - { - "id": "0412", - "name": "COMMAND_0412", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "0413", - "member": "SetFadeInAfterNextArrest", - "name": "SET_FADE_IN_AFTER_NEXT_ARREST", - "num_params": 1, - "short_desc": "Sets whether the next arrest will cause the screen to fade in" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "0414", - "member": "SetFadeInAfterNextDeath", - "name": "SET_FADE_IN_AFTER_NEXT_DEATH", - "num_params": 1, - "short_desc": "Sets whether the next death will cause the screen to fade in" - }, - { - "input": [ - { - "name": "gangId", - "type": "GangType" - }, - { - "name": "override", - "type": "GangModelOverride" - } - ], - "attrs": { - "is_static": true - }, - "class": "Gang", - "id": "0415", - "member": "SetPedModelPreference", - "name": "SET_GANG_PED_MODEL_PREFERENCE", - "num_params": 2, - "short_desc": "Forces the game to spawn the gang members based on the specified override value" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0416", - "member": "SetUsePednodeSeek", - "name": "SET_CHAR_USE_PEDNODE_SEEK", - "num_params": 2, - "short_desc": "Sets whether the character should follow paths set for pedestrians" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0417", - "member": "SwitchWeapons", - "name": "SWITCH_VEHICLE_WEAPONS", - "num_params": 2, - "short_desc": "Enables or disabled guns on the vehicle that has them (e.g. boats)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0418", - "member": "SetGetOutOfJailFree", - "name": "SET_GET_OUT_OF_JAIL_FREE", - "num_params": 2, - "short_desc": "Sets whether the player loses the cash when gets busted (works once)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0419", - "member": "SetFreeHealthCare", - "name": "SET_FREE_HEALTH_CARE", - "num_params": 2, - "short_desc": "Sets whether the player loses the cash when gets wasted (works once)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "door", - "type": "CarDoor" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "041A", - "member": "IsDoorClosed", - "name": "IS_CAR_DOOR_CLOSED", - "num_params": 2, - "short_desc": "Returns true if the vehicle's door is present and closed" - }, - { - "attrs": { - "is_nop": true - }, - "id": "041B", - "name": "LOAD_AND_LAUNCH_MISSION", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "input": [ - { - "name": "index", - "type": "int" - } - ], - "id": "041C", - "name": "LOAD_AND_LAUNCH_MISSION_INTERNAL", - "num_params": 1, - "short_desc": "Loads a mission from the list defined in the main.scm header", - "class": "Mission", - "member": "LoadAndLaunchInternal", - "attrs": { - "is_static": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Object", - "id": "041D", - "member": "SetDrawLast", - "name": "SET_OBJECT_DRAW_LAST", - "num_params": 2, - "short_desc": "Sets the specified object to always draw on top of other objects" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "output": [ - { - "name": "ammo", - "type": "int", - "source": "var_any" - } - ], - "class": "Player", - "id": "041E", - "member": "GetAmmoInWeapon", - "name": "GET_AMMO_IN_PLAYER_WEAPON", - "num_params": 3, - "short_desc": "Gets the amount of ammo in the specified weapon of the player" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "output": [ - { - "name": "ammo", - "type": "int", - "source": "var_any" - } - ], - "id": "041F", - "name": "GET_AMMO_IN_CHAR_WEAPON", - "num_params": 3, - "short_desc": "Gets the amount of ammo in the specified weapon of the character", - "class": "Char", - "member": "GetAmmoInWeapon" - }, - { - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0420", - "member": "RegisterKillFrenzyPassed", - "name": "REGISTER_KILL_FRENZY_PASSED", - "num_params": 0, - "short_desc": "Increments the number of rampages passed stat by 1" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "soundId", - "type": "ScriptSound" - } - ], - "class": "Char", - "id": "0421", - "member": "SetSay", - "name": "SET_CHAR_SAY", - "num_params": 2, - "short_desc": "Makes the character shout once (sound ids 95, 96, 101, 103, 104, 105)" - }, - { - "input": [ - { - "name": "value", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0422", - "member": "SetNearClip", - "name": "SET_NEAR_CLIP", - "num_params": 1, - "short_desc": "Sets the near clip" - }, - { - "input": [ - { - "name": "channel", - "type": "RadioChannel" - }, - { - "name": "startFromMs", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Audio", - "id": "0423", - "member": "SetRadioChannel", - "name": "SET_RADIO_CHANNEL", - "num_params": 2, - "short_desc": "Sets the current radio station that is playing, if the player is in a vehicle" - }, - { - "input": [ - { - "name": "levelId", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "0424", - "member": "OverrideHospital", - "name": "OVERRIDE_HOSPITAL_LEVEL", - "num_params": 1, - "short_desc": "Overrides the hospital level (island)" - }, - { - "input": [ - { - "name": "levelId", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Restart", - "id": "0425", - "member": "OverridePolice", - "name": "OVERRIDE_POLICE_STATION_LEVEL", - "num_params": 1, - "short_desc": "Overrides the police station level (island)" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Weather", - "id": "0426", - "member": "ForceRain", - "name": "FORCE_RAIN", - "num_params": 1, - "short_desc": "Forces rain everywhere" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Garage", - "id": "0427", - "member": "DoesContainCar", - "name": "DOES_GARAGE_CONTAIN_CAR", - "num_params": 2, - "short_desc": "Returns true if the garage contains the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "traction", - "type": "float" - } - ], - "class": "Car", - "id": "0428", - "member": "SetTraction", - "name": "SET_CAR_TRACTION", - "num_params": 2, - "short_desc": "Overrides the default vehicle traction value of 1.0" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "0429", - "member": "AreMeasurementsInMeters", - "name": "ARE_MEASUREMENTS_IN_METRES", - "num_params": 0, - "short_desc": "Returns true if the game uses metric measurements (meters instead of feet)" - }, - { - "input": [ - { - "name": "meters", - "type": "float" - } - ], - "output": [ - { - "name": "feet", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true, - "is_overload": true - }, - "class": "Math", - "id": "042A", - "member": "ConvertMetersToFeet", - "name": "CONVERT_METRES_TO_FEET", - "num_params": 2, - "short_desc": "Returns the result of converting meters to feet" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "042B", - "member": "MarkRoadsBetweenLevels", - "name": "MARK_ROADS_BETWEEN_LEVELS", - "num_params": 6, - "short_desc": "Marks all car path nodes in the given 3D area as transitional between two levels (islands)" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "042C", - "member": "MarkPedRoadsBetweenLevels", - "name": "MARK_PED_ROADS_BETWEEN_LEVELS", - "num_params": 6, - "short_desc": "Marks all ped path nodes in the given 3D area as transitional between two levels (islands)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "042D", - "member": "SetAvoidLevelTransitions", - "name": "SET_CAR_AVOID_LEVEL_TRANSITIONS", - "num_params": 2, - "short_desc": "Sets whether the vehicle will avoid paths between levels (0426)" - }, - { - "attrs": { - "is_nop": true - }, - "id": "042E", - "input": [ - { - "name": "_p1", - "type": "int" - }, - { - "name": "_p2", - "type": "int" - } - ], - "name": "SET_CHAR_AVOID_LEVEL_TRANSITIONS", - "num_params": 2, - "short_desc": "Does nothing" - }, - { - "input": [ - { - "name": "type", - "type": "PedType" - }, - { - "name": "threatMask", - "type": "int" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "042F", - "member": "IsThreatForPedType", - "name": "IS_THREAT_FOR_PED_TYPE", - "num_params": 2, - "short_desc": "Returns true if the ped type is hostile to other ped types" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "0430", - "member": "ClearAreaOfChars", - "name": "CLEAR_AREA_OF_CHARS", - "num_params": 6, - "short_desc": "Clears all pedestrians from the given area" - }, - { - "input": [ - { - "name": "numMissions", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0431", - "member": "SetTotalNumberOfMissions", - "name": "SET_TOTAL_NUMBER_OF_MISSIONS", - "num_params": 1, - "short_desc": "Sets the total number of missions that can be completed" - }, - { - "input": [ - { - "name": "meters", - "type": "int" - } - ], - "output": [ - { - "name": "feet", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true, - "is_overload": true - }, - "class": "Math", - "id": "0432", - "member": "ConvertMetersToFeet", - "name": "CONVERT_METRES_TO_FEET_INT", - "num_params": 2, - "short_desc": "Returns the result of converting meters to feet" - }, - { - "input": [ - { - "name": "statId", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0433", - "member": "RegisterFastestTime", - "name": "REGISTER_FASTEST_TIME", - "num_params": 2, - "short_desc": "Updates the stat if the value is lower than the current stat value" - }, - { - "input": [ - { - "name": "statId", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0434", - "member": "RegisterHighestScore", - "name": "REGISTER_HIGHEST_SCORE", - "num_params": 2, - "short_desc": "Updates the stat if the value is higher than the current stat value" - }, - { - "id": "0435", - "name": "COMMAND_0435", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "seatIndex", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "0436", - "member": "IsPassengerSeatFree", - "name": "IS_CAR_PASSENGER_SEAT_FREE", - "num_params": 2, - "short_desc": "Returns true if the specified car seat is empty" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "seatIndex", - "type": "int" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "id": "0437", - "name": "GET_CHAR_IN_CAR_PASSENGER_SEAT", - "num_params": 3, - "short_desc": "Returns the handle of a character sitting in the specified car seat", - "class": "Car", - "member": "GetCharInPassengerSeat" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0438", - "member": "SetIsChrisCriminal", - "name": "SET_CHAR_IS_CHRIS_CRIMINAL", - "num_params": 2, - "short_desc": "Sets whether the character is a psychotic killer or not" - }, - { - "id": "0439", - "name": "COMMAND_0439", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "attrs": { - "is_static": true - }, - "class": "Credits", - "id": "043A", - "member": "Stop", - "name": "STOP_CREDITS", - "num_params": 0, - "short_desc": "Stops the credits text from showing" - }, - { - "attrs": { - "is_static": true, - "is_condition": true - }, - "class": "Credits", - "id": "043B", - "member": "AreFinished", - "name": "ARE_CREDITS_FINISHED", - "num_params": 0, - "short_desc": "Returns true if the credits have finished" - }, - { - "input": [ - { - "name": "type", - "type": "int" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "strengthX", - "type": "float" - }, - { - "name": "strengthY", - "type": "float" - }, - { - "name": "strengthZ", - "type": "float" - }, - { - "name": "scale", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Fx", - "id": "043C", - "member": "CreateSingleParticle", - "name": "CREATE_SINGLE_PARTICLE", - "num_params": 8, - "short_desc": "Creates a single particle at the specified coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "043D", - "member": "SetIgnoreLevelTransitions", - "name": "SET_CHAR_IGNORE_LEVEL_TRANSITIONS", - "num_params": 2, - "short_desc": "Prevents the character from being despawned when the current level (island) changes" - }, - { - "input": [ - { - "name": "carIndex", - "type": "int" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "class": "ChaseScene", - "id": "043E", - "member": "GetChaseCar", - "name": "GET_CHASE_CAR", - "num_params": 2, - "short_desc": "Gets the control over a car from the chase scene", - "attrs": { - "is_constructor": true - } - }, - { - "attrs": { - "is_static": true, - "is_nop": true - }, - "class": "Fx", - "id": "043F", - "member": "StartBoatFoamAnimation", - "name": "START_BOAT_FOAM_ANIMATION", - "num_params": 0, - "short_desc": "Stores the current time when the foam animation starts (UNUSED)" - }, - { - "input": [ - { - "name": "object", - "type": "CutsceneObject" - } - ], - "attrs": { - "is_static": true - }, - "class": "Fx", - "id": "0440", - "member": "UpdateBoatFoamAnimation", - "name": "UPDATE_BOAT_FOAM_ANIMATION", - "num_params": 1, - "short_desc": "Updates the steaming effect around the specified cutscene object during the final scene of the 'Bomb Da Base: Act II' mission" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Audio", - "id": "0441", - "member": "SetMusicDoesFade", - "name": "SET_MUSIC_DOES_FADE", - "num_params": 1, - "short_desc": "Sets whether sounds should fade along with the screen" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "0442", - "member": "SetIntroIsPlaying", - "name": "SET_INTRO_IS_PLAYING", - "num_params": 1, - "short_desc": "Specifies that the intro cutscene is playing" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "hooker", - "type": "Char" - } - ], - "class": "Player", - "id": "0443", - "member": "SetHooker", - "name": "SET_PLAYER_HOOKER", - "num_params": 2, - "short_desc": "Makes the character act as the player's hooker" - }, - { - "attrs": { - "is_static": true - }, - "class": "Audio", - "id": "0444", - "member": "PlayEndOfGameTune", - "name": "PLAY_END_OF_GAME_TUNE", - "num_params": 0, - "short_desc": "Plays the theme tune" - }, - { - "attrs": { - "is_static": true - }, - "class": "Audio", - "id": "0445", - "member": "StopEndOfGameTune", - "name": "STOP_END_OF_GAME_TUNE", - "num_params": 0, - "short_desc": "Stops the theme tune" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "modelId", - "type": "model_vehicle", - "source": "var_any" - } - ], - "class": "Car", - "id": "0446", - "member": "GetModel", - "name": "GET_CAR_MODEL", - "num_params": 2, - "short_desc": "Returns the car's model id" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0447", - "member": "IsSittingInCar", - "name": "IS_PLAYER_SITTING_IN_CAR", - "num_params": 2, - "short_desc": "Returns true if the player is in the specified vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0448", - "member": "IsSittingInAnyCar", - "name": "IS_PLAYER_SITTING_IN_ANY_CAR", - "num_params": 1, - "short_desc": "Returns true if the player is sitting in any vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "ScriptFire" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "ScriptFire", - "id": "0449", - "member": "SetAudio", - "name": "SET_SCRIPT_FIRE_AUDIO", - "num_params": 2, - "short_desc": "Enables or disables the audio of the script fire" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "044A", - "member": "AreAnyCarCheatsActivated", - "name": "ARE_ANY_CAR_CHEATS_ACTIVATED", - "num_params": 0, - "short_desc": "Returns true if the player has used any of the cheats" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "044B", - "member": "SetSuffersCriticalHits", - "name": "SET_CHAR_SUFFERS_CRITICAL_HITS", - "num_params": 2, - "short_desc": "Sets whether the specified character is immune to headshots" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "044C", - "member": "IsLiftingAPhone", - "name": "IS_PLAYER_LIFTING_A_PHONE", - "num_params": 1, - "short_desc": "Returns true if the player is talking over the phone (024A)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "044D", - "member": "IsSittingInCar", - "name": "IS_CHAR_SITTING_IN_CAR", - "num_params": 2, - "short_desc": "Returns true if the character is sitting in the specified vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "044E", - "member": "IsSittingInAnyCar", - "name": "IS_CHAR_SITTING_IN_ANY_CAR", - "num_params": 1, - "short_desc": "Returns true if the character is sitting in any vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "044F", - "member": "IsOnFoot", - "name": "IS_PLAYER_ON_FOOT", - "num_params": 1, - "short_desc": "Returns true if the player is on foot, and not occupying a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0450", - "member": "IsOnFoot", - "name": "IS_CHAR_ON_FOOT", - "num_params": 1, - "short_desc": "Returns true if the character is on foot, and not occupying a vehicle" - }, - { - "input": [ - { - "name": "level", - "type": "LevelName" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "0451", - "member": "LoadCollisionWithScreen", - "name": "LOAD_COLLISION_WITH_SCREEN", - "num_params": 1, - "short_desc": "Loads a level (island) collision with a greeting message" - }, - { - "input": [ - { - "name": "txdName", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "0452", - "member": "LoadSplash", - "name": "LOAD_SPLASH_SCREEN", - "num_params": 1, - "short_desc": "Loads the specified splash screen" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0453", - "member": "SetIgnoreLevelTransitions", - "name": "SET_CAR_IGNORE_LEVEL_TRANSITIONS", - "num_params": 2, - "short_desc": "Prevents the vehicle from being despawned when the current level (island) changes" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0454", - "member": "MakeABitStronger", - "name": "MAKE_CRAIGS_CAR_A_BIT_STRONGER", - "num_params": 2, - "short_desc": "Makes the car more resistant to physical damage" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "0455", - "member": "SetOnPathToPlayer", - "name": "SET_JAMES_CAR_ON_PATH_TO_PLAYER", - "num_params": 1, - "short_desc": "Teleports the vehicle nearby the player's location" - }, - { - "attrs": { - "is_static": true - }, - "class": "Audio", - "id": "0456", - "member": "LoadEndOfGameTune", - "name": "LOAD_END_OF_GAME_TUNE", - "num_params": 0, - "short_desc": "Loads the end of game music" - }, - { - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0457", - "member": "EnablePlayerControl", - "name": "ENABLE_PLAYER_CONTROL_CAMERA", - "num_params": 0, - "short_desc": "Gives camera control to the player" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "class": "Object", - "id": "0458", - "member": "SetRotation", - "name": "SET_OBJECT_ROTATION", - "num_params": 4, - "short_desc": "Sets the object rotation along X, Y and Z axis" - }, - { - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0459", - "member": "GetDebugCoordinates", - "name": "GET_DEBUG_CAMERA_COORDINATES", - "num_params": 3, - "short_desc": "Returns the debug camera position" - }, - { - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "045A", - "member": "GetDebugFrontVector", - "name": "GET_DEBUG_CAMERA_FRONT_VECTOR", - "num_params": 3, - "short_desc": "Stores the debug camera front vector" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "045B", - "member": "IsTargettingAnyChar", - "name": "IS_PLAYER_TARGETTING_ANY_CHAR", - "num_params": 1, - "short_desc": "Returns true if the player is aiming at any character" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "handle", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "045C", - "member": "IsTargettingChar", - "name": "IS_PLAYER_TARGETTING_CHAR", - "num_params": 2, - "short_desc": "Returns true if the player is aiming at the specified character" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "handle", - "type": "Object" - } - ], - "id": "045D", - "name": "IS_PLAYER_TARGETTING_OBJECT", - "num_params": 2, - "short_desc": "Returns true if the player is aiming at the specified object", - "attrs": { - "is_condition": true - }, - "class": "Player", - "member": "IsTargettingObject" - }, - { - "input": [ - { - "name": "name", - "type": "string" - } - ], - "attrs": { - "is_keyword": true - }, - "id": "045E", - "name": "TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME", - "num_params": 1, - "short_desc": "Ends any script whose name (03A4) matches the given string" - }, - { - "input": [ - { - "name": "offsetLeft", - "type": "float" - }, - { - "name": "offsetTop", - "type": "float" - }, - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "045F", - "member": "DisplayWithNumber", - "name": "DISPLAY_TEXT_WITH_NUMBER", - "num_params": 4, - "short_desc": "Draws text with one number" - }, - { - "input": [ - { - "name": "offsetLeft", - "type": "float" - }, - { - "name": "offsetTop", - "type": "float" - }, - { - "name": "key", - "type": "gxt_key" - }, - { - "name": "num1", - "type": "int" - }, - { - "name": "num2", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0460", - "member": "DisplayWith2Numbers", - "name": "DISPLAY_TEXT_WITH_2_NUMBERS", - "num_params": 5, - "short_desc": "Draws text with two numbers" - }, - { - "attrs": { - "is_static": true - }, - "class": "Mission", - "id": "0461", - "member": "Fail", - "name": "FAIL_CURRENT_MISSION", - "num_params": 0, - "short_desc": "Terminates the active mission by executing its mission cleanup routine" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "range", - "type": "float" - }, - { - "name": "modelId", - "type": "model_object" - } - ], - "output": [ - { - "name": "handle", - "type": "Object", - "source": "var_any" - } - ], - "class": "World", - "id": "0462", - "member": "GetClosestObjectOfType", - "name": "GET_CLOSEST_OBJECT_OF_TYPE", - "num_params": 6, - "short_desc": "Returns the handle of an object with the specified model located in the 2D area, or -1 otherwise", - "attrs": { - "is_constructor": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "target", - "type": "Object" - }, - { - "name": "offsetX", - "type": "float" - }, - { - "name": "offsetY", - "type": "float" - }, - { - "name": "offsetZ", - "type": "float" - } - ], - "class": "Object", - "id": "0463", - "member": "PlaceRelativeToObject", - "name": "PLACE_OBJECT_RELATIVE_TO_OBJECT", - "num_params": 5, - "short_desc": "Places the object relative to the other object" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "0464", - "member": "SetAllOccupantsLeave", - "name": "SET_ALL_OCCUPANTS_OF_CAR_LEAVE_CAR", - "num_params": 1, - "short_desc": "Sets the driver and all passengers' objective to leave the vehicle" - }, - { - "input": [ - { - "name": "_p1", - "type": "float" - }, - { - "name": "time", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0465", - "member": "SetInterpolationParameters", - "name": "SET_INTERPOLATION_PARAMETERS", - "num_params": 2, - "short_desc": "Sets how long the camera transition will last" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "destX", - "type": "float" - }, - { - "name": "destY", - "type": "float" - } - ], - "output": [ - { - "name": "nodeX", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeY", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeZ", - "type": "float", - "source": "var_any" - }, - { - "name": "angle", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "0466", - "member": "GetClosestCarNodeWithHeadingTowardsPoint", - "name": "GET_CLOSEST_CAR_NODE_WITH_HEADING_TOWARDS_POINT", - "num_params": 9, - "short_desc": "Returns the position and heading of the closest vehicle path node to the specified position and with rotation towards the point" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "destX", - "type": "float" - }, - { - "name": "destY", - "type": "float" - } - ], - "output": [ - { - "name": "nodeX", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeY", - "type": "float", - "source": "var_any" - }, - { - "name": "nodeZ", - "type": "float", - "source": "var_any" - }, - { - "name": "angle", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "0467", - "member": "GetClosestCarNodeWithHeadingAwayPoint", - "name": "GET_CLOSEST_CAR_NODE_WITH_HEADING_AWAY_POINT", - "num_params": 9, - "short_desc": "Returns the position and heading of the closest vehicle path node to the specified position and with rotation away from the point" - }, - { - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "0468", - "member": "GetDebugPointAt", - "name": "GET_DEBUG_CAMERA_POINT_AT", - "num_params": 3, - "short_desc": "Stores the location the debug camera is pointing to" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "xOffset", - "type": "float" - }, - { - "name": "yOffset", - "type": "float" - }, - { - "name": "zOffset", - "type": "float" - }, - { - "name": "position", - "type": "int" - }, - { - "name": "angleLimit", - "type": "float" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "class": "Char", - "id": "0469", - "member": "AttachToCar", - "name": "ATTACH_CHAR_TO_CAR", - "num_params": 8, - "short_desc": "Puts character into a turret on the vehicle, allowing them to shoot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "046A", - "member": "DetachFromCar", - "name": "DETACH_CHAR_FROM_CAR", - "num_params": 1, - "short_desc": "Takes the character out of turret mode (0464)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "046B", - "member": "SetChangeLane", - "name": "SET_CAR_CHANGE_LANE", - "num_params": 2, - "short_desc": "Set's whether the AI driver will occupy the fast (left) lane on a two-way road" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "046C", - "member": "ClearLastWeaponDamage", - "name": "CLEAR_CHAR_LAST_WEAPON_DAMAGE", - "num_params": 1, - "short_desc": "Clears the character's last weapon damage (see 031D)" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "046D", - "member": "ClearLastWeaponDamage", - "name": "CLEAR_CAR_LAST_WEAPON_DAMAGE", - "num_params": 1, - "short_desc": "Clears the vehicle's last weapon damage (see 031E)" - }, - { - "id": "046E", - "name": "COMMAND_046E", - "num_params": 10, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - }, - { - "name": "_p7", - "type": "any" - }, - { - "name": "_p8", - "type": "any" - }, - { - "name": "_p9", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "zone", - "type": "zone_key" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Zone", - "id": "046F", - "member": "GetRandomCop", - "name": "GET_RANDOM_COP_IN_ZONE", - "num_params": 2, - "short_desc": "Returns the handle of a random law enforcement ped in the map zone" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "Char", - "id": "0470", - "member": "SetObjFleeCar", - "name": "SET_CHAR_OBJ_FLEE_CAR", - "num_params": 2, - "short_desc": "Makes the character leave their car and run away from it" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "class": "Car", - "id": "0471", - "member": "GetDriver", - "name": "GET_DRIVER_OF_CAR", - "num_params": 2, - "short_desc": "Returns the car's driver handle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "output": [ - { - "name": "number", - "type": "int", - "source": "var_any" - } - ], - "class": "Char", - "id": "0472", - "member": "GetNumberOfFollowers", - "name": "GET_NUMBER_OF_FOLLOWERS", - "num_params": 2, - "short_desc": "Returns the number of members which are in a group of the character (01DE)" - }, - { - "input": [ - { - "name": "handle", - "type": "Player" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "angle", - "type": "float" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "attrs": { - "is_static": true - }, - "class": "Rc", - "id": "0473", - "member": "GiveModelToPlayer", - "name": "GIVE_REMOTE_CONTROLLED_MODEL_TO_PLAYER", - "num_params": 6, - "short_desc": "Puts the player in control of a remote-control vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "weaponType", - "type": "WeaponType", - "source": "var_any" - } - ], - "id": "0474", - "name": "GET_CURRENT_PLAYER_WEAPON", - "num_params": 2, - "class": "Player", - "member": "GetCurrentWeapon", - "short_desc": "Returns the type of weapon that the player is currently holding" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "output": [ - { - "name": "weaponType", - "type": "WeaponType", - "source": "var_any" - } - ], - "class": "Char", - "id": "0475", - "member": "GetCurrentWeapon", - "name": "GET_CURRENT_CHAR_WEAPON", - "num_params": 2, - "short_desc": "Returns the type of weapon that the character is currently holding" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0476", - "member": "LocateAnyMeansObject2D", - "name": "LOCATE_CHAR_ANY_MEANS_OBJECT_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the object" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0477", - "member": "LocateOnFootObject2D", - "name": "LOCATE_CHAR_ON_FOOT_OBJECT_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the object on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0478", - "member": "LocateInCarObject2D", - "name": "LOCATE_CHAR_IN_CAR_OBJECT_2D", - "num_params": 5, - "short_desc": "Returns true if the character is within the 2D radius of the object in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0479", - "member": "LocateAnyMeansObject3D", - "name": "LOCATE_CHAR_ANY_MEANS_OBJECT_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the object" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "047A", - "member": "LocateOnFootObject3D", - "name": "LOCATE_CHAR_ON_FOOT_OBJECT_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the object on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "047B", - "member": "LocateInCarObject3D", - "name": "LOCATE_CHAR_IN_CAR_OBJECT_3D", - "num_params": 6, - "short_desc": "Returns true if the character is within the 3D radius of the object in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "actionId", - "type": "TempAction" - }, - { - "name": "timeInMs", - "type": "int" - } - ], - "class": "Car", - "id": "047C", - "member": "SetTempAction", - "name": "SET_CAR_TEMP_ACTION", - "num_params": 3, - "short_desc": "Makes the AI driver perform the action in the vehicle for the specified period of time" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "timeInMs", - "type": "int" - } - ], - "class": "Car", - "id": "047D", - "member": "SetHandbrakeTurnRight", - "name": "SET_CAR_HANDBRAKE_TURN_RIGHT", - "num_params": 2, - "short_desc": "Makes the AI driver in the vehicle turn hard right and brake for the specified period of time" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "timeInMs", - "type": "int" - } - ], - "class": "Car", - "id": "047E", - "member": "SetHandbrakeStop", - "name": "SET_CAR_HANDBRAKE_STOP", - "num_params": 2, - "short_desc": "Makes the AI driver in the vehicle brake for the specified period of time" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "047F", - "member": "IsOnAnyBike", - "name": "IS_CHAR_ON_ANY_BIKE", - "num_params": 1, - "short_desc": "Returns true if the character is riding a bike" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "0480", - "member": "LocateSniperBullet2D", - "name": "LOCATE_SNIPER_BULLET_2D", - "num_params": 5, - "short_desc": "Returns true if a sniper bullet is flying in the specified 2D area" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "topRightX", - "type": "float" - }, - { - "name": "topRightY", - "type": "float" - }, - { - "name": "topRightZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "0481", - "member": "LocateSniperBullet3D", - "name": "LOCATE_SNIPER_BULLET_3D", - "num_params": 7, - "short_desc": "Returns true if a sniper bullet is flying in the specified 3D area" - }, - { - "input": [ - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "output": [ - { - "name": "seatsNum", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Car", - "id": "0482", - "member": "GetNumberOfSeatsInModel", - "name": "GET_NUMBER_OF_SEATS_IN_MODEL", - "num_params": 2, - "short_desc": "Returns the number of seats in the vehicle model" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "id": "0483", - "name": "IS_PLAYER_ON_ANY_BIKE", - "num_params": 1, - "class": "Player", - "member": "IsOnAnyBike", - "attrs": { - "is_condition": true - }, - "short_desc": "Returns true if the player is driving a bike" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0484", - "member": "IsLyingDown", - "name": "IS_CHAR_LYING_DOWN", - "num_params": 1, - "short_desc": "Returns true if the character has fallen" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "pedType", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0485", - "member": "CanSeeDeadChar", - "name": "CAN_CHAR_SEE_DEAD_CHAR", - "num_params": 2, - "short_desc": "Returns true if the character sees a dead body of the given type" - }, - { - "input": [ - { - "name": "value", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Char", - "id": "0486", - "member": "SetEnterCarRangeMultiplier", - "name": "SET_ENTER_CAR_RANGE_MULTIPLIER", - "num_params": 1, - "short_desc": "Sets a multiplier for the range of a character's ability to go and occupy a vehicle" - }, - { - "input": [ - { - "name": "value", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Char", - "id": "0487", - "member": "SetThreatReactionRangeMultiplier", - "name": "SET_THREAT_REACTION_RANGE_MULTIPLIER", - "num_params": 1, - "short_desc": "Sets a multiplier for the range of a character's ability to react on deadly events around", - "versions": [ - "1.0" - ] - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "timer", - "type": "int" - } - ], - "class": "Char", - "id": "0488", - "member": "SetCeaseAttackTimer", - "name": "SET_CHAR_CEASE_ATTACK_TIMER", - "num_params": 2, - "short_desc": "Sets the maximum time the character can withstand the damage" - }, - { - "input": [ - { - "name": "player", - "type": "Player" - } - ], - "output": [ - { - "name": "car", - "type": "Car", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Rc", - "id": "0489", - "member": "GetCar", - "name": "GET_REMOTE_CONTROLLED_CAR", - "num_params": 2, - "short_desc": "Returns the player's radio-controlled vehicle" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "048A", - "member": "IsPcVersion", - "name": "IS_PC_VERSION", - "num_params": 0, - "short_desc": "Returns true on PC versions of the game" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "048B", - "name": "REPLAY", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "048C", - "name": "IS_REPLAY_PLAYING", - "num_params": 0 - }, - { - "input": [ - { - "name": "modelId", - "type": "model_any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Streaming", - "id": "048D", - "member": "IsModelAvailable", - "name": "IS_MODEL_AVAILABLE", - "num_params": 1, - "short_desc": "Returns true if the specified model exists in the loaded " - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "048E", - "member": "ShutUp", - "name": "SHUT_CHAR_UP", - "num_params": 2, - "short_desc": "Sets the character's ability to talk" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Rc", - "id": "048F", - "member": "SetEnableDetonate", - "name": "SET_ENABLE_RC_DETONATE", - "num_params": 1, - "short_desc": "Enables a remote-control vehicle detonation" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "routeSeed", - "type": "int" - } - ], - "class": "Car", - "id": "0490", - "member": "SetRandomRouteSeed", - "name": "SET_CAR_RANDOM_ROUTE_SEED", - "num_params": 2, - "short_desc": "Sets the car on a specific route" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "0491", - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "member": "IsAnyPickupAtCoords", - "name": "IS_ANY_PICKUP_AT_COORDS", - "num_params": 3, - "short_desc": "Returns true if the pickup at the specified coordinates is available to be picked up" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0492", - "name": "GET_FIRST_PICKUP_COORDS", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0493", - "name": "GET_NEXT_PICKUP_COORDS", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0494", - "member": "RemoveAllWeapons", - "name": "REMOVE_ALL_CHAR_WEAPONS", - "num_params": 1, - "short_desc": "Removes the characters weapons" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "weaponId", - "type": "WeaponType" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0495", - "member": "HasGotWeapon", - "name": "HAS_PLAYER_GOT_WEAPON", - "num_params": 2, - "short_desc": "Returns true if the player has the specified weapon" - }, - { - "id": "0496", - "name": "COMMAND_0496", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0497", - "name": "IS_PLAYER_FACING_CHAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Tank" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Tank", - "id": "0498", - "member": "SetDetonateCars", - "name": "SET_TANK_DETONATE_CARS", - "num_params": 2, - "short_desc": "Sets the tank's ability to detonate vehicles on contact" - }, - { - "input": [ - { - "name": "pad", - "type": "PadId" - } - ], - "output": [ - { - "name": "leftStickX", - "type": "int", - "source": "var_any" - }, - { - "name": "leftStickY", - "type": "int", - "source": "var_any" - }, - { - "name": "rightStickX", - "type": "int", - "source": "var_any" - }, - { - "name": "rightStickY", - "type": "int", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Pad", - "id": "0499", - "member": "GetPositionOfAnalogueSticks", - "name": "GET_POSITION_OF_ANALOGUE_STICKS", - "num_params": 5, - "short_desc": "Returns the offset of the specified Left/Right, Up/Down, Look Left/Look Right and Look Up/Look Down keys" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "049A", - "member": "IsOnFire", - "name": "IS_CAR_ON_FIRE", - "num_params": 1, - "short_desc": "Returns true if the car is burning" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "tireId", - "type": "int" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "049B", - "member": "IsTireBurst", - "name": "IS_CAR_TYRE_BURST", - "num_params": 2, - "short_desc": "Returns true if a given tire on the car is deflated" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "049C", - "name": "SET_CAR_DRIVE_STRAIGHT_AHEAD", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "049D", - "name": "SET_CAR_WAIT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "049E", - "name": "IS_PLAYER_STANDING_ON_A_VEHICLE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "049F", - "name": "IS_PLAYER_FOOT_DOWN", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04A0", - "name": "IS_CHAR_FOOT_DOWN", - "num_params": 0 - }, - { - "input": [ - { - "name": "pathId", - "type": "int" - }, - { - "name": "width", - "type": "float" - } - ], - "output": [ - { - "name": "handle", - "type": "ObjectPath", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "ObjectPath", - "id": "04A1", - "member": "Initialise", - "name": "INITIALISE_OBJECT_PATH", - "num_params": 3, - "short_desc": "Initialises a script path" - }, - { - "input": [ - { - "name": "self", - "type": "ObjectPath" - }, - { - "name": "object", - "type": "Object" - } - ], - "class": "ObjectPath", - "id": "04A2", - "member": "Start", - "name": "START_OBJECT_ON_PATH", - "num_params": 2, - "short_desc": "Attaches the object to the script path" - }, - { - "input": [ - { - "name": "self", - "type": "ObjectPath" - }, - { - "name": "speed", - "type": "float" - } - ], - "class": "ObjectPath", - "id": "04A3", - "member": "SetSpeed", - "name": "SET_OBJECT_PATH_SPEED", - "num_params": 2, - "short_desc": "Sets the speed of objects on the script path" - }, - { - "input": [ - { - "name": "self", - "type": "ObjectPath" - }, - { - "name": "position", - "type": "float" - } - ], - "class": "ObjectPath", - "id": "04A4", - "member": "SetPosition", - "name": "SET_OBJECT_PATH_POSITION", - "num_params": 2, - "short_desc": "Sets the distance along the script path" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04A5", - "name": "GET_OBJECT_DISTANCE_ALONG_PATH", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "ObjectPath" - } - ], - "class": "ObjectPath", - "id": "04A6", - "member": "Clear", - "name": "CLEAR_OBJECT_PATH", - "num_params": 1, - "short_desc": "Removes the script path", - "attrs": { - "is_destructor": true - } - }, - { - "input": [ - { - "name": "self", - "type": "Heli" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "speed", - "type": "int" - } - ], - "class": "Heli", - "id": "04A7", - "member": "GotoCoords", - "name": "HELI_GOTO_COORDS", - "num_params": 5, - "short_desc": "Makes the helicopter fly to the specified location, keeping a specific Z height/altitude" - }, - { - "attrs": { - "is_condition": true - }, - "id": "04A8", - "input": [ - { - "name": "_p1", - "type": "int" - }, - { - "name": "_p2", - "type": "int" - } - ], - "name": "IS_INT_VAR_EQUAL_TO_CONSTANT", - "num_params": 2, - "short_desc": "Returns true if the value of the variable is equal to the constant" - }, - { - "attrs": { - "is_condition": true - }, - "id": "04A9", - "input": [ - { - "name": "_p1", - "type": "int" - }, - { - "name": "_p2", - "type": "int" - } - ], - "name": "IS_INT_LVAR_EQUAL_TO_CONSTANT", - "num_params": 2, - "short_desc": "Returns true if the first local variable is equivalent to the second" - }, - { - "input": [ - { - "name": "char", - "type": "Char" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "04AA", - "member": "GetDeadCharPickupCoords", - "name": "GET_DEAD_CHAR_PICKUP_COORDS", - "num_params": 4, - "short_desc": "Returns appropriate coordinates for creating a pickup by a dead character" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "revenueLimit", - "type": "int" - }, - { - "name": "revenueRate", - "type": "int" - } - ], - "output": [ - { - "name": "handle", - "type": "Pickup", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Pickup", - "id": "04AB", - "member": "CreateProtection", - "name": "CREATE_PROTECTION_PICKUP", - "num_params": 6, - "short_desc": "Creates an asset revenue pickup" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04AC", - "name": "IS_CHAR_IN_ANY_BOAT", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "04AD", - "member": "IsInAnyBoat", - "name": "IS_PLAYER_IN_ANY_BOAT", - "num_params": 1, - "short_desc": "Returns true if the player is on a boat" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04AE", - "name": "IS_CHAR_IN_ANY_HELI", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "04AF", - "member": "IsInAnyHeli", - "name": "IS_PLAYER_IN_ANY_HELI", - "num_params": 1, - "short_desc": "Returns true if the player is in a helicopter" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04B0", - "name": "IS_CHAR_IN_ANY_PLANE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "04B1", - "member": "IsInAnyPlane", - "name": "IS_PLAYER_IN_ANY_PLANE", - "num_params": 1, - "short_desc": "Returns true if the player is on a plane" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "04B2", - "member": "IsInWater", - "name": "IS_CHAR_IN_WATER", - "num_params": 1, - "short_desc": "Returns true if the character is in water" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "id": "04B3", - "name": "SET_VAR_INT_TO_CONSTANT", - "num_params": 2, - "short_desc": "Assigns the global variable to the integer constant" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "id": "04B4", - "name": "SET_LVAR_INT_TO_CONSTANT", - "num_params": 2, - "short_desc": "Assigns the local variable to the integer constant" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "04B5", - "name": "IS_INT_VAR_GREATER_THAN_CONSTANT", - "num_params": 2, - "short_desc": "Returns true if the value of the global variable is greater than the integer constant" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_local" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "04B6", - "name": "IS_INT_LVAR_GREATER_THAN_CONSTANT", - "num_params": 2, - "short_desc": "Returns true if the value of the local variable is greater than the integer constant" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "literal" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "04B7", - "name": "IS_CONSTANT_GREATER_THAN_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the integer constant is greater than the value of the global variable" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "literal" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "04B8", - "name": "IS_CONSTANT_GREATER_THAN_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the integer constant is greater than the value of the local variable" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "04B9", - "name": "IS_INT_VAR_GREATER_OR_EQUAL_TO_CONSTANT", - "num_params": 2, - "short_desc": "Returns true if the value of the global variable is equal to or greater than the integer constant " - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "var_global" - }, - { - "name": "", - "type": "int", - "source": "literal" - } - ], - "attrs": { - "is_condition": true - }, - "id": "04BA", - "name": "IS_INT_LVAR_GREATER_OR_EQUAL_TO_CONSTANT", - "num_params": 2, - "short_desc": "Returns true if the value of the local variable is greater than or equal to the integer constant " - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "literal" - }, - { - "name": "", - "type": "int", - "source": "var_global" - } - ], - "attrs": { - "is_condition": true - }, - "id": "04BB", - "name": "IS_CONSTANT_GREATER_OR_EQUAL_TO_INT_VAR", - "num_params": 2, - "short_desc": "Returns true if the integer constant is equal to or greater than the value of the global variable" - }, - { - "input": [ - { - "name": "", - "type": "int", - "source": "literal" - }, - { - "name": "", - "type": "int", - "source": "var_local" - } - ], - "attrs": { - "is_condition": true - }, - "id": "04BC", - "name": "IS_CONSTANT_GREATER_OR_EQUAL_TO_INT_LVAR", - "num_params": 2, - "short_desc": "Returns true if the integer constant is equal to or greater than the value of the local variable" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "weaponSlotId", - "type": "WeaponSlot" - } - ], - "output": [ - { - "name": "weaponType", - "type": "WeaponType", - "source": "var_any" - }, - { - "name": "weaponAmmo", - "type": "int", - "source": "var_any" - }, - { - "name": "weaponModel", - "type": "model_object", - "source": "var_any" - } - ], - "class": "Char", - "id": "04BD", - "member": "GetWeaponInSlot", - "name": "GET_CHAR_WEAPON_IN_SLOT", - "num_params": 5, - "short_desc": "Returns the weapon type, ammo and model from the specified slot" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "minDist", - "type": "float" - }, - { - "name": "maxDist", - "type": "float" - } - ], - "output": [ - { - "name": "node1X", - "type": "float", - "source": "var_any" - }, - { - "name": "node1Y", - "type": "float", - "source": "var_any" - }, - { - "name": "node1Z", - "type": "float", - "source": "var_any" - }, - { - "name": "node2X", - "type": "float", - "source": "var_any" - }, - { - "name": "node2Y", - "type": "float", - "source": "var_any" - }, - { - "name": "node2Z", - "type": "float", - "source": "var_any" - }, - { - "name": "angle", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "04BE", - "member": "GetClosestStraightRoad", - "name": "GET_CLOSEST_STRAIGHT_ROAD", - "num_params": 12, - "short_desc": "Gets two closest path nodes within the specified distance range" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "forwardSpeed", - "type": "float" - } - ], - "class": "Car", - "id": "04BF", - "member": "SetForwardSpeed", - "name": "SET_CAR_FORWARD_SPEED", - "num_params": 2, - "short_desc": "Sets the speed of the car" - }, - { - "input": [ - { - "name": "areaId", - "type": "Interior" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "04C0", - "member": "SetAreaVisible", - "name": "SET_AREA_VISIBLE", - "num_params": 1, - "short_desc": "Sets the visibility of an interior area" - }, - { - "input": [ - { - "name": "animName", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "04C1", - "member": "SetAnimToLoop", - "name": "SET_CUTSCENE_ANIM_TO_LOOP", - "num_params": 1, - "short_desc": "Sets the cutscene animation to loop endlessly" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "04C2", - "member": "MarkAsConvoyCar", - "name": "MARK_CAR_AS_CONVOY_CAR", - "num_params": 2, - "short_desc": "Marks the car as being part of a convoy, which seems to follow a path set by 0994" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "class": "Player", - "id": "04C3", - "member": "ResetHavoc", - "name": "RESET_HAVOC_CAUSED_BY_PLAYER", - "num_params": 1, - "short_desc": "Resets the level of chaos inflicted by the player" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "level", - "type": "int", - "source": "var_any" - } - ], - "class": "Player", - "id": "04C4", - "member": "GetHavoc", - "name": "GET_HAVOC_CAUSED_BY_PLAYER", - "num_params": 2, - "short_desc": "Returns the level of chaos inflicted by the player since the last reset (04BE)" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "topRightX", - "type": "float" - }, - { - "name": "topRightY", - "type": "float" - }, - { - "name": "topRightZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "04C5", - "member": "CreateScriptRoadblock", - "name": "CREATE_SCRIPT_ROADBLOCK", - "num_params": 6, - "short_desc": "Creates a roadblock in the specified area" - }, - { - "attrs": { - "is_static": true - }, - "class": "World", - "id": "04C6", - "member": "ClearAllScriptRoadblocks", - "name": "CLEAR_ALL_SCRIPT_ROADBLOCKS", - "num_params": 0, - "short_desc": "Removes references to all created roadblocks (04C0), freeing game memory" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - } - ], - "class": "Char", - "id": "04C7", - "member": "SetObjWalkToChar", - "name": "SET_CHAR_OBJ_WALK_TO_CHAR", - "num_params": 2, - "short_desc": "Sets the character's objective to walk towards the target character" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04C8", - "name": "IS_PICKUP_IN_ZONE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "xOffset", - "type": "float" - }, - { - "name": "yOffset", - "type": "float" - }, - { - "name": "zOffset", - "type": "float" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "class": "Char", - "id": "04C9", - "member": "GetOffsetInWorldCoords", - "name": "GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS", - "num_params": 7, - "short_desc": "Returns the coordinates of the character, with an offset" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "04CA", - "member": "HasBeenPhotographed", - "name": "HAS_CHAR_BEEN_PHOTOGRAPHED", - "num_params": 1, - "short_desc": "Returns true if the character has been photographed" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "target", - "type": "Char" - } - ], - "class": "Char", - "id": "04CB", - "member": "SetObjAimGunAtChar", - "name": "SET_CHAR_OBJ_AIM_GUN_AT_CHAR", - "num_params": 2, - "short_desc": "Sets the character's objective to aim the current weapon at the target character" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "04CC", - "member": "SwitchSecurity", - "name": "SWITCH_SECURITY_CAMERA", - "num_params": 1, - "short_desc": "Displays a green scan line overlay on the screen" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04CD", - "name": "IS_CHAR_IN_FLYING_VEHICLE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "04CE", - "member": "IsInFlyingVehicle", - "name": "IS_PLAYER_IN_FLYING_VEHICLE", - "num_params": 1, - "short_desc": "Returns true if the player is flying in a plane or a helicopter" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04CF", - "name": "HAS_SONY_CD_BEEN_READ", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04D0", - "name": "GET_NUMBER_OF_SONY_CDS_READ", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04D1", - "name": "ADD_SHORT_RANGE_BLIP_FOR_COORD_OLD", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04D2", - "name": "ADD_SHORT_RANGE_BLIP_FOR_COORD", - "num_params": 0 - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "sprite", - "type": "RadarSprite" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "04D3", - "member": "AddShortRangeSpriteForCoord", - "name": "ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD", - "num_params": 5, - "short_desc": "Adds a sprite blip for the specified coordinates" - }, - { - "input": [ - { - "name": "amount", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "04D4", - "member": "AddMoneySpentOnClothes", - "name": "ADD_MONEY_SPENT_ON_CLOTHES", - "num_params": 1, - "short_desc": "Adds to the fashion budget stat" - }, - { - "input": [ - { - "name": "self", - "type": "Heli" - }, - { - "name": "angle", - "type": "float" - } - ], - "class": "Heli", - "id": "04D5", - "member": "SetOrientation", - "name": "SET_HELI_ORIENTATION", - "num_params": 2, - "short_desc": "Forces the heli rotation relative to the north" - }, - { - "input": [ - { - "name": "self", - "type": "Heli" - } - ], - "class": "Heli", - "id": "04D6", - "member": "ClearOrientation", - "name": "CLEAR_HELI_ORIENTATION", - "num_params": 1, - "short_desc": "Resets the heli rotation set with 04D0" - }, - { - "input": [ - { - "name": "self", - "type": "Plane" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "speed", - "type": "int" - } - ], - "class": "Plane", - "id": "04D7", - "member": "GotoCoords", - "name": "PLANE_GOTO_COORDS", - "num_params": 5, - "short_desc": "Makes the AI fly the plane to the specified location" - }, - { - "input": [ - { - "name": "fromX", - "type": "float" - }, - { - "name": "fromY", - "type": "float" - }, - { - "name": "fromZ", - "type": "float" - }, - { - "name": "n", - "type": "int" - } - ], - "output": [ - { - "name": "x", - "type": "float", - "source": "var_any" - }, - { - "name": "y", - "type": "float", - "source": "var_any" - }, - { - "name": "z", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Path", - "id": "04D8", - "member": "GetNthClosestCarNode", - "name": "GET_NTH_CLOSEST_CAR_NODE", - "num_params": 7, - "short_desc": "Gets the coordinates of the nth car path node closest to the given coordinates" - }, - { - "id": "04D9", - "name": "COMMAND_04D9", - "num_params": 7, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "size", - "type": "float" - }, - { - "name": "coronaType", - "type": "CoronaType" - }, - { - "name": "flareType", - "type": "FlareType" - }, - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Fx", - "id": "04DA", - "member": "DrawWeaponshopCorona", - "name": "DRAW_WEAPONSHOP_CORONA", - "num_params": 9, - "short_desc": "Displays a corona with the lowered draw distance at the specified coordinates" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Rc", - "id": "04DB", - "member": "SetEnableDetonateOnContact", - "name": "SET_ENABLE_RC_DETONATE_ON_CONTACT", - "num_params": 1, - "short_desc": "Sets whether RC Bandits detonate on contact with the wheels of any four-wheeled vehicles" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "04DC", - "member": "FreezePosition", - "name": "FREEZE_CHAR_POSITION", - "num_params": 2, - "short_desc": "Sets whether the character's position remains unchanged" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "04DD", - "member": "SetDrownsInWater", - "name": "SET_CHAR_DROWNS_IN_WATER", - "num_params": 2, - "short_desc": "Controls whether the character can drown in water" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Object", - "id": "04DE", - "member": "SetRecordsCollisions", - "name": "SET_OBJECT_RECORDS_COLLISIONS", - "num_params": 2, - "short_desc": "Enables the use of collision checking for the object" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "04DF", - "member": "HasCollidedWithAnything", - "name": "HAS_OBJECT_COLLIDED_WITH_ANYTHING", - "num_params": 1, - "short_desc": "Returns true if the object has collided" - }, - { - "attrs": { - "is_static": true - }, - "class": "Rc", - "id": "04E0", - "member": "RemoveBuggy", - "name": "REMOVE_RC_BUGGY", - "num_params": 0, - "short_desc": "Exits remote-control mode" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04E1", - "name": "HAS_PHOTOGRAPH_BEEN_TAKEN", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "output": [ - { - "name": "armor", - "type": "int", - "source": "var_any" - } - ], - "class": "Char", - "id": "04E2", - "member": "GetArmor", - "name": "GET_CHAR_ARMOUR", - "num_params": 2, - "short_desc": "Returns the character's armor amount" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04E3", - "name": "SET_CHAR_ARMOUR", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Heli" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Heli", - "id": "04E4", - "member": "SetStabiliser", - "name": "SET_HELI_STABILISER", - "num_params": 2, - "short_desc": "Limits the amount a helicopter can tilt" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "distance", - "type": "int" - } - ], - "class": "Car", - "id": "04E5", - "member": "SetStraightLineDistance", - "name": "SET_CAR_STRAIGHT_LINE_DISTANCE", - "num_params": 2, - "short_desc": "Sets the minimum distance for the AI driver to start ignoring car paths and go straight to the target" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "04E6", - "member": "PopBoot", - "name": "POP_CAR_BOOT", - "num_params": 1, - "short_desc": "Opens the car's trunk and keeps it open" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "04E7", - "member": "ShutUp", - "name": "SHUT_PLAYER_UP", - "num_params": 2, - "short_desc": "Shuts the player up" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "mood", - "type": "PlayerMood" - }, - { - "name": "time", - "type": "int" - } - ], - "class": "Player", - "id": "04E8", - "member": "SetMood", - "name": "SET_PLAYER_MOOD", - "num_params": 3, - "short_desc": "Sets the players mood, affecting the dialogue spoken by the player" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "04E9", - "member": "RequestCollision", - "name": "REQUEST_COLLISION", - "num_params": 2, - "short_desc": "Reloads the area at the specified coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "04EA", - "member": "Locate2D", - "name": "LOCATE_OBJECT_2D", - "num_params": 6, - "short_desc": "Returns true if the object is near the specified coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "xRadius", - "type": "float" - }, - { - "name": "yRadius", - "type": "float" - }, - { - "name": "zRadius", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "04EB", - "member": "Locate3D", - "name": "LOCATE_OBJECT_3D", - "num_params": 8, - "short_desc": "Returns true if the object is near the specified point" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "04EC", - "member": "IsInWater", - "name": "IS_OBJECT_IN_WATER", - "num_params": 1, - "short_desc": "Returns true if the object is in water" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04ED", - "name": "SET_CHAR_OBJ_STEAL_ANY_CAR_EVEN_MISSION_CAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "04EE", - "member": "IsInArea2D", - "name": "IS_OBJECT_IN_AREA_2D", - "num_params": 6, - "short_desc": "Returns true if object is in the specified area" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "leftBottomZ", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "rightTopZ", - "type": "float" - }, - { - "name": "drawSphere", - "type": "bool" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Object", - "id": "04EF", - "member": "IsInArea3D", - "name": "IS_OBJECT_IN_AREA_3D", - "num_params": 8, - "short_desc": "Returns true if the object is in the specified area" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - }, - { - "name": "time", - "type": "int" - } - ], - "class": "Char", - "id": "04F0", - "member": "SetCrouch", - "name": "SET_CHAR_CROUCH", - "num_params": 3, - "short_desc": "Makes the character crouch" - }, - { - "input": [ - { - "name": "zone", - "type": "zone_key" - }, - { - "name": "dayOrNight", - "type": "DayOrNight" - }, - { - "name": "normal", - "type": "int" - }, - { - "name": "poor", - "type": "int" - }, - { - "name": "rich", - "type": "int" - }, - { - "name": "exec", - "type": "int" - }, - { - "name": "worker", - "type": "int" - }, - { - "name": "big", - "type": "int" - }, - { - "name": "taxi", - "type": "int" - }, - { - "name": "moped", - "type": "int" - }, - { - "name": "motorbike", - "type": "int" - }, - { - "name": "leisureBoat", - "type": "int" - }, - { - "name": "workerBoat", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Zone", - "id": "04F1", - "member": "SetCivilianCarInfo", - "name": "SET_ZONE_CIVILIAN_CAR_INFO", - "num_params": 13, - "short_desc": "Sets the traffic density of cars and boats in the zone" - }, - { - "input": [ - { - "name": "animationFile", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "04F2", - "member": "RequestAnimation", - "name": "REQUEST_ANIMATION", - "num_params": 1, - "short_desc": "Loads the specified IFP File" - }, - { - "input": [ - { - "name": "animationFile", - "type": "string" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Streaming", - "id": "04F3", - "member": "HasAnimationLoaded", - "name": "HAS_ANIMATION_LOADED", - "num_params": 1, - "short_desc": "Returns true if the specified IFP file is loaded" - }, - { - "input": [ - { - "name": "animationFile", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Streaming", - "id": "04F4", - "member": "RemoveAnimation", - "name": "REMOVE_ANIMATION", - "num_params": 1, - "short_desc": "Releases the specified IFP file, freeing game memory" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "04F5", - "member": "IsWaitingForWorldCollision", - "name": "IS_CHAR_WAITING_FOR_WORLD_COLLISION", - "num_params": 1, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Car", - "id": "04F6", - "member": "IsWaitingForWorldCollision", - "name": "IS_CAR_WAITING_FOR_WORLD_COLLISION", - "num_params": 1, - "short_desc": "" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04F7", - "name": "IS_OBJECT_WAITING_FOR_WORLD_COLLISION", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "04F8", - "member": "SetShuffleIntoDriversSeat", - "name": "SET_CHAR_SHUFFLE_INTO_DRIVERS_SEAT", - "num_params": 1, - "short_desc": "Moves the character from a passenger seat to the driver seat" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "handle", - "type": "Object" - }, - { - "name": "xOffset", - "type": "float" - }, - { - "name": "yOffset", - "type": "float" - }, - { - "name": "zOffset", - "type": "float" - }, - { - "name": "orientation", - "type": "int" - }, - { - "name": "angleLimit", - "type": "float" - }, - { - "name": "weaponType", - "type": "WeaponType" - } - ], - "class": "Char", - "id": "04F9", - "member": "AttachToObject", - "name": "ATTACH_CHAR_TO_OBJECT", - "num_params": 8, - "short_desc": "Attaches the character to the specified object, in turret mode" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "player", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "04FA", - "member": "SetAsPlayerFriend", - "name": "SET_CHAR_AS_PLAYER_FRIEND", - "num_params": 3, - "short_desc": "Sets whether the character ignores the player's crimes" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "04FB", - "name": "DISPLAY_NTH_ONSCREEN_COUNTER", - "num_params": 0 - }, - { - "input": [ - { - "name": "counter", - "type": "int", - "source": "var_global" - }, - { - "name": "display", - "type": "CounterDisplay" - }, - { - "name": "slot", - "type": "int" - }, - { - "name": "text", - "type": "gxt_key" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "04FC", - "member": "DisplayNthCounterWithString", - "name": "DISPLAY_NTH_ONSCREEN_COUNTER_WITH_STRING", - "num_params": 4, - "short_desc": "Displays an onscreen counter with the text in the specified slot, either shown in numbers or as a bar" - }, - { - "input": [ - { - "name": "type", - "type": "SetPieceType" - }, - { - "name": "fromX", - "type": "float" - }, - { - "name": "fromY", - "type": "float" - }, - { - "name": "toX", - "type": "float" - }, - { - "name": "toY", - "type": "float" - }, - { - "name": "spawnPoliceAAtX", - "type": "float" - }, - { - "name": "spawnPoliceAAtY", - "type": "float" - }, - { - "name": "headedTowardsAAtX", - "type": "float" - }, - { - "name": "headedTowardsAAtY", - "type": "float" - }, - { - "name": "spawnPoliceBAtX", - "type": "float" - }, - { - "name": "spawnPoliceBAtY", - "type": "float" - }, - { - "name": "headedTowardsBAtX", - "type": "float" - }, - { - "name": "headedTowardsBAtY", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "04FD", - "member": "AddSetPiece", - "name": "ADD_SET_PIECE", - "num_params": 13, - "short_desc": "Creates a trigger zone for police to appear during chases" - }, - { - "input": [ - { - "name": "color", - "type": "int" - }, - { - "name": "fade", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "04FE", - "member": "SetExtraColors", - "name": "SET_EXTRA_COLOURS", - "num_params": 2, - "short_desc": "Sets the extra color of the sky" - }, - { - "input": [ - { - "name": "withFade", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "04FF", - "member": "ClearExtraColors", - "name": "CLEAR_EXTRA_COLOURS", - "num_params": 1, - "short_desc": "Clears the extra color of the sky" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0500", - "name": "CLOSE_CAR_BOOT", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "twoWheelsTime", - "type": "int", - "source": "var_any" - }, - { - "name": "twoWheelsDistance", - "type": "float", - "source": "var_any" - }, - { - "name": "wheelieTime", - "type": "int", - "source": "var_any" - }, - { - "name": "wheelieDistance", - "type": "float", - "source": "var_any" - }, - { - "name": "stoppieTime", - "type": "int", - "source": "var_any" - }, - { - "name": "stoppieDistance", - "type": "float", - "source": "var_any" - } - ], - "class": "Player", - "id": "0501", - "member": "GetWheelieStats", - "name": "GET_WHEELIE_STATS", - "num_params": 7, - "short_desc": "Returns the stats of the most recent wheelie or stoppie attempt" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0502", - "name": "DISARM_CHAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "tireId", - "type": "int" - } - ], - "class": "Car", - "id": "0503", - "member": "BurstTire", - "name": "BURST_CAR_TYRE", - "num_params": 2, - "short_desc": "Deflates the car's tire" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0504", - "member": "IsObjNoObj", - "name": "IS_CHAR_OBJ_NO_OBJ", - "num_params": 1, - "short_desc": "Returns true if the character has no objective (011C)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "modelName", - "type": "string" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0505", - "member": "IsWearing", - "name": "IS_PLAYER_WEARING", - "num_params": 2, - "short_desc": "Returns true if the player has the specified model (0352)" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0506", - "member": "SetCanDoDriveBy", - "name": "SET_PLAYER_CAN_DO_DRIVE_BY", - "num_params": 2, - "short_desc": "Sets the players driveby mode" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ], - "class": "Char", - "id": "0507", - "member": "SetObjSprintToCoord", - "name": "SET_CHAR_OBJ_SPRINT_TO_COORD", - "num_params": 3, - "short_desc": "Sets the character's objective to sprint at the location" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "0508", - "member": "CreateSwatRope", - "name": "CREATE_SWAT_ROPE", - "num_params": 3, - "short_desc": "Creates a SWAT character coming down from a rope at the coordinates" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0509", - "name": "SET_FIRST_PERSON_CONTROL_CAMERA", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "050A", - "name": "GET_NEAREST_TYRE_TO_POINT", - "num_params": 0 - }, - { - "input": [ - { - "name": "_unused", - "type": "model_vehicle" - }, - { - "name": "component1", - "type": "int" - }, - { - "name": "component2", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Car", - "id": "050B", - "member": "SetModelComponents", - "name": "SET_CAR_MODEL_COMPONENTS", - "num_params": 3, - "short_desc": "Sets the variation of the next car to be created" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Camera", - "id": "050C", - "member": "SwitchLift", - "name": "SWITCH_LIFT_CAMERA", - "num_params": 1, - "short_desc": "Displays a white interference overlay on the screen" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "050D", - "member": "CloseAllDoors", - "name": "CLOSE_ALL_CAR_DOORS", - "num_params": 1, - "short_desc": "Closes all car doors, hoods and boots" - }, - { - "input": [ - { - "name": "fromX", - "type": "float" - }, - { - "name": "fromY", - "type": "float" - }, - { - "name": "toX", - "type": "float" - }, - { - "name": "toZ", - "type": "float" - } - ], - "output": [ - { - "name": "distance", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Math", - "id": "050E", - "member": "GetDistanceBetweenCoords2D", - "name": "GET_DISTANCE_BETWEEN_COORDS_2D", - "num_params": 5, - "short_desc": "Gets the distance between two points" - }, - { - "input": [ - { - "name": "fromX", - "type": "float" - }, - { - "name": "fromY", - "type": "float" - }, - { - "name": "fromZ", - "type": "float" - }, - { - "name": "toX", - "type": "float" - }, - { - "name": "toY", - "type": "float" - }, - { - "name": "toZ", - "type": "float" - } - ], - "output": [ - { - "name": "distance", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Math", - "id": "050F", - "member": "GetDistanceBetweenCoords3D", - "name": "GET_DISTANCE_BETWEEN_COORDS_3D", - "num_params": 7, - "short_desc": "Gets the distance between two points" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "0510", - "member": "PopBootUsingPhysics", - "name": "POP_CAR_BOOT_USING_PHYSICS", - "num_params": 1, - "short_desc": "Opens the trunk/boot door component of the vehicle" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0511", - "name": "SET_FIRST_PERSON_WEAPON_CAMERA", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0512", - "member": "IsLeavingVehicleToDie", - "name": "IS_CHAR_LEAVING_VEHICLE_TO_DIE", - "num_params": 1, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "handle", - "type": "Car" - } - ], - "class": "Object", - "id": "0513", - "member": "SortOutCollisionWithCar", - "name": "SORT_OUT_OBJECT_COLLISION_WITH_CAR", - "num_params": 2, - "short_desc": "Makes the specified car have no collision with the specified object" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0514", - "name": "GET_MAX_WANTED_LEVEL", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "radius", - "type": "float" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0515", - "member": "IsWanderPathClear", - "name": "IS_CHAR_WANDER_PATH_CLEAR", - "num_params": 5, - "short_desc": "" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0516", - "name": "PRINT_HELP_WITH_NUMBER", - "num_params": 0 - }, - { - "input": [ - { - "name": "key", - "type": "gxt_key" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0517", - "member": "PrintHelpForever", - "name": "PRINT_HELP_FOREVER", - "num_params": 1, - "short_desc": "Shows a text box which stays on screen until it is removed by another command" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0518", - "name": "PRINT_HELP_FOREVER_WITH_NUMBER", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "gangId", - "type": "GangType" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0519", - "member": "SetCanBeDamagedByMembersOfGang", - "name": "SET_CHAR_CAN_BE_DAMAGED_BY_MEMBERS_OF_GANG", - "num_params": 3, - "short_desc": "Sets the character be damageable by members of the gang" - }, - { - "attrs": { - "is_nop": true - }, - "id": "051A", - "name": "LOAD_AND_LAUNCH_MISSION_EXCLUSIVE", - "num_params": 0, - "short_desc": "Does nothing" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "051B", - "name": "IS_MISSION_AUDIO_PLAYING", - "num_params": 0 - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "message", - "type": "gxt_key" - } - ], - "output": [ - { - "name": "handle", - "type": "Pickup", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Pickup", - "id": "051C", - "member": "CreateLockedProperty", - "name": "CREATE_LOCKED_PROPERTY_PICKUP", - "num_params": 5, - "short_desc": "Creates an asset icon for an asset that is not for sale" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "price", - "type": "int" - }, - { - "name": "message", - "type": "gxt_key" - } - ], - "output": [ - { - "name": "handle", - "type": "Pickup", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Pickup", - "id": "051D", - "member": "CreateForSaleProperty", - "name": "CREATE_FORSALE_PROPERTY_PICKUP", - "num_params": 6, - "short_desc": "Creates an asset pickup for an asset which can be bought" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "051E", - "member": "FreezePosition", - "name": "FREEZE_CAR_POSITION", - "num_params": 2, - "short_desc": "Locks the vehicle's position" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "handle", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "051F", - "member": "HasBeenDamagedByChar", - "name": "HAS_CHAR_BEEN_DAMAGED_BY_CHAR", - "num_params": 2, - "short_desc": "Returns true if the character has been hurt by the other character" - }, - { - "id": "0520", - "name": "COMMAND_0520", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0521", - "name": "COMMAND_0521", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0522", - "name": "COMMAND_0522", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0523", - "name": "COMMAND_0523", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0524", - "name": "DISPLAY_TEXT_WITH_3_NUMBERS", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0525", - "name": "IS_CAR_DROWNING_IN_WATER", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0526", - "member": "IsDrowningInWater", - "name": "IS_CHAR_DROWNING_IN_WATER", - "num_params": 1, - "short_desc": "Returns true if the character is taking damage from ocean water while on foot" - }, - { - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "0527", - "member": "DisableShadows", - "name": "DISABLE_CUTSCENE_SHADOWS", - "num_params": 0, - "short_desc": "" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "0528", - "member": "HasGlassBeenShatteredNearby", - "name": "HAS_GLASS_BEEN_SHATTERED_NEARBY", - "num_params": 3, - "short_desc": "Checks if glass has been shattered near the specified location" - }, - { - "input": [ - { - "name": "self", - "type": "CutsceneObject" - }, - { - "name": "char", - "type": "CutsceneObject" - }, - { - "name": "boneId", - "type": "Bone" - } - ], - "class": "CutsceneObject", - "id": "0529", - "member": "AttachToBone", - "name": "ATTACH_CUTSCENE_OBJECT_TO_BONE", - "num_params": 3, - "short_desc": "Attaches the cutscene object to the cutscene character's bone" - }, - { - "input": [ - { - "name": "self", - "type": "CutsceneObject" - }, - { - "name": "char", - "type": "CutsceneObject" - }, - { - "name": "frameName", - "type": "string" - } - ], - "class": "CutsceneObject", - "id": "052A", - "member": "AttachToComponent", - "name": "ATTACH_CUTSCENE_OBJECT_TO_COMPONENT", - "num_params": 3, - "short_desc": "Attaches the cutscene object to the cutscene character's frame" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "052B", - "member": "SetStayInCarWhenJacked", - "name": "SET_CHAR_STAY_IN_CAR_WHEN_JACKED", - "num_params": 2, - "short_desc": "Makes the character stay in the vehicle when it is jacked (characters let themselves get \"kidnapped\")" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "052C", - "name": "IS_MISSION_AUDIO_LOADING", - "num_params": 0 - }, - { - "input": [ - { - "name": "amount", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "052D", - "member": "AddMoneySpentOnWeapons", - "name": "ADD_MONEY_SPENT_ON_WEAPONS", - "num_params": 1, - "short_desc": "Adds to the weapon budget stat" - }, - { - "input": [ - { - "name": "amount", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "052E", - "member": "AddMoneySpentOnProperty", - "name": "ADD_MONEY_SPENT_ON_PROPERTY", - "num_params": 1, - "short_desc": "Adds to the property budget stat" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "052F", - "name": "ADD_MONEY_SPENT_ON_AUTO_PAINTING", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0530", - "member": "SetAnsweringMobile", - "name": "SET_CHAR_ANSWERING_MOBILE", - "num_params": 2, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "intensity", - "type": "int" - } - ], - "class": "Player", - "id": "0531", - "member": "SetDrunkenness", - "name": "SET_PLAYER_DRUNKENNESS", - "num_params": 2, - "short_desc": "Makes the camera start moving around in a swirling motion with the specified intensity as if drunk" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0532", - "name": "GET_PLAYER_DRUNKENNESS", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0533", - "name": "SET_PLAYER_DRUG_LEVEL", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0534", - "name": "GET_PLAYER_DRUG_LEVEL", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0535", - "name": "ADD_LOAN_SHARK_VISITS", - "num_params": 0 - }, - { - "input": [ - { - "name": "num", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0536", - "member": "AddStoresKnockedOff", - "name": "ADD_STORES_KNOCKED_OFF", - "num_params": 1, - "short_desc": "Adds to the stores knocked off stat" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0537", - "name": "ADD_MOVIE_STUNTS", - "num_params": 0 - }, - { - "input": [ - { - "name": "num", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0538", - "member": "AddNumberOfAssassinations", - "name": "ADD_NUMBER_OF_ASSASSINATIONS", - "num_params": 1, - "short_desc": "Adds to the assassination contracts stat" - }, - { - "input": [ - { - "name": "num", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0539", - "member": "AddPizzasDelivered", - "name": "ADD_PIZZAS_DELIVERED", - "num_params": 1, - "short_desc": "Adds to the pizzas delivered stat" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "053A", - "name": "ADD_GARBAGE_PICKUPS", - "num_params": 0 - }, - { - "input": [ - { - "name": "num", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "053B", - "member": "AddIceCreamsSold", - "name": "ADD_ICE_CREAMS_SOLD", - "num_params": 1, - "short_desc": "Adds to the \"ice cream\" sold stat" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "053C", - "name": "SET_TOP_SHOOTING_RANGE_SCORE", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "053D", - "name": "ADD_SHOOTING_RANGE_RANK", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "053E", - "name": "ADD_MONEY_SPENT_ON_GAMBLING", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "053F", - "name": "ADD_MONEY_WON_ON_GAMBLING", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0540", - "name": "SET_LARGEST_GAMBLING_WIN", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0541", - "member": "SetInPlayersGroupCanFight", - "name": "SET_CHAR_IN_PLAYERS_GROUP_CAN_FIGHT", - "num_params": 2, - "short_desc": "Sets whether the char assists the player in attacking another character on foot" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0542", - "member": "ClearWaitState", - "name": "CLEAR_CHAR_WAIT_STATE", - "num_params": 1, - "short_desc": "Stops the idle animation on the character (0372)" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "modelId", - "type": "model_vehicle" - } - ], - "output": [ - { - "name": "handle", - "type": "Car", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "0543", - "member": "GetRandomCarOfTypeInAreaNoSave", - "name": "GET_RANDOM_CAR_OF_TYPE_IN_AREA_NO_SAVE", - "num_params": 6, - "short_desc": "Loops through the pool of vehicles to retrieve one that matches the specified model in the specified 2D area" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0544", - "member": "SetCanBurstTires", - "name": "SET_CAN_BURST_CAR_TYRES", - "num_params": 2, - "short_desc": "Sets whether the car's tires can be deflated" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0545", - "member": "SetAutoAim", - "name": "SET_PLAYER_AUTO_AIM", - "num_params": 2, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Heli" - } - ], - "class": "Heli", - "id": "0546", - "member": "FireHunterGun", - "name": "FIRE_HUNTER_GUN", - "num_params": 1, - "short_desc": "Makes the Hunter helicopter fire cannon gun" - }, - { - "input": [ - { - "name": "propertyIndex", - "type": "Property" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0547", - "member": "SetPropertyAsOwned", - "name": "SET_PROPERTY_AS_OWNED", - "num_params": 1, - "short_desc": "Adds the property to the property owned stat" - }, - { - "input": [ - { - "name": "num", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0548", - "member": "AddBloodRingKills", - "name": "ADD_BLOOD_RING_KILLS", - "num_params": 1, - "short_desc": "Adds to the number of Bloodring kills stat" - }, - { - "input": [ - { - "name": "timeInSec", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0549", - "member": "SetLongestTimeInBloodRing", - "name": "SET_LONGEST_TIME_IN_BLOOD_RING", - "num_params": 1, - "short_desc": "Sets the longest time in Bloodring stat" - }, - { - "attrs": { - "is_static": true - }, - "class": "World", - "id": "054A", - "member": "RemoveEverythingForHugeCutscene", - "name": "REMOVE_EVERYTHING_FOR_HUGE_CUTSCENE", - "num_params": 0, - "short_desc": "Stops processing of everything in the world to free up the game memory" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "054B", - "member": "IsTouchingVehicle", - "name": "IS_PLAYER_TOUCHING_VEHICLE", - "num_params": 2, - "short_desc": "Returns true if the player is colliding with the vehicle either on foot or while driving" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "054C", - "name": "IS_CHAR_TOUCHING_VEHICLE", - "num_params": 0 - }, - { - "input": [ - { - "name": "player", - "type": "Player" - }, - { - "name": "offsetX", - "type": "float" - }, - { - "name": "offsetY", - "type": "float" - }, - { - "name": "offsetZ", - "type": "float" - }, - { - "name": "modelId1", - "type": "model_char" - }, - { - "name": "modelId2", - "type": "model_char" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "World", - "id": "054D", - "member": "CheckForPedModelAroundPlayer", - "name": "CHECK_FOR_PED_MODEL_AROUND_PLAYER", - "num_params": 6, - "short_desc": "Returns true if there is a pedestrian of the given model in the specified area around the player" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "054E", - "member": "ClearFollowPath", - "name": "CLEAR_CHAR_FOLLOW_PATH", - "num_params": 1, - "short_desc": "Clears the character's follow path (009E)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "054F", - "member": "SetCanBeShotInVehicle", - "name": "SET_CHAR_CAN_BE_SHOT_IN_VEHICLE", - "num_params": 2, - "short_desc": "Makes the character immune to a damage while in a vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "CutsceneObject" - }, - { - "name": "vehicle", - "type": "Car" - } - ], - "class": "CutsceneObject", - "id": "0550", - "member": "AttachToVehicle", - "name": "ATTACH_CUTSCENE_OBJECT_TO_VEHICLE", - "num_params": 2, - "short_desc": "Attaches the cutscene object to the vehicle" - }, - { - "input": [ - { - "name": "tableName", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Text", - "id": "0551", - "member": "LoadMissionText", - "name": "LOAD_MISSION_TEXT", - "num_params": 1, - "short_desc": "Makes the game use GXT Entries from the specified GXT Table" - }, - { - "input": [ - { - "name": "scrollbarMessage", - "type": "ScrollbarMessage" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "0552", - "member": "SetTonightsEvent", - "name": "SET_TONIGHTS_EVENT", - "num_params": 1, - "short_desc": "Sets the scrollbar message at Hyman Memorial Stadium" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0553", - "member": "ClearLastDamageEntity", - "name": "CLEAR_CHAR_LAST_DAMAGE_ENTITY", - "num_params": 1, - "short_desc": "" - }, - { - "id": "0554", - "name": "COMMAND_0554", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Object", - "id": "0555", - "member": "FreezePosition", - "name": "FREEZE_OBJECT_POSITION", - "num_params": 2, - "short_desc": "Sets whether the object's position remains unchanged" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0556", - "member": "SetHasMetDebbieHarry", - "name": "SET_PLAYER_HAS_MET_DEBBIE_HARRY", - "num_params": 1, - "short_desc": "", - "attrs": { - "is_static": true - } - }, - { - "input": [ - { - "name": "level", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "0557", - "member": "SetRiotIntensity", - "name": "SET_RIOT_INTENSITY", - "num_params": 1, - "short_desc": "Sets the riot sound volume level (0-127)" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0558", - "name": "IS_CAR_IN_ANGLED_AREA_2D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0559", - "name": "IS_CAR_IN_ANGLED_AREA_3D", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "055A", - "name": "REMOVE_WEAPON_FROM_CHAR", - "num_params": 0 - }, - { - "input": [ - { - "name": "pickUpX", - "type": "float" - }, - { - "name": "pickUpY", - "type": "float" - }, - { - "name": "pickUpZ", - "type": "float" - }, - { - "name": "pickUpAngle", - "type": "float" - }, - { - "name": "dropoffX", - "type": "float" - }, - { - "name": "dropoffY", - "type": "float" - }, - { - "name": "dropoffZ", - "type": "float" - }, - { - "name": "dropoffAngle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Shortcut", - "id": "055B", - "member": "SetUpTaxi", - "name": "SET_UP_TAXI_SHORTCUT", - "num_params": 8, - "short_desc": "Sets up both the pick-up (058D) and drop-off (058E) points of the taxi shortcut" - }, - { - "attrs": { - "is_static": true - }, - "class": "Shortcut", - "id": "055C", - "member": "ClearTaxi", - "name": "CLEAR_TAXI_SHORTCUT", - "num_params": 0, - "short_desc": "Clears any taxi shortcut that is set up by 0556 or 058E" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "055D", - "name": "SET_CHAR_OBJ_GOTO_CAR_ON_FOOT", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "055E", - "name": "GET_CLOSEST_WATER_NODE", - "num_params": 0 - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "055F", - "member": "AddPornLeafletToRubbish", - "name": "ADD_PORN_LEAFLET_TO_RUBBISH", - "num_params": 1, - "short_desc": "Sets visibility of secondary rubbish (03AD)" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "type", - "type": "Clothing" - } - ], - "output": [ - { - "name": "handle", - "type": "Pickup", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Pickup", - "id": "0560", - "member": "CreateClothes", - "name": "CREATE_CLOTHES_PICKUP", - "num_params": 5, - "short_desc": "Creates a clothing pickup at the location" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0561", - "name": "CHANGE_BLIP_THRESHOLD", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Player", - "id": "0562", - "member": "MakeFireProof", - "name": "MAKE_PLAYER_FIRE_PROOF", - "num_params": 2, - "short_desc": "Makes the player immune to fire" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "value", - "type": "int" - } - ], - "class": "Player", - "id": "0563", - "member": "IncreaseMaxHealth", - "name": "INCREASE_PLAYER_MAX_HEALTH", - "num_params": 2, - "short_desc": "Increases the players maximum health by the specified amount" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "value", - "type": "int" - } - ], - "class": "Player", - "id": "0564", - "member": "IncreaseMaxArmor", - "name": "INCREASE_PLAYER_MAX_ARMOUR", - "num_params": 2, - "short_desc": "Increases the players armor by the specified amount" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Char", - "id": "0565", - "member": "CreateRandomAsDriver", - "name": "CREATE_RANDOM_CHAR_AS_DRIVER", - "num_params": 2, - "short_desc": "Creates a driver in the vehicle" - }, - { - "input": [ - { - "name": "vehicle", - "type": "Car" - }, - { - "name": "seatId", - "type": "int" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Char", - "id": "0566", - "member": "CreateRandomAsPassenger", - "name": "CREATE_RANDOM_CHAR_AS_PASSENGER", - "num_params": 3, - "short_desc": "Creates a random character in the passenger seat of the vehicle" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0567", - "member": "SetIgnoreThreatsBehindObjects", - "name": "SET_CHAR_IGNORE_THREATS_BEHIND_OBJECTS", - "num_params": 2, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "ammo", - "type": "int" - } - ], - "class": "Player", - "id": "0568", - "member": "EnsureHasDriveByWeapon", - "name": "ENSURE_PLAYER_HAS_DRIVE_BY_WEAPON", - "num_params": 2, - "short_desc": "Sets the amount of ammo a player has during a driveby" - }, - { - "input": [ - { - "name": "self", - "type": "Heli" - } - ], - "class": "Heli", - "id": "0569", - "member": "MakeComeCrashingDown", - "name": "MAKE_HELI_COME_CRASHING_DOWN", - "num_params": 1, - "short_desc": "Makes helicopter simulate crash landing, exploding on the way if high up" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "type", - "type": "ExplosionType" - } - ], - "attrs": { - "is_static": true - }, - "class": "Fx", - "id": "056A", - "member": "AddExplosionNoSound", - "name": "ADD_EXPLOSION_NO_SOUND", - "num_params": 4, - "short_desc": "Creates an explosion with no sound" - }, - { - "input": [ - { - "name": "self", - "type": "Object" - }, - { - "name": "areaId", - "type": "Interior" - } - ], - "class": "Object", - "id": "056B", - "member": "SetAreaVisible", - "name": "SET_OBJECT_AREA_VISIBLE", - "num_params": 2, - "short_desc": "Sets the visibility of the object to the specified interior" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "056C", - "name": "WAS_VEHICLE_EVER_POLICE", - "num_params": 0 - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "056D", - "member": "SetNeverTargeted", - "name": "SET_CHAR_NEVER_TARGETED", - "num_params": 2, - "short_desc": "Sets whether the character won't be targeted by the autoaim system" - }, - { - "input": [ - { - "name": "animation", - "type": "string" - } - ], - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "056E", - "member": "LoadUncompressedAnim", - "name": "LOAD_UNCOMPRESSED_ANIM", - "num_params": 1, - "short_desc": "" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Cutscene", - "id": "056F", - "member": "WasSkipped", - "name": "WAS_CUTSCENE_SKIPPED", - "num_params": 0, - "short_desc": "Returns true if the cutscene was skipped" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0570", - "member": "SetCrouchWhenThreatened", - "name": "SET_CHAR_CROUCH_WHEN_THREATENED", - "num_params": 2, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0571", - "member": "IsInAnyPoliceVehicle", - "name": "IS_CHAR_IN_ANY_POLICE_VEHICLE", - "num_params": 1, - "short_desc": "Returns true if the character is driving a police vehicle" - }, - { - "input": [ - { - "name": "handle", - "type": "any" - } - ], - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Char", - "id": "0572", - "member": "DoesExist", - "name": "DOES_CHAR_EXIST", - "num_params": 1, - "short_desc": "Returns true if the handle is a valid character handle" - }, - { - "id": "0573", - "name": "COMMAND_0573", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0574", - "name": "ADD_SHORT_RANGE_BLIP_FOR_CONTACT_POINT", - "num_params": 0 - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "sprite", - "type": "RadarSprite" - } - ], - "output": [ - { - "name": "handle", - "type": "Blip", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "Blip", - "id": "0575", - "member": "AddShortRangeSpriteForContactPoint", - "name": "ADD_SHORT_RANGE_SPRITE_BLIP_FOR_CONTACT_POINT", - "num_params": 5, - "short_desc": "Adds a contact sprite blip for the specified coordinates" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0576", - "member": "IsStuck", - "name": "IS_CHAR_STUCK", - "num_params": 1, - "short_desc": "" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "0577", - "member": "SetAllTaxisHaveNitro", - "name": "SET_ALL_TAXIS_HAVE_NITRO", - "num_params": 1, - "short_desc": "Toggles whether all taxis have nitrous" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0578", - "member": "SetStopShootDontSeekEntity", - "name": "SET_CHAR_STOP_SHOOT_DONT_SEEK_ENTITY", - "num_params": 2, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "0579", - "member": "FreezePositionAndDontLoadCollision", - "name": "FREEZE_CAR_POSITION_AND_DONT_LOAD_COLLISION", - "num_params": 2, - "short_desc": "Makes the car maintain its position" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "057A", - "name": "FREEZE_CHAR_POSITION_AND_DONT_LOAD_COLLISION", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "057B", - "name": "FREEZE_OBJECT_POSITION_AND_DONT_LOAD_COLLISION", - "num_params": 0 - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "057C", - "name": "SET_FADE_AND_JUMPCUT_AFTER_RC_EXPLOSION", - "num_params": 0 - }, - { - "input": [ - { - "name": "highestLevel", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "057D", - "member": "RegisterVigilanteLevel", - "name": "REGISTER_VIGILANTE_LEVEL", - "num_params": 1, - "short_desc": "Saves the highest vigilante level stat" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "057E", - "member": "ClearAllAnims", - "name": "CLEAR_ALL_CHAR_ANIMS", - "num_params": 1, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Garage" - }, - { - "name": "max", - "type": "int" - } - ], - "class": "Garage", - "id": "057F", - "member": "SetMaximumNumberOfCars", - "name": "SET_MAXIMUM_NUMBER_OF_CARS_IN_GARAGE", - "num_params": 2, - "short_desc": "Sets the maximum number of vehicles for a save garage to open" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Hud", - "id": "0580", - "member": "AreWantedStarsFlashing", - "name": "WANTED_STARS_ARE_FLASHING", - "num_params": 0, - "short_desc": "Returns true if the wanted stars are flashing (normally after visiting a Pay'n'Spray)" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Weather", - "id": "0581", - "member": "SetAllowHurricanes", - "name": "SET_ALLOW_HURRICANES", - "num_params": 1, - "short_desc": "Allows hurricane weather" - }, - { - "input": [ - { - "name": "track", - "type": "AnnouncementTrack" - } - ], - "attrs": { - "is_static": true - }, - "class": "Audio", - "id": "0582", - "member": "PlayAnnouncement", - "name": "PLAY_ANNOUNCEMENT", - "num_params": 1, - "short_desc": "Plays an announcement audio" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Game", - "id": "0583", - "member": "SetIsInStadium", - "name": "SET_PLAYER_IS_IN_STADIUM", - "num_params": 1, - "short_desc": "Greys out the radar" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "output": [ - { - "name": "num", - "type": "int", - "source": "var_any" - } - ], - "class": "Player", - "id": "0584", - "member": "GetBusFaresCollected", - "name": "GET_BUS_FARES_COLLECTED_BY_PLAYER", - "num_params": 2, - "short_desc": "Gets the bus fares collected by the player" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "distributionCar", - "type": "Car" - } - ], - "output": [ - { - "name": "status", - "type": "ObjBuyIceCreamStatus", - "source": "var_any" - } - ], - "class": "Char", - "id": "0585", - "member": "SetObjBuyIceCream", - "name": "SET_CHAR_OBJ_BUY_ICE_CREAM", - "num_params": 3, - "short_desc": "Makes the character approach the distribution vehicle to buy \"ice cream\" and returns the status of this attempt" - }, - { - "input": [ - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Hud", - "id": "0586", - "member": "DisplayRadar", - "name": "DISPLAY_RADAR", - "num_params": 1, - "short_desc": "Displays or hides the radar" - }, - { - "input": [ - { - "name": "statId", - "type": "int" - }, - { - "name": "position", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0587", - "member": "RegisterBestPosition", - "name": "REGISTER_BEST_POSITION", - "num_params": 2, - "short_desc": "Updates the race best position" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - }, - { - "name": "infoZone", - "type": "gxt_key" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "0588", - "member": "IsInInfoZone", - "name": "IS_PLAYER_IN_INFO_ZONE", - "num_params": 2, - "short_desc": "Returns true if the player is in the specified zone" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "class": "Char", - "id": "0589", - "member": "ClearIceCreamPurchase", - "name": "CLEAR_CHAR_ICE_CREAM_PURCHASE", - "num_params": 1, - "short_desc": "Resets the information that the character has bought \"ice cream\"" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Pad", - "id": "058A", - "member": "IsInCarFireButtonPressed", - "name": "IS_IN_CAR_FIRE_BUTTON_PRESSED", - "num_params": 0, - "short_desc": "Returns true if the attack button is being pressed" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "058B", - "member": "HasAttemptedAttractor", - "name": "HAS_CHAR_ATTEMPTED_ATTRACTOR", - "num_params": 1, - "short_desc": "Checks if the distribution ped has been attracted" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Car", - "id": "058C", - "member": "SetLoadCollisionFlag", - "name": "SET_LOAD_COLLISION_FOR_CAR_FLAG", - "num_params": 2, - "short_desc": "" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "058D", - "member": "SetLoadCollisionFlag", - "name": "SET_LOAD_COLLISION_FOR_CHAR_FLAG", - "num_params": 2, - "short_desc": "" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "058E", - "name": "SET_LOAD_COLLISION_FOR_OBJECT_FLAG", - "num_params": 0 - }, - { - "input": [ - { - "name": "fromX", - "type": "float" - }, - { - "name": "fromY", - "type": "float" - }, - { - "name": "fromZ", - "type": "float" - }, - { - "name": "toX", - "type": "float" - }, - { - "name": "toY", - "type": "float" - }, - { - "name": "toZ", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Fx", - "id": "058F", - "member": "AddBigGunFlash", - "name": "ADD_BIG_GUN_FLASH", - "num_params": 6, - "short_desc": "Creates a gun flash particle effect" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "0590", - "member": "HasBoughtIceCream", - "name": "HAS_CHAR_BOUGHT_ICE_CREAM", - "num_params": 1, - "short_desc": "Returns true if the character has bought \"ice cream\"" - }, - { - "output": [ - { - "name": "percentage", - "type": "float", - "source": "var_any" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "0591", - "member": "GetProgressPercentage", - "name": "GET_PROGRESS_PERCENTAGE", - "num_params": 1, - "short_desc": "Gets the progress of completion as a percentage" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "angle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Shortcut", - "id": "0592", - "member": "SetPickupPoint", - "name": "SET_SHORTCUT_PICKUP_POINT", - "num_params": 4, - "short_desc": "Sets the taxi shortcut pick-up point for mission" - }, - { - "input": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "angle", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "Shortcut", - "id": "0593", - "member": "SetDropoffPointForMission", - "name": "SET_SHORTCUT_DROPOFF_POINT_FOR_MISSION", - "num_params": 4, - "short_desc": "Sets the taxi shortcut pick-up point for mission" - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "rightTopX", - "type": "float" - }, - { - "name": "rightTopY", - "type": "float" - }, - { - "name": "allowCivilian", - "type": "int" - }, - { - "name": "allowGangMember", - "type": "int" - }, - { - "name": "allowCriminal", - "type": "int" - } - ], - "output": [ - { - "name": "handle", - "type": "Char", - "source": "var_any" - } - ], - "attrs": { - "is_constructor": true - }, - "class": "World", - "id": "0594", - "member": "GetRandomIceCreamCustomerInArea", - "name": "GET_RANDOM_ICE_CREAM_CUSTOMER_IN_AREA", - "num_params": 8, - "short_desc": "Returns the handle of the next ped in the given area who has not bought \"ice cream\" yet, or -1 otherwise" - }, - { - "attrs": { - "is_unsupported": true - }, - "id": "0595", - "name": "GET_RANDOM_ICE_CREAM_CUSTOMER_IN_ZONE", - "num_params": 0 - }, - { - "input": [ - { - "name": "leftBottomX", - "type": "float" - }, - { - "name": "leftBottomY", - "type": "float" - }, - { - "name": "topRightX", - "type": "float" - }, - { - "name": "topRightY", - "type": "float" - } - ], - "attrs": { - "is_static": true - }, - "class": "World", - "id": "0596", - "member": "UnlockAllCarDoorsInArea", - "name": "UNLOCK_ALL_CAR_DOORS_IN_AREA", - "num_params": 4, - "short_desc": "Unlocks all car doors in the specified rectangular area" - }, - { - "input": [ - { - "name": "gangId", - "type": "GangType" - }, - { - "name": "state", - "type": "bool" - } - ], - "attrs": { - "is_static": true - }, - "class": "Gang", - "id": "0597", - "member": "SetAttackPlayerWithCops", - "name": "SET_GANG_ATTACK_PLAYER_WITH_COPS", - "num_params": 2, - "short_desc": "Forces members of the specified gang to act as law enforcement towards the player" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - }, - { - "name": "state", - "type": "bool" - } - ], - "class": "Char", - "id": "0598", - "member": "SetFrightenedInJackedCar", - "name": "SET_CHAR_FRIGHTENED_IN_JACKED_CAR", - "num_params": 2, - "short_desc": "" - }, - { - "class": "Car", - "id": "0599", - "input": [ - { - "name": "self", - "type": "Car" - }, - { - "name": "alpha", - "type": "int" - } - ], - "member": "SetToFadeIn", - "name": "SET_VEHICLE_TO_FADE_IN", - "num_params": 2, - "short_desc": "Sets the alpha transparency of a distant vehicle" - }, - { - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "059A", - "member": "RegisterOddjobMissionPassed", - "name": "REGISTER_ODDJOB_MISSION_PASSED", - "num_params": 0, - "short_desc": "Sets the latest odd job mission passed" - }, - { - "input": [ - { - "name": "self", - "type": "Player" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Player", - "id": "059B", - "member": "IsInShortcutTaxi", - "name": "IS_PLAYER_IN_SHORTCUT_TAXI", - "num_params": 1, - "short_desc": "Returns true if the player is entering a shortcut taxi (0556)" - }, - { - "input": [ - { - "name": "self", - "type": "Char" - } - ], - "attrs": { - "is_condition": true - }, - "class": "Char", - "id": "059C", - "member": "IsDucking", - "name": "IS_CHAR_DUCKING", - "num_params": 1, - "short_desc": "Returns true if the specified character is crouching" - }, - { - "input": [ - { - "name": "heliObject", - "type": "CutsceneObject" - }, - { - "name": "radius", - "type": "float" - }, - { - "name": "density", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Cutscene", - "id": "059D", - "member": "CreateDustEffectForHeli", - "name": "CREATE_DUST_EFFECT_FOR_CUTSCENE_HELI", - "num_params": 3, - "short_desc": "Creates an effect of a heli blowing up dust on the ground" - }, - { - "input": [ - { - "name": "highestLevel", - "type": "int" - } - ], - "attrs": { - "is_static": true - }, - "class": "Stat", - "id": "059E", - "member": "RegisterFireLevel", - "name": "REGISTER_FIRE_LEVEL", - "num_params": 1, - "short_desc": "Saves the highest firefighter level stat" - }, - { - "attrs": { - "is_condition": true, - "is_static": true - }, - "class": "Game", - "id": "059F", - "member": "IsAustralian", - "name": "IS_AUSTRALIAN_GAME", - "num_params": 0, - "short_desc": "Returns true if the current game is an Australian release" - }, - { - "input": [ - { - "name": "self", - "type": "Car" - } - ], - "class": "Car", - "id": "05A0", - "member": "DisarmBomb", - "name": "DISARM_CAR_BOMB", - "num_params": 1, - "short_desc": "Disarms the car's bomb" - }, - { - "id": "05A1", - "name": "COMMAND_05A1", - "num_params": 0 - }, - { - "id": "05A2", - "name": "COMMAND_05A2", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "05A3", - "name": "COMMAND_05A3", - "num_params": 0 - }, - { - "id": "05A4", - "name": "COMMAND_05A4", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "05A5", - "name": "COMMAND_05A5", - "num_params": 7, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - } - ] - }, - { - "id": "05A6", - "name": "COMMAND_05A6", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "05A7", - "name": "COMMAND_05A7", - "num_params": 7, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - } - ] - }, - { - "id": "05A8", - "name": "COMMAND_05A8", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "05A9", - "name": "COMMAND_05A9", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "05AA", - "name": "COMMAND_05AA", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "05AB", - "name": "COMMAND_05AB", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05AC", - "name": "COMMAND_05AC", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "05AD", - "name": "COMMAND_05AD", - "num_params": 0 - }, - { - "id": "05AE", - "name": "COMMAND_05AE", - "num_params": 0 - }, - { - "id": "05AF", - "name": "COMMAND_05AF", - "num_params": 0 - }, - { - "id": "05B0", - "name": "COMMAND_05B0", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05B1", - "name": "COMMAND_05B1", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05B2", - "name": "COMMAND_05B2", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05B3", - "name": "COMMAND_05B3", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05B4", - "name": "COMMAND_05B4", - "num_params": 0 - }, - { - "id": "05B5", - "name": "COMMAND_05B5", - "num_params": 0 - }, - { - "id": "05B6", - "name": "COMMAND_05B6", - "num_params": 0 - }, - { - "id": "05B7", - "name": "COMMAND_05B7", - "num_params": 0 - }, - { - "id": "05B8", - "name": "COMMAND_05B8", - "num_params": 0 - }, - { - "id": "05B9", - "name": "COMMAND_05B9", - "num_params": 0 - }, - { - "id": "05BA", - "name": "COMMAND_05BA", - "num_params": 0 - }, - { - "id": "05BB", - "name": "COMMAND_05BB", - "num_params": 0 - }, - { - "id": "05BC", - "name": "COMMAND_05BC", - "num_params": 0 - }, - { - "id": "05BD", - "name": "COMMAND_05BD", - "num_params": 0 - }, - { - "id": "05BE", - "name": "COMMAND_05BE", - "num_params": 0 - }, - { - "id": "05BF", - "name": "COMMAND_05BF", - "num_params": 0 - }, - { - "id": "05C0", - "name": "COMMAND_05C0", - "num_params": 0 - }, - { - "id": "05C1", - "name": "COMMAND_05C1", - "num_params": 0 - }, - { - "id": "05C2", - "name": "COMMAND_05C2", - "num_params": 0 - }, - { - "id": "05C3", - "name": "COMMAND_05C3", - "num_params": 0 - }, - { - "id": "05C4", - "name": "COMMAND_05C4", - "num_params": 0 - }, - { - "id": "05C5", - "name": "COMMAND_05C5", - "num_params": 0 - }, - { - "id": "05C6", - "name": "COMMAND_05C6", - "num_params": 0 - }, - { - "id": "05C7", - "name": "COMMAND_05C7", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05C8", - "name": "COMMAND_05C8", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05C9", - "name": "COMMAND_05C9", - "num_params": 10, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - }, - { - "name": "_p7", - "type": "any" - }, - { - "name": "_p8", - "type": "any" - }, - { - "name": "_p9", - "type": "any" - } - ] - }, - { - "id": "05CA", - "name": "COMMAND_05CA", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05CB", - "name": "COMMAND_05CB", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05CC", - "name": "COMMAND_05CC", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05CD", - "name": "COMMAND_05CD", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05CE", - "name": "COMMAND_05CE", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05CF", - "name": "COMMAND_05CF", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "05D0", - "name": "COMMAND_05D0", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05D1", - "name": "COMMAND_05D1", - "num_params": 0 - }, - { - "id": "05D2", - "name": "COMMAND_05D2", - "num_params": 0 - }, - { - "id": "05D3", - "name": "COMMAND_05D3", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05D4", - "name": "COMMAND_05D4", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05D5", - "name": "COMMAND_05D5", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05D6", - "name": "COMMAND_05D6", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "05D7", - "name": "COMMAND_05D7", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "05D8", - "name": "COMMAND_05D8", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05D9", - "name": "COMMAND_05D9", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05DA", - "name": "COMMAND_05DA", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05DB", - "name": "COMMAND_05DB", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "05DC", - "name": "COMMAND_05DC", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05DD", - "name": "COMMAND_05DD", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05DE", - "name": "COMMAND_05DE", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05DF", - "name": "COMMAND_05DF", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05E0", - "name": "COMMAND_05E0", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05E1", - "name": "COMMAND_05E1", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05E2", - "name": "COMMAND_05E2", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05E3", - "name": "COMMAND_05E3", - "num_params": 6, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - } - ] - }, - { - "id": "05E4", - "name": "COMMAND_05E4", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05E5", - "name": "COMMAND_05E5", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05E6", - "name": "COMMAND_05E6", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05E7", - "name": "COMMAND_05E7", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05E8", - "name": "COMMAND_05E8", - "num_params": 0 - }, - { - "id": "05E9", - "name": "COMMAND_05E9", - "num_params": 0 - }, - { - "id": "05EA", - "name": "COMMAND_05EA", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05EB", - "name": "COMMAND_05EB", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05EC", - "name": "COMMAND_05EC", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "05ED", - "name": "COMMAND_05ED", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "05EE", - "name": "COMMAND_05EE", - "num_params": 0 - }, - { - "id": "05EF", - "name": "COMMAND_05EF", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05F0", - "name": "COMMAND_05F0", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05F1", - "name": "COMMAND_05F1", - "num_params": 0 - }, - { - "id": "05F2", - "name": "COMMAND_05F2", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05F3", - "name": "COMMAND_05F3", - "num_params": 0 - }, - { - "id": "05F4", - "name": "COMMAND_05F4", - "num_params": 0 - }, - { - "id": "05F5", - "name": "COMMAND_05F5", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05F6", - "name": "COMMAND_05F6", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05F7", - "name": "COMMAND_05F7", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05F8", - "name": "COMMAND_05F8", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05F9", - "name": "COMMAND_05F9", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05FA", - "name": "COMMAND_05FA", - "num_params": 0 - }, - { - "id": "05FB", - "name": "COMMAND_05FB", - "num_params": 0 - }, - { - "id": "05FC", - "name": "COMMAND_05FC", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "05FD", - "name": "COMMAND_05FD", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05FE", - "name": "COMMAND_05FE", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "05FF", - "name": "COMMAND_05FF", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0600", - "name": "COMMAND_0600", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0601", - "name": "COMMAND_0601", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0602", - "name": "COMMAND_0602", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0603", - "name": "COMMAND_0603", - "num_params": 0 - }, - { - "id": "0604", - "name": "COMMAND_0604", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0605", - "name": "COMMAND_0605", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0606", - "name": "COMMAND_0606", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0607", - "name": "COMMAND_0607", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0608", - "name": "COMMAND_0608", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0609", - "name": "COMMAND_0609", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "060A", - "name": "COMMAND_060A", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "060B", - "name": "COMMAND_060B", - "num_params": 6, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - } - ] - }, - { - "id": "060C", - "name": "COMMAND_060C", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "060D", - "name": "COMMAND_060D", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "060E", - "name": "COMMAND_060E", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "060F", - "name": "COMMAND_060F", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "0610", - "name": "COMMAND_0610", - "num_params": 0 - }, - { - "id": "0611", - "name": "COMMAND_0611", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0612", - "name": "COMMAND_0612", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0613", - "name": "COMMAND_0613", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0614", - "name": "COMMAND_0614", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0615", - "name": "COMMAND_0615", - "num_params": 6, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - } - ] - }, - { - "id": "0616", - "name": "COMMAND_0616", - "num_params": 0 - }, - { - "id": "0617", - "name": "COMMAND_0617", - "num_params": 0 - }, - { - "id": "0618", - "name": "COMMAND_0618", - "num_params": 0 - }, - { - "id": "0619", - "name": "COMMAND_0619", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "061A", - "name": "COMMAND_061A", - "num_params": 0 - }, - { - "id": "061B", - "name": "COMMAND_061B", - "num_params": 6, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - } - ] - }, - { - "id": "061C", - "name": "COMMAND_061C", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "061D", - "name": "COMMAND_061D", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "061E", - "name": "COMMAND_061E", - "num_params": 0 - }, - { - "id": "061F", - "name": "COMMAND_061F", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0620", - "name": "COMMAND_0620", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "0621", - "name": "COMMAND_0621", - "num_params": 0 - }, - { - "id": "0622", - "name": "COMMAND_0622", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0623", - "name": "COMMAND_0623", - "num_params": 0 - }, - { - "id": "0624", - "name": "COMMAND_0624", - "num_params": 0 - }, - { - "id": "0625", - "name": "COMMAND_0625", - "num_params": 0 - }, - { - "id": "0626", - "name": "COMMAND_0626", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0627", - "name": "COMMAND_0627", - "num_params": 0 - }, - { - "id": "0628", - "name": "COMMAND_0628", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "0629", - "name": "COMMAND_0629", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "062A", - "name": "COMMAND_062A", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "062B", - "name": "COMMAND_062B", - "num_params": 7, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - } - ] - }, - { - "id": "062C", - "name": "COMMAND_062C", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "062D", - "name": "COMMAND_062D", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "062E", - "name": "COMMAND_062E", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "062F", - "name": "COMMAND_062F", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0630", - "name": "COMMAND_0630", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0631", - "name": "COMMAND_0631", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0632", - "name": "COMMAND_0632", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0633", - "name": "COMMAND_0633", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0634", - "name": "COMMAND_0634", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0635", - "name": "COMMAND_0635", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0636", - "name": "COMMAND_0636", - "num_params": 0 - }, - { - "id": "0637", - "name": "COMMAND_0637", - "num_params": 0 - }, - { - "id": "0638", - "name": "COMMAND_0638", - "num_params": 0 - }, - { - "id": "0639", - "name": "COMMAND_0639", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "063A", - "name": "COMMAND_063A", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "063B", - "name": "COMMAND_063B", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "063C", - "name": "COMMAND_063C", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "063D", - "name": "COMMAND_063D", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "063E", - "name": "COMMAND_063E", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "063F", - "name": "COMMAND_063F", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0640", - "name": "COMMAND_0640", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0641", - "name": "COMMAND_0641", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0642", - "name": "COMMAND_0642", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0643", - "name": "COMMAND_0643", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0644", - "name": "COMMAND_0644", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0645", - "name": "COMMAND_0645", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0646", - "name": "COMMAND_0646", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0647", - "name": "COMMAND_0647", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0648", - "name": "COMMAND_0648", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0649", - "name": "COMMAND_0649", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "064A", - "name": "COMMAND_064A", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "064B", - "name": "COMMAND_064B", - "num_params": 10, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - }, - { - "name": "_p6", - "type": "any" - }, - { - "name": "_p7", - "type": "any" - }, - { - "name": "_p8", - "type": "any" - }, - { - "name": "_p9", - "type": "any" - } - ] - }, - { - "id": "064C", - "name": "COMMAND_064C", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "064D", - "name": "COMMAND_064D", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "064E", - "name": "COMMAND_064E", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "064F", - "name": "COMMAND_064F", - "num_params": 0 - }, - { - "id": "0650", - "name": "COMMAND_0650", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0651", - "name": "COMMAND_0651", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0652", - "name": "COMMAND_0652", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "0653", - "name": "COMMAND_0653", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0654", - "name": "COMMAND_0654", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0655", - "name": "COMMAND_0655", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "0656", - "name": "COMMAND_0656", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "0657", - "name": "COMMAND_0657", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "0658", - "name": "COMMAND_0658", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "0659", - "name": "COMMAND_0659", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "065A", - "name": "COMMAND_065A", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "065B", - "name": "COMMAND_065B", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "065C", - "name": "COMMAND_065C", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "065D", - "name": "COMMAND_065D", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "065E", - "name": "COMMAND_065E", - "num_params": 0 - }, - { - "id": "065F", - "name": "COMMAND_065F", - "num_params": 5, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - } - ] - }, - { - "id": "0660", - "name": "COMMAND_0660", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "0661", - "name": "COMMAND_0661", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "0662", - "name": "COMMAND_0662", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0663", - "name": "COMMAND_0663", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0664", - "name": "COMMAND_0664", - "num_params": 4, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - } - ] - }, - { - "id": "0665", - "name": "COMMAND_0665", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0666", - "name": "COMMAND_0666", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "0667", - "name": "COMMAND_0667", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0668", - "name": "COMMAND_0668", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0669", - "name": "COMMAND_0669", - "num_params": 0 - }, - { - "id": "066A", - "name": "COMMAND_066A", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "066B", - "name": "COMMAND_066B", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "066C", - "name": "COMMAND_066C", - "num_params": 6, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - }, - { - "name": "_p3", - "type": "any" - }, - { - "name": "_p4", - "type": "any" - }, - { - "name": "_p5", - "type": "any" - } - ] - }, - { - "id": "066D", - "name": "COMMAND_066D", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "066E", - "name": "COMMAND_066E", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "066F", - "name": "COMMAND_066F", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0670", - "name": "COMMAND_0670", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "0671", - "name": "COMMAND_0671", - "num_params": 3, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - }, - { - "name": "_p2", - "type": "any" - } - ] - }, - { - "id": "0672", - "name": "COMMAND_0672", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0673", - "name": "COMMAND_0673", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0674", - "name": "COMMAND_0674", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0675", - "name": "COMMAND_0675", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0676", - "name": "COMMAND_0676", - "num_params": 1, - "input": [ - { - "name": "_p0", - "type": "any" - } - ] - }, - { - "id": "0677", - "name": "COMMAND_0677", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - }, - { - "id": "0678", - "name": "COMMAND_0678", - "num_params": 2, - "input": [ - { - "name": "_p0", - "type": "any" - }, - { - "name": "_p1", - "type": "any" - } - ] - } - ] - } - ], - "classes": [ - { - "name": "Blip", - "constructable": true, - "desc": "Markers and Radar Icons" - }, - { - "name": "Car", - "constructable": true, - "desc": "Script Vehicles" - }, - { - "name": "CarGenerator", - "constructable": true, - "desc": "Parking Lots" - }, - { - "name": "Char", - "constructable": true, - "desc": "Script Characters (Actors)" - }, - { - "name": "Clipboard", - "constructable": false, - "desc": "Basic operations to copy and paste data" - }, - { - "name": "CutsceneObject", - "constructable": true, - "desc": "Cutscene Objects" - }, - { - "name": "DynamicLibrary", - "constructable": true, - "desc": "Loading DLL files and finding exported functions" - }, - { - "name": "File", - "constructable": true, - "desc": "Reading and writing files" - }, - { - "name": "Fs", - "constructable": false, - "desc": "File System operations such as copying or deleting files" - }, - { - "name": "Garage", - "constructable": true, - "desc": "Garages" - }, - { - "name": "ImGui", - "constructable": false, - "desc": "ImGui integration" - }, - { - "name": "IniFile", - "constructable": false, - "desc": "Reading and writing .ini files" - }, - { - "name": "MemoryLibrary", - "constructable": true, - "desc": "Working with DLL files already loaded in memory" - }, - { - "name": "Object", - "constructable": true, - "desc": "Script Objects" - }, - { - "name": "ObjectPath", - "constructable": true, - "desc": "Pre-recorded script paths" - }, - { - "name": "Phone", - "constructable": true, - "desc": "Phone Booth Calls and Messages" - }, - { - "name": "Pickup", - "constructable": true, - "desc": "Interactive Script Objects" - }, - { - "name": "Player", - "constructable": true, - "desc": "The Main Character Controlled by a Player" - }, - { - "name": "ScriptFire", - "constructable": true, - "desc": "Script Fires" - }, - { - "name": "Sound", - "constructable": true, - "desc": "Positionable Audio Effects" - }, - { - "name": "Sphere", - "constructable": true, - "desc": "Cylinder Markers" - }, - { - "name": "Boat", - "constructable": true, - "extends": "Car", - "desc": "Boats" - }, - { - "name": "Heli", - "constructable": true, - "extends": "Car", - "desc": "Choppers" - }, - { - "name": "Plane", - "constructable": true, - "extends": "Car", - "desc": "Planes" - }, - { - "name": "Tank", - "constructable": true, - "extends": "Car", - "desc": "Tanks" - }, - { - "name": "Audio", - "constructable": false, - "desc": "Audio Effects" - }, - { - "name": "Camera", - "constructable": false, - "desc": "Camera/View Manipulation" - }, - { - "name": "Clock", - "constructable": false, - "desc": "Time Manipulation" - }, - { - "name": "Credits", - "constructable": false, - "desc": "End-Game Credits" - }, - { - "name": "Cutscene", - "constructable": false, - "desc": "Mission Cutscenes" - }, - { - "name": "Debugger", - "constructable": false, - "desc": "Various Debugging Utilities" - }, - { - "name": "Fx", - "constructable": false, - "desc": "Various 2D Effects (Shadows, Lights, Coronas, Particles)" - }, - { - "name": "Game", - "constructable": false, - "desc": "Game State" - }, - { - "name": "Gang", - "constructable": false, - "desc": "Gangs Configuration" - }, - { - "name": "Hud", - "constructable": false, - "desc": "Game UI" - }, - { - "name": "KillFrenzy", - "constructable": false, - "desc": "Rampages Logic" - }, - { - "name": "Math", - "constructable": false, - "desc": "Math and Conversion Utilities" - }, - { - "name": "Memory", - "constructable": false, - "desc": "Process Memory Manipulation" - }, - { - "name": "Mission", - "constructable": false, - "desc": "Current Mission control" - }, - { - "name": "Pad", - "constructable": false, - "desc": "Input Controls" - }, - { - "name": "Path", - "constructable": false, - "desc": "Path Configuration And Lookup" - }, - { - "name": "Rc", - "constructable": false, - "desc": "Remote-Controlled Cars" - }, - { - "name": "Restart", - "constructable": false, - "desc": "Configuration of Respawn Points" - }, - { - "name": "Shortcut", - "constructable": false, - "desc": "Mission Shortcut Taxi" - }, - { - "name": "Stat", - "constructable": false, - "desc": "Game Statistics" - }, - { - "name": "Streaming", - "constructable": false, - "desc": "Loading Game Assets" - }, - { - "name": "StuckCarCheck", - "constructable": false, - "desc": "Stuck Cars Check" - }, - { - "name": "Text", - "constructable": false, - "desc": "Text Messages" - }, - { - "name": "Txd", - "constructable": false, - "desc": "Texture Dictionaries" - }, - { - "name": "Weapon", - "constructable": false, - "desc": "Weapons" - }, - { - "name": "Weather", - "constructable": false, - "desc": "Weather Control" - }, - { - "name": "World", - "constructable": false, - "desc": "Traffic, Population and other Physical Entities" - }, - { - "name": "Zone", - "constructable": false, - "desc": "Game Map Areas Configuration" - } - ] -} \ No newline at end of file diff --git a/lcs/mode.xml b/lcs/mode.xml index d3e8ebc..5172edf 100644 --- a/lcs/mode.xml +++ b/lcs/mode.xml @@ -10,5 +10,4 @@ @sb:\data\lcs\english.gxt @sb:\data\lcs\default.ide @sb:\data\lcs\keywords.txt - @sb:\data\lcs\lcs.json \ No newline at end of file diff --git a/lcs/models.ide b/lcs/models.ide deleted file mode 100644 index 44a0a8b..0000000 --- a/lcs/models.ide +++ /dev/null @@ -1,267 +0,0 @@ -# peds -1 cop -2 swat -3 fbi -4 army -5 medic -6 fireman -7 male01 -9 taxi_d -10 pimp -11 criminal01 -12 criminal02 -13 male02 -14 male03 -15 fatmale01 -16 fatmale02 -17 female01 -18 female02 -19 female03 -20 fatfemale01 -21 fatfemale02 -22 prostitute -23 prostitute2 -24 p_man1 -25 p_man2 -26 p_wom1 -27 p_wom2 -28 ct_man1 -29 ct_man2 -30 ct_wom1 -31 ct_wom2 -32 li_man1 -33 li_man2 -34 li_wom1 -35 li_wom2 -36 docker1 -37 docker2 -38 scum_man -39 scum_wom -40 worker1 -41 worker2 -42 b_man1 -43 b_man2 -44 b_man3 -45 b_wom1 -46 b_wom2 -47 b_wom3 -48 mod_man -49 mod_wom -50 st_man -51 st_wom -52 fan_man1 -53 fan_man2 -54 fan_wom -55 hos_man -56 hos_wom -57 const1 -58 const2 -59 shopper1 -60 shopper2 -61 shopper3 -62 stud_man -63 stud_wom -64 cas_man -65 cas_wom -66 camp_man -67 camp_wom -68 HITMAN -79 gang01 -80 gang02 -81 gang03 -82 gang04 -83 gang05 -84 gang06 -85 gang07 -86 gang08 -87 gang09 -88 gang10 -89 gang11 -90 gang12 -91 gang13 -92 gang14 -93 gang15 -94 gang16 -95 gang17 -96 gang18 -97 vice1 -98 vice2 -99 vice3 -100 vice4 -101 vice5 -102 vice6 -103 vice7 -104 vice8 -105 WFYG1 -106 WFYG2 -109 special01 -110 special02 -111 special03 -112 special04 -113 special05 -114 special06 -115 special07 -116 special08 -117 special09 -118 special10 -119 special11 - -# cars -130 spider -131 landstal -132 idaho -133 stinger -134 linerun -135 peren -136 sentinel -137 patriot -138 firetruk -139 trash -140 stretch -141 manana -142 infernus -143 blista -144 pony -145 mule -146 cheetah -147 ambulan -148 fbicar -149 moonbeam -150 esperant -151 taxi -152 kuruma -153 bobcat -154 mrwhoop -155 bfinject -156 hearse -157 police -158 enforcer -159 securica -160 banshee -161 bus -162 rhino -163 barracks -164 dodo -165 coach -166 cabbie -167 stallion -168 rumpo -169 rcbandit -170 bellyup -171 mrwongs -172 mafia -173 yardie -174 yakuza -175 diablos -176 columb -177 hoods -178 panlant -179 flatbed -180 yankee -181 borgnine -182 toyz -183 campvan -184 ballot -185 shelby -186 pontiac -187 esprit -188 ammotruk -189 hotrod -190 Sindacco_Car -191 Forelli_Car -192 ferry -193 ghost -194 speeder -195 reefer -196 predator -197 train -198 escape -199 chopper -200 airtrain -201 deaddodo -202 angel -203 pizzaboy -204 noodleboy -205 pcj600 -206 faggio -207 freeway -208 angel2 -209 sanchez2 -210 sanchez -211 rcgoblin -212 rcraider -213 hunter -214 maverick -215 polmav -216 vcnmav - -# objects -237 wheel_rim -238 wheel_offroad -239 wheel_truck -240 hash_00000000 -241 hash_00000000 -242 hash_00000000 -243 hash_00000000 -244 hash_00000000 -245 hash_00000000 -246 hash_00000000 -247 hash_00000000 -250 wheel_sport -251 wheel_saloon -252 wheel_lightvan -253 wheel_classic -254 wheel_alloy -255 wheel_lighttruck -256 wheel_smallcar -257 airtrain_vlo - -# weapn -258 cellphone -259 brassknuckle -260 chisel -261 hockeystick -262 nitestick -263 knifecur -264 bat -265 handaxe -266 cleaver -267 machete -268 katana -269 chnsaw -270 grenade -271 teargas -272 molotov -273 missile -274 glock17 -275 python -276 ak47 -277 chromegun -278 shotgspa -279 buddyshot -280 m4 -281 tec9 -282 uzi -283 ingramsl -284 mp5k -285 sniper -286 laser -287 rocketla -288 flame -289 M60 -290 minigun -291 bomb -292 camera -293 fingers -294 minigun2 - -# cutscene -121 cutobj02 -122 cutobj03 -123 cutobj04 -124 cutobj05 -125 cutobj06 -126 cutobj07 -127 cutobj08 -128 cutobj09 -129 cutobj10 \ No newline at end of file diff --git a/sa/CustomLabels_v2.ini b/sa/CustomLabels_v2.ini deleted file mode 100644 index 4bd8ff5..0000000 --- a/sa/CustomLabels_v2.ini +++ /dev/null @@ -1,37 +0,0 @@ -; -; Custom Labels, version SA -; -;------------------------------ -; Labels types -; -; sub - Subroutine -; MS - Mission Starter -; ESC - External Script Control -; -; --------- v2 -------------- -; THREAD [MAIN] -61148=Case_Video_Game -61276=MS_Game_TheyCrawledFromUranus -61294=MS_Game_Duality -61312=MS_Game_GoGoSpaceMonkey -61330=MS_Game_LetsGetReadyToBumble -61348=MS_Game_Poker -61366=MS_Game_Pool -61384=MS_Game_Lowrider -61402=MS_Game_BeefyBaron -61443=End_Case_Video_Game - -; THREAD [INT] -61770=MS_Intro_Missions - -; THREAD [LA1FIN] -64792=MS_LS_Final_Missions - -; THREAD [CAT] -65575=Case_Catalina_Missions -65638=MS_Local_Liquor_Store -65663=MS_Small_Town_Bank -65688=MS_Tanker_Commander -65713=MS_Against_All_Odds -65738=End_Case_Catalina_Mission -65967=sub_Show_Selected_Catalina_Mission_Title \ No newline at end of file diff --git a/sa_ps2/SASCM.INI b/sa_ps2/SASCM.INI deleted file mode 100644 index ef7fd89..0000000 --- a/sa_ps2/SASCM.INI +++ /dev/null @@ -1,2020 +0,0 @@ -; GTA Modding Community Opcode Database -; -; For more info, visit: -; https://www.gtagmodding.com/opcode-database/ -; https://gtamods.com/wiki/List_of_opcodes -; https://docs.sannybuilder.com/edit-modes/opcodes-list-scm.ini -; -; d% = anything -; p% = label pointer -; o% = models all types -; m% = .ide models only -; g% = gxt reference -; x% = external script -; k% = 128-byte null-terminated string - -DATE=2021-07-05 - -[OPCODES] -0000=0,NOP -0001=1,wait %1d% ms -0002=1,jump %1p% -0003=1,shake_camera %1d% -0004=2,%1d% = %2d% -0005=2,%1d% = %2d% -0006=2,%1d% = %2d% -0007=2,%1d% = %2d% -0008=2,%1d% += %2d% -0009=2,%1d% += %2d% -000A=2,%1d% += %2d% -000B=2,%1d% += %2d% -000C=2,%1d% -= %2d% -000D=2,%1d% -= %2d% -000E=2,%1d% -= %2d% -000F=2,%1d% -= %2d% -0010=2,%1d% *= %2d% -0011=2,%1d% *= %2d% -0012=2,%1d% *= %2d% -0013=2,%1d% *= %2d% -0014=2,%1d% /= %2d% -0015=2,%1d% /= %2d% -0016=2,%1d% /= %2d% -0017=2,%1d% /= %2d% -0018=2, %1d% > %2d% -0019=2, %1d% > %2d% -001A=2, %1d% > %2d% -001b=2, %1d% > %2d% -001c=2, %1d% > %2d% ; (int) -001d=2, %1d% > %2d% ; (int) -001E=2, %1d% > %2d% ; (int) -001f=2, %1d% > %2d% ; (int) -0020=2, %1d% > %2d% -0021=2, %1d% > %2d% -0022=2, %1d% > %2d% -0023=2, %1d% > %2d% -0024=2, %1d% > %2d% ; (float) -0025=2, %1d% > %2d% ; (float) -0026=2, %1d% > %2d% ; (float) -0027=2, %1d% > %2d% ; (float) -0028=2, %1d% >= %2d% -0029=2, %1d% >= %2d% -002a=2, %1d% >= %2d% -002b=2, %1d% >= %2d% -002c=2, %1d% >= %2d% ; (int) -002d=2, %1d% >= %2d% ; (int) -002e=2, %1d% >= %2d% ; (int) -002F=2, %1d% >= %2d% ; (int) -0030=2, %1d% >= %2d% -0031=2, %1d% >= %2d% -0032=2, %1d% >= %2d% -0033=2, %1d% >= %2d% -0034=2, %1d% >= %2d% ; (float) -0035=2, %1d% >= %2d% ; (float) -0036=2, %1d% >= %2d% ; (float) -0037=2, %1d% >= %2d% ; (float) -0038=2, %1d% == %2d% -0039=2, %1d% == %2d% -003a=2, %1d% == %2d% ; (int) -003b=2, %1d% == %2d% ; (int) -003c=2, %1d% == %2d% ; (int) -0042=2, %1d% == %2d% -0043=2, %1d% == %2d% -0044=2, %1d% == %2d% ; (float) -0045=2, %1d% == %2d% ; (float) -0046=2, %1d% == %2d% ; (float) -004D=1,jump_if_false %1p% -004E=0,terminate_this_script -004F=-1,start_new_script %1p% -0050=1,gosub %1p% -0051=0,return -0052=6,NOP %1d% %2d% %3d% %4d% %5d% %6d% -0053=5,%5d% = create_player %1d% at %2d% %3d% %4d% -0058=2,%1d% += %2d% ; (int) -0059=2,%1d% += %2d% ; (float) -005a=2,%1d% += %2d% ; (int) -005b=2,%1d% += %2d% ; (float) -005c=2,%1d% += %2d% ; (int) -005d=2,%1d% += %2d% ; (float) -005e=2,%1d% += %2d% ; (int) -005f=2,%1d% += %2d% ; (float) -0060=2,%1d% -= %2d% ; (int) -0061=2,%1d% -= %2d% ; (float) -0062=2,%1d% -= %2d% ; (int) -0063=2,%1d% -= %2d% ; (float) -0064=2,%1d% -= %2d% ; (int) -0065=2,%1d% -= %2d% ; (float) -0066=2,%1d% -= %2d% ; (int) -0067=2,%1d% -= %2d% ; (float) -0068=2,%1d% *= %2d% ; (int) -0069=2,%1d% *= %2d% ; (float) -006a=2,%1d% *= %2d% ; (int) -006b=2,%1d% *= %2d% ; (float) -006C=2,%1d% *= %2d% ; $ *= @ (int) -006d=2,%1d% *= %2d% ; (float) -006e=2,%1d% *= %2d% ; (int) -006f=2,%1d% *= %2d% ; (float) -0070=2,%1d% /= %2d% ; (int) -0071=2,%1d% /= %2d% ; (float) -0072=2,%1d% /= %2d% ; (int) -0073=2,%1d% /= %2d% ; (float) -0074=2,%1d% /= %2d% ; (int) -0075=2,%1d% /= %2d% ; (float) -0076=2,%1d% /= %2d% ; (int) -0077=2,%1d% /= %2d% ; (float) -0078=2,%1d% += frame_delta_time * %2d% ; (float) -0079=2,%1d% += frame_delta_time * %2d% ; (float) -007a=2,%1d% += frame_delta_time * %2d% ; (float) -007b=2,%1d% += frame_delta_time * %2d% ; (float) -007c=2,%1d% += frame_delta_time * %2d% ; (float) -007d=2,%1d% += frame_delta_time * %2d% ; (float) -007E=2,%1d% -= frame_delta_time * %2d% ; (float) -007F=2,%1d% -= frame_delta_time * %2d% ; (float) -0080=2,%1d% -= frame_delta_time * %2d% ; (float) -0081=2,%1d% -= frame_delta_time * %2d% ; (float) -0082=2,%1d% -= frame_delta_time * %2d% ; (float) -0083=2,%1d% -= frame_delta_time * %2d% ; (float) -0084=2,%1d% = %2d% ; (int) -0085=2,%1d% = %2d% ; (int) -0086=2,%1d% = %2d% ; (float) -0087=2,%1d% = %2d% ; (float) -0088=2,%1d% = %2d% ; (float) -0089=2,%1d% = %2d% ; (float) -008A=2,%1d% = %2d% ; (int) -008B=2,%1d% = %2d% ; (int) -008c=2,%1d% = float %2d% to_integer -008d=2,%1d% = integer %2d% to_float -008E=2,%1d% = float %2d% to_integer -008f=2,%1d% = integer %2d% to_float -0090=2,%1d% = float %2d% to_integer -0091=2,%1d% = integer %2d% to_float -0092=2,%1d% = float %2d% to_integer -0093=2,%1d% = integer %2d% to_float -0094=1,make %1d% absolute_integer -0095=1,make %1d% absolute_integer -0096=1,make %1d% absolute_float -0097=1,make %1d% absolute_float -0098=1,%1d% = random_float_in_ranges_0.0_to_1.0 -0099=1,%1d% = random_int_in_ranges_0_to_32767 -009A=6,%6d% = create_actor_pedtype %1d% model %2m% at %3d% %4d% %5d% -009b=1,destroy_actor %1d% -00a0=4,store_actor %1d% position_to %2d% %3d% %4d% -00a1=4,put_actor %1d% at %2d% %3d% %4d% -00a3=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% -00a4=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% -00a5=5,%5d% = create_car %1m% at %2d% %3d% %4d% -00a6=1,destroy_car %1d% -00a7=4,car %1d% drive_to %2d% %3d% %4d% -00a8=1,set_car %1d% to_psycho_driver -00a9=1,set_car %1d% to_normal_driver -00aa=4,store_car %1d% position_to %2d% %3d% %4d% -00ab=4,put_car %1d% at %2d% %3d% %4d% -00ad=2,set_car %1d% max_speed_to %2d% -00ae=2,set_car %1d% traffic_behaviour_to %2d% -00Af=2,set_car %1d% driver_behaviour_to %2d% -00b0=6, car %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% -00b1=8, car %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% -00ba=3,show_text_styled GXT %1g% time %2d% style %3d% -00bb=3,show_text_lowpriority GXT %1g% time %2d% flag %3d% -00bc=3,show_text_highpriority GXT %1g% time %2d% flag %3d% -00be=0,text_clear_all -00bf=2,%1d% = current_time_hours, %2d% = current_time_minutes -00c0=2,set_current_time_hours_to %1d% minutes_to %2d% -00c1=3,%3d% = get_minutes_left_to_time_hours %1d% time_minutes %2d% -00c2=4, sphere_onscreen %1d% %2d% %3d% radius %4d% -00D6=1,if %1d% -00d7=1,start_new_script %1p% ; without extra params -00d8=0,mission_cleanup -00D9=2,%2d% = actor %1d% car ; add to mission cleanup -00DB=2, actor %1d% in_car %2d% -00DD=2, actor %1d% driving_car_with_model %2m% -00DF=1, actor %1d% driving -00E1=2, player %1d% pressed_key %2d% -00e2=3,get_player %1d% key %2d% state_to %3d% -00ec=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% -00ed=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% on_foot -00EE=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% in_car -00ef=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% stopped -00f0=6, actor %1d% %6d% near_point %2d% %3d% radius %4d% %5d% stopped_on_foot -00f1=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% stopped_in_car -00F2=5, actor %1d% near_actor %2d% radius %3d% %4d% %5h% -00F3=5, actor %1d% near_actor %2d% radius %3d% %4d% sphere %5h% on_foot -00F4=5, actor %1d% near_actor %2d% radius %3d% %4d% %5h% in_car -00fe=8, actor %1d% sphere %8d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% -00ff=8, actor %1d% sphere %8d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% on_foot -0100=8, actor %1d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h% in_car -0101=8, actor %1d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h% stopped -0102=8, actor %1d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h% stopped_on_foot -0103=8, actor %1d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8d% stopped_in_car -0104=6, actor %1d% near_actor %2d% radius %3d% %4d% %5d% sphere %6h% -0105=6, actor %1d% near_actor %2d% radius %3d% %4d% %5d% sphere %6h% on_foot -0106=6, actor %1d% near_actor %2d% radius %3d% %4d% %5d% %6h% in_car -0107=5,%5d% = create_object %1o% at %2d% %3d% %4d% -0108=1,destroy_object %1d% -0109=2,player %1d% money += %2d% -010a=2, player %1d% money > %2d% -010B=2,%2d% = player %1d% money -010C=0,NOP -010d=2,set_player %1d% wanted_level_to %2d% -010e=2,set_player %1d% minimum_wanted_level_to %2d% -010F=2, player %1d% wanted_level > %2d% -0110=1,clear_player %1d% wanted_level -0111=1,set_wasted_busted_check %1d% -0112=0, wasted_or_busted ; mission only -0114=3,set_actor %1d% weapon %2h% add_ammo %3d% -0117=1, player %1d% wasted -0118=1, actor %1d% dead -0119=1, car %1d% wrecked -0122=1, player %1d% pressing_horn -0129=4,%4d% = create_actor_pedtype %2d% model %3m% in_car %1d% driverseat -0137=2, car %1d% model == %2m% -014B=13,%13d% = init_car_generator %5m% color %6d% %7d% force_spawn %8d% alarm %9d% door_lock %10d% min_delay %11d% max_delay %12d% at %1d% %2d% %3d% angle %4d% -014C=2,set_parked_car_generator %1d% cars_to_generate_to %2d% -014E=2,start_timer_at %1d% count_in_direction %2h% ; global_variable -014f=1,stop_timer %1d% -0151=1,remove_status_text %1d% -0154=2, actor %1d% in_zone %2g% -0158=3,camera_on_car %1d% mode %2d% switchstyle %3d% -0159=3,camera_on_ped %1d% mode %2d% switchstyle %3d% -015a=0,restore_camera -015b=3,shake_player_controller %1h% time %2d% intensity %3d% -015D=1,set_gamespeed %1d% -015f=6,set_camera_position %1d% %2d% %3d% rotation %4d% %5d% %6d% -0160=4,set_camera_point_at %1d% %2d% %3d% switchstyle %4d% -0161=4,%4d% = create_marker_above_car %1d% unused %2d% visibility %3d% -0162=0,NOP -0164=1,disable_marker %1d% -0165=2,set_marker %1d% color_to %2d% -0167=6,%6d% = create_marker_at %1d% %2d% %3d% color %4d% flag %5d% -0168=2,set_marker %1d% size %2d% -0169=3,set_fade_color_RGB %1d% %2d% %3d% -016a=2,fade %2d% time %1d% -016b=0, fading -016C=5,restart_if_wasted_at %1d% %2d% %3d% angle %4d% town_number %5h% -016D=5,restart_if_busted_at %1d% %2d% %3d% angle %4d% town_number %5h% -016E=4,override_next_restart at %1d% %2d% %3d% angle %4d% -016f=10,create_particle %1d% rotation_factor %5d% size %6d% intensity %7d% flags %8d% %9d% %10d% at %2d% %3d% %4d% -0172=2,%2d% = actor %1d% Z_angle -0173=2,set_actor %1d% Z_angle_to %2d% -0174=2,%2d% = car %1d% Z_angle -0175=2,set_car %1d% Z_angle_to %2d% -0176=2,%2d% = object %1d% Z_angle -0177=2,set_object %1d% Z_angle_to %2d% -0179=2, actor %1d% colliding_with_object %2d% -017b=3,set_actor %1d% weapon %2d% ammo_to %3d% -0180=1,set_on_mission_flag_to %1d% ; Note: your missions have to use the variable defined here -0184=2, actor %1d% health > %2d% -0185=2, car %1d% health > %2d% -0186=2,%2d% = create_marker_above_car %1d% -0187=2,%2d% = create_marker_above_actor %1d% -0188=2,%2d% = create_marker_above_object %1d% -018a=4,%4d% = create_checkpoint_at %1d% %2d% %3d% -018b=2,set_marker %1d% radar_mode %2d% -018c=4,play_sound %4d% at %1d% %2d% %3d% -018d=5,NOP %5d% %4d% %1d% %2d% %3d% -018e=1,stop_sound %1d% -018f=1, is_car_stuck_on_roof %1d% -0190=1,add_car %1d% to_upsidedown_check ; 6 max -0191=1,remove_car %1d% from_upsidedown_check -01A1=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% on_foot -01a2=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% in_car -01a3=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% stopped -01A4=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% stopped_on_foot -01A5=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% stopped_in_car -01a6=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% on_foot -01a7=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% in_car -01a8=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% stopped -01a9=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% stopped_on_foot -01AA=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% stopped_in_car -01AB=6, car %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% stopped -01AC=8, car %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% stopped -01AD=6, car %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% -01AE=6, car %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% stopped -01AF=8, car %1d% sphere %8d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% -01B0=8, car %1d% sphere %8d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% stopped -01B2=3,give_actor %1d% weapon %2d% ammo %3d% ; Load the weapon model before using this -01B4=2,set_player %1d% can_move %2d% -01B5=1,force_weather %1d% -01B6=1,set_weather %1d% -01B7=0,release_weather -01B9=2,set_actor %1d% armed_weapon_to %2d% -01bb=4,store_object %1d% position_to %2d% %3d% %4d% -01bc=4,put_object %1d% at %2d% %3d% %4d% -01bd=1,%1d% = current_time_in_ms -01c0=2,%2d% = player %1d% wanted_level -01c1=1, car %1d% stopped -01C2=1,remove_references_to_actor %1d% ; Like turning an actor into a random pedestrian -01C3=1,remove_references_to_car %1d% -01c4=1,remove_references_to_object %1d% ; This object will now disappear when the player looks away -01C5=1,remove_actor_from_mission_cleanup_list %1d% -01c7=1,remove_object_from_mission_cleanup_list %1d% -01c8=5,%5d% = create_actor_pedtype %2d% model %3m% in_car %1d% passenger_seat %4d% -01E3=4,show_text_1number_styled GXT %1g% number %2d% time %3d% style %4d% -01e4=4,show_text_1number_lowpriority GXT %1g% number %2d% time %3d% flag %4d% -01e5=4,show_text_1number_highpriority GXT %1g% number %2d% time %3d% flag %4d% -01e7=6,remove_forbidden_for_cars_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -01e8=6,create_forbidden_for_cars_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -01E9=2,%2d% = car %1d% num_passengers -01ea=2,%2d% = car %1d% max_passengers -01eb=1,set_traffic_density_multiplier_to %1d% -01EC=2,make_car %1d% very_heavy %2h% -01f0=1,set_max_wanted_level_to %1d% -01F3=1, car %1d% in_air -01F4=1, car %1d% flipped -01F5=2,%2d% = get_player_actor %1d% -01f6=0,cancel_override_restart -01f7=2,set_player %1d% ignored_by_cops %2d% -01f9=9,init_rampage_gxt %1g% weapon %2d% time_limit %3d% targets %4d% target_models %5d% %6d% %7d% %8d% completed_text %9d% -01FA=1,%1d% = rampage_status -01fb=2,%2d% = square_root %1d% -0202=5, actor %1d% near_car %2d% radius %3d% %4d% sphere %5d% -0203=5, actor %1d% near_car %2d% radius %3d% %4d% flag %5d% on_foot -0204=5, actor %1d% near_car %2d% radius %3d% %4d% sphere %5d% in_car -0205=6, actor %1d% near_car %2d% radius %3d% %4d% %5d% flag %6h% -0206=6, actor %1d% near_car %2d% radius %3d% %4d% %5d% flag %6h% on_foot -0207=6, actor %1d% near_car %2d% radius %3d% %4d% %5d% flag %6h% in_car -0208=3,%3d% = random_float_in_ranges %1d% %2d% -0209=3,%3d% = random_int_in_ranges %1d% %2d% -020a=2,set_car %1d% door_status_to %2d% -020b=1,explode_car %1d% -020c=4,create_explosion_with_radius %4d% at %1d% %2d% %3d% -020d=1, car %1d% flipped -0213=6,%6d% = create_pickup %1o% type %2d% at %3d% %4d% %5d% -0214=1, pickup %1d% picked_up -0215=1,destroy_pickup %1d% -0216=2,enable_taxi %1d% light %2d% -0217=3,show_text_styled GXT %1g% time %2d% style %3d% ; versionB -021b=2,set_garage %1d% to_accept_only_car %2d% -0221=2,set_player %1d% apply_brakes_to_car %2d% -0223=2,set_actor %1d% health_to %2d% -0224=2,set_car %1d% health_to %2d% -0226=2,%2d% = actor %1d% health -0227=2,%2d% = car %1d% health -0229=3,set_car %1d% primary_color_to %2d% secondary_color_to %3d% -022a=6,remove_forbidden_for_peds_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -022b=6,create_forbidden_for_peds_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -0235=3,NOP %1d% %2m% %3m% -0236=2,NOP %1d% %2m% -0237=4,set_gang %1h% weapons_to %2h% %3h% %4h% -023b=2, actor %1d% colliding_with_object %2d% -023c=2,load_special_actor %2d% as %1d% ; models 290-299 -023D=1, special_actor %1d% loaded -0241=1, player %1d% in_remote_mode -0244=3,set_cutscene_pos %1d% %2d% %3d% -0245=2,set_actor %1d% walk_style_to %2d% -0247=1,load_model %1o% -0248=1, model %1o% available -0249=1,release_model %1o% -024F=9,create_corona_with_radius %4d% type %5d% lensflares %6d% with_color %7d% %8d% %9d% at %1d% %2d% %3d% -0253=0,save_current_time -0254=0,restore_current_time -0256=1, player %1d% defined -0293=1,%1d% = get_controller_mode -0294=2,set_car %1d% sprayable %2d% -0296=1,unload_special_actor %1d% -0297=1,reset_player %1d% destroyed_model_counters -0298=3,get_player %1d% destroyed_model %2m% quantity_to %3d% -0299=1,activate_garage %1d% -029b=5,%5d% = init_object %1o% at %2d% %3d% %4d% -02A0=1, actor %1d% stopped -02a3=1,enable_widescreen %1d% -02A4=0,NOP -02A5=0,NOP -02a7=5,%5d% = create_icon_marker_and_sphere %4d% at %1d% %2d% %3d% -02a8=5,%5d% = create_marker %4d% at %1d% %2d% %3d% -02a9=2,set_actor %1d% immune_to_nonplayer %2d% -02aa=2,set_car %1d% immune_to_nonplayer %2d% -02ab=6,set_actor %1d% immunities BP %2d% FP %3d% EP %4d% CP %5d% MP %6d% -02ac=6,set_car %1d% immunities BP %2d% FP %3d% EP %4d% CP %5d% MP %6d% -02B9=1,deactivate_garage %1d% -02bf=1, car %1d% sunk -02c0=6,store_to %4d% %5d% %6d% ped_path_coords_closest_to %1d% %2d% %3d% -02c1=6,store_to %4d% %5d% %6d% car_path_coords_closest_to %1d% %2d% %3d% -02c2=4,car %1d% drive_to %2d% %3d% %4d% -02ca=1, car %1d% bounding_sphere_visible -02cb=1, actor %1d% bounding_sphere_visible -02CC=1, object %1d% bounding_sphere_visible -02ce=4,%4d% = ground_z_at %1d% %2d% %3d% -02CF=6,%6d% = create_fire_at %1d% %2d% %3d% propagation %4h% size %5h% -02d0=1, fire %1d% extinguished -02D1=1,remove_fire %1d% -02d3=4,boat %1d% sail_to %2d% %3d% %4d% -02d4=1,car %1d% turn_off_engine -02D6=6, actor %1d% fires_weapon %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% -02d8=2, actor %1d% current_weapon == %2d% -02DB=2,set_boat %1d% speed_to %2d% -02DD=5,%5d% = get_random_ped_in_zone %1s% with_pedtype_civilian %2h% gang %3h% criminal/prostitute %4h% -02E0=1, actor %1d% firing_weapon -02E1=6,%6d% = create_cash_pickup %4d% at %1d% %2d% %3d% permanence_flag %5d% -02e2=2,set_actor %1d% weapon_accuracy_to %2d% -02e3=2,%2d% = car %1d% speed -02e4=1,load_cutscene_data %1s% -02E5=0,NOP -02E6=0,NOP -02e7=0,start_cutscene -02e8=1,%1d% = cutscenetime -02e9=0, cutscene_reached_end -02ea=0,end_cutscene -02eb=0,restore_camera_with_jumpcut -02ec=3,NOP %1d% %2d% %3d% -02ed=1,set_total_hidden_packages_to %1d% -02ee=6, projectile_in_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -02F2=2, actor %1d% model == %2m% -02F3=0,NOP -02F6=2,%2d% = sine %1d% ; (float) -02F7=2,%2d% = cosine %1d% ; (float) -02f8=2,get_car %1d% Z_angle_sine_to %2d% -02f9=2,get_car %1d% Z_angle_cosine_to %2d% -02fa=2,set_garage %1d% type %2d% -02fd=5,show_text_2numbers_lowpriority GXT %1g% numbers %2d% %3d% time %4d% flag %5d% -02FF=6,show_text_3numbers GXT %1g% numbers %2d% %3d% %4d% time %5d% flag %6h% -0302=7,show_text_4numbers GXT %1g% numbers %2d% %3d% %4d% %5d% time %6d% flag %7d% -0303=7,show_text_4numbers_highpriority GXT %1g% numbers %2d% %3d% %4d% %5d% time %6d% flag %7d% -0308=9,show_text_6numbers GXT %1g% numbers %2d% %3d% %4d% %5d% %6d% %7d% time %8d% flag %9d% -030c=1,progress_made = %1d% -030d=1,set_max_progress %1d% -0317=0,increment_mission_attempts -0318=1,set_latest_mission_passed %1g% -0319=0,NOP -031a=0,remove_all_fires -031d=2, actor %1d% hit_by_weapon %2d% -031E=2, car %1d% hit_by_weapon %2h% -0321=1,AS_actor %1d% die_headshotted -0323=2,enable_boat %1d% anchor %2d% -0325=2,%2d% = create_car %1d% fire -0326=2,%2d% = create_actor %1d% fire -0327=6,%6d% = get_random_car_with_model %5d% in_rectangle_cornerA %1d% %2d% cornerB %3d% %4d% -0329=0,NOP -032A=1,set_behind_camera_mode_to %1h% -032b=7,%7d% = create_weapon_pickup %1o% type %2d% ammo %3d% at %4d% %5d% %6d% -032c=0,NOP -0330=2,set_player %1d% infinite_run %2d% -0331=2,set_player %1d% fast_reload %2d% -0332=2,set_actor %1d% bleeding %2d% -0335=1,enable_free_respray %1d% -0337=2,set_actor %1d% visibility %2h% -0338=2,set_car %1d% visibility %2h% -0339=11, anything_in_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% solid %7d% car %8d% actor %9d% object %10d% particle %11d% -033e=3,set_draw_text_position %1d% %2d% GXT %3g% -033f=2,set_text_draw_letter_size %1d% %2d% -0340=4,set_text_draw_RGBA %1d% %2d% %3d% %4d% -0341=1,set_text_draw_align_justify %1d% -0342=1,set_text_draw_centered %1d% -0343=1,set_text_draw_linewidth %1d% -0344=1,set_text_draw_linewidth %1d% for_centered_text -0345=1,enable_text_draw_background %1d% -0348=1,enable_text_draw_proportional %1d% -0349=1,set_text_draw_font %1d% -034d=4,rotate_object %1d% from_angle %2d% to_angle %3d% flag %4d% -034e=8,move_object %1d% to %2d% %3d% %4d% speed %5d% %6d% %7d% collision_check %8d% -034f=1,destroy_actor_with_fade %1d% -0350=2,set_actor %1d% maintain_position_when_attacked %2d% -0356=7, explosion_type %1d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% -035c=5,place_object %1d% relative_to_car %2d% with_offset %3d% %4d% %5d% -035D=2,set_object %1d% targetable %2h% -035f=2,actor %1d% armour += %2d% -0360=1,open_garage %1d% -0361=1,close_garage %1d% -0362=4,remove_actor %1d% from_car_and_place_at %2d% %3d% %4d% -0363=6,create_static_object_at %1d% %2d% %3d% radius %4d% model %5o% visibility %6d% -0364=2, actor %1d% spotted_actor %2d% -0366=1, object %1d% damaged -036a=2,put_actor %1d% in_car %2d% -036D=5,show_text_2numbers_styled GXT %1g% numbers %2d% %3d% time %4d% style %5d% -0373=0,set_camera_directly_behind_player -0376=4,%4d% = create_random_actor_at %1d% %2d% %3d% -037E=0,NOP -0381=4,throw_object %1d% velocity_in_direction %2d% %3d% %4d% -0382=2,set_object %1d% collision_detection %2d% -0383=0,NOP -0384=4,show_text_1string GXT %1g% string %2g% time %3d% %4d% -038a=6, any_car_in_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -038B=0,load_requested_models -038c=4,object %1d% scatter %2d% %3d% %4d% -038D=9,draw_texture %1h% position %2d% %3d% size %4d% %5d% RGBA %6d% %7d% %8d% %9d% -038E=8,draw_box_position %1d% %2d% size %3d% %4d% RGBA %5h% %6h% %7h% %8d% -038F=2,load_texture %2h% as %1d% ; Load dictionary with 0390 first -0390=1,load_txd_dictionary %1h% -0391=0,release_textures -0392=2,make_object %1d% moveable %2d% -0393=3,actor %1d% perform_animation %2h% at %3d% times_normal_rate -0394=1,play_music %1d% -0395=5,clear_area %5d% at %1d% %2d% %3d% radius %4d% -0396=1,pause_timer %1d% -0397=2,enable_car %1d% siren %2d% -039c=2,set_car %1d% watertight %2h% -039e=2,set_actor %1d% locked %2d% while_in_car -039f=3,set_car %1d% race_to %2d% %3d% -03A1=4,show_sphere_at %1d% %2d% %3d% radius %4d% -03a2=2,set_car %1d% action %2h% -03a3=1, actor %1d% male -03A4=1,script_name %1s% -03A7=1,save_int_to_debug_file %1d% -03A8=1,save_float_to_debug_file %1d% -03A9=0,save_newline_to_debug_file -03AA=3,NOP %1d% %2d% %3d% ; play_suspect_last_seen_at -03AB=2,set_car %1d% strong %2d% -03Ad=1,NOP %1d% ; set_rubbish -03af=1,enable_streaming %1d% -03b0=1, garage %1d% door_open -03b1=1, garage %1d% door_closed -03b6=6,replace_model_at %1d% %2d% %3d% radius %4d% from %5o% to %6o% -03b7=1,process_cutscene_only %1d% -03ba=6,clear_cars_from_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -03bc=5,%5d% = create_sphere_at %1d% %2d% %3d% radius %4d% -03bd=1,destroy_sphere %1d% -03bf=2,set_player %1d% ignored_by_everyone %2d% -03C0=2,%2d% = actor %1d% car -03C3=3,set_timer_to %1d% type %2h% GXT %3g% ; global_variable -03c4=3,set_status_text %1d% type %2d% GXT %3g% ; global_variable -03c5=4,create_random_car_for_carpark %1d% %2d% %3d% z_angle %4d% -03C7=1,set_sensitivity_to_crime %1d% -03C8=0,set_camera_directly_before_player -03c9=1, car %1d% damaged -03ca=1, object %1d% exists -03cb=3,set_rendering_origin_at %1d% %2d% %3d% -03cc=3,enable_car %1d% stuck_check_distance_to %2d% time_to %3d% -03cd=1,disable_car %1d% stuck_check -03ce=1, car %1d% stuck -03CF=2,load_wav %2s% as %1d% -03D0=1, wav %1d% loaded -03D1=1,play_wav %1d% -03D2=1, wav %1d% ended -03d3=7,get_route_nearest_for %1d% %2d% %3d% store_to %4d% %5d% %6d% Z_angle_to %7d% -03d4=0,NOP -03D5=1,remove_text %1g% -03d6=1,remove_styled_text %1g% -03D7=4,set_wav %1h% location %2d% %3d% %4d% -03d8=0,show_save_screen -03d9=0, save_done -03DA=0,NOP -03dc=2,%2d% = create_marker_above_pickup %1d% -03de=1,set_pedestrians_density_multiplier_to %1d% -03E0=1,draw_text_behind_textures %1h% -03E1=0,NOP -03E3=1,set_texture_to_be_drawn_antialiased %1h% -03E4=1,set_text_draw_align_right %1h% -03E5=1,show_text_box %1g% -03e6=0,remove_text_box -03E7=1,flash_hud_component %1d% -03e8=0,NOP -03ea=0,NOP -03eb=0,clear_small_messages_only -03ed=2,set_car %1d% disable_flipped_explosion_when_empty %2h% -03ee=1, player %1d% controllable -03ef=1,player %1d% make_safe -03f0=1,enable_text_draw %1d% -03f3=3,get_car %1d% primary_color_to %2d% secondary_color_to %3d% -03f4=1,set_all_cars_apply_damage_rules %1d% -03F5=2,set_car %1d% apply_damage_rules %2h% -03FD=2,set_player %1d% handling_responsiveness %2d% -03FE=2,set_actor %1d% money %2d% -0400=7,store_coords_to %5d% %6d% %7d% from_object %1d% with_offset %2d% %3d% %4d% -0407=7,store_coords_to %5d% %6d% %7d% from_car %1d% with_offset %2d% %3d% %4d% -0409=0,NOP -040b=0,NOP -040c=0, is_german_game -040D=1,unload_wav %1d% -0414=2,set_player %1d% free_treatment_once %2d% -0416=0,NOP -0417=1,start_mission %1d% -0418=2,set_object %1d% draw_last %2h% -041A=3,%3d% = actor %1d% weapon %2h% ammo -041d=1,set_camera_near_clip %1d% -041E=1,set_radio_station %1h% -0423=2,set_car %1d% improved_handling_to %2d% ; (float) -0424=0, is_system_metric -0425=2,%2d% = meters %1d% to_feet -0428=2,set_car %1d% avoid_level_transitions %2d% -042b=6,clear_peds_from_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -042c=1,set_total_missions_to %1d% -042d=2,%2d% = metric %1d% to_imperial -042E=2,downdate_integer_stat %1h% to %2d% ; same as 0582 -042f=0,NOP -0430=3,put_actor %1d% into_car %2d% passenger_seat %3h% -0431=2, car %1d% passenger_seat_free %2d% -0432=3,%3d% = get_actor_handle_from_car %1d% passenger_seat %2h% -0433=2,set_actor %1d% criminal_flag %2h% -0434=0,show_credits -0435=0,end_credits -0436=0, credits_ended -043c=1,disable_sounds_after_fadeout %1d% -043e=0,NOP -043f=0,NOP -0440=0,NOP -0441=2,%2d% = car %1d% model -0445=0, are_car_cheats_used -0446=2,set_actor %1d% dismemberment_possible %2d% -0448=2, actor %1d% in_car %2d% -0449=1, actor %1d% in_a_car -044b=1, actor %1d% on_foot -044d=0,NOP -0450=0,NOP -0451=0,NOP -0453=4,set_object %1d% XYZ_rotation %2d% %3d% %4d% -0454=3,store_debug_camera_position_to %1d% %2d% %3d% -0457=2, player %1d% aiming_at_actor %2d% -0458=2, player %1d% aiming_at_object %2d% -0459=1,end_script_named %1s% -045A=4,draw_text_1number %1d% %2d% GXT %3g% number %4d% -045B=5,draw_text_2numbers %1d% %2d% GXT %3g% numbers %4d% %5d% -045C=0,abort_mission -045D=0,NOP -0460=2,set_camera_transverse_delay %1d% time %2d% -0463=3,store_debug_camera_target_point_to %1d% %2d% %3d% -0464=8,put_actor %1d% into_turret_on_car %2d% at_car_offset %3d% %4d% %5d% position %6h% shooting_angle_limit %7d% with_weapon %8h% -0465=1,remove_actor %1d% from_turret_mode -0466=2,unknown_car %1d% flag %2h% -0467=1,clear_actor %1d% last_weapon_damage -0468=1,clear_car %1d% last_weapon_damage -0469=0,NOP -046C=2,%2d% = car %1d% driver -046D=2,%2d% = actor %1d% members_in_group -046E=6,put_player %1d% in_RC_mode_at %2d% %3d% %4d% angle %5d% RC_model %6m% -0470=2,%2d% = actor %1d% current_weapon -0471=5, actor %1d% near_object_in_rectangle %2d% radius %3d% %4d% sphere %5h% -0472=5, actor %1d% near_object_in_rectangle %2d% radius %3d% %4d% sphere %5h% on_foot -0473=5, actor %1d% near_object_in_rectangle %2d% radius %3d% %4d% sphere %5h% in_car -0474=6, actor %1d% near_object_in_cube %2d% radius %3d% %4d% %5d% sphere %6h% -0475=6, actor %1d% near_object_in_cube %2d% radius %3d% %4d% %5d% sphere %6h% on_foot -0476=6, actor %1d% near_object_in_cube %2d% radius %3d% %4d% %5d% sphere %6h% in_car -0477=3,set_car %1d% action %2h% time %3d% -047A=1, actor %1d% driving_bike -0480=2, actor %1d% looking_at_death_of_actor_pedtype %2h% -0481=0,NOP -0482=0,NOP -0484=2,%2d% = player %1d% RC_car -0485=0, return_true -0488=1, model %1o% exists ; versionA -0489=2,set_actor %1d% muted %2h% -048A=1,set_RC_car_detonation %1h% ; or opcode 04D6 -048B=2,set_car %1d% route_seed %2d% -048C=3, pickup_at %1d% %2d% %3d% available_to_be_picked_up -048F=1,actor %1d% remove_weapons -0491=2, actor %1d% has_weapon %2d% -0493=0,NOP -0494=5,get_joystick %1h% direction_offset_to %2d% %3d% %4d% %5d% -0495=1, car %1d% burning -0496=2, tire %2h% on_car %1d% deflated -049C=0,NOP -049E=0,NOP -049F=0,NOP -04A1=0,NOP -04A2=6,set_heli %1d% fly_to %2d% %3d% %4d% altitude_between %5h% and %6h% -04A3=2, %1d% == %2h% ; == constant -04A4=2, %1d% == %2h% ; == constant -04A5=4,get_dead_actor_pickup_coords %1d% store_to %2d% %3d% %4d% -04A6=6,%6d% = create_asset_money_pickup_at %1d% %2d% %3d% money %4d% %5d% -04A7=1, actor %1d% driving_boat -04A9=1, actor %1d% driving_heli -04AB=1, actor %1d% driving_plane -04AD=1, actor %1d% in_water -04AE=2,%1d% = %2d% ; = constant -04AF=2,%1d% = %2d% ; = constant -04B0=2, %1d% > %2d% ; $ > constant -04B1=2, %1d% > %2d% ; @ > constant -04B2=2, %1d% > %2d% ; constant > $ -04B3=2, %1d% > %2d% ; constant > @ -04B4=2, %1d% >= %2d% ; $ >= constant -04B5=2, %1d% >= %2d% ; @ >= constant -04B6=2, %1d% >= %2d% ; constant >= $ -04B7=2, %1d% >= %2d% ; constant >= @ -04B8=5,get_weapon_data_from_actor %1d% slot %2h% weapon %3d% ammo %4d% model %5d% -04B9=12,unknown_get_at %1d% %2d% %3d% height %4d% radius %5d% store_to %6d% %7d% %8d% %9d% %10d% %11d% %12d% -04BA=2,set_car %1d% speed_to %2d% -04BB=1,select_interior %1h% -04BC=0,NOP -04BD=2,set_car %1d% is_part_of_convoy %2h% -04BE=0,NOP -04BF=0,NOP -04C0=7,create_roadblock_in_area_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% type %7h% -04C1=0,remove_references_to_roadblocks -04C4=7,store_coords_to %5d% %6d% %7d% from_actor %1d% with_offset %2d% %3d% %4d% -04C5=1, actor %1d% photographed -04C7=0,NOP -04C8=1, actor %1d% driving_flying_vehicle -04CE=5,%5d% = create_icon_marker %4d% at %1d% %2d% %3d% -04D0=2,force_heli %1d% looking_angle_to %2d% -04D1=1,reset_heli %1d% looking_angle -04D2=6,set_plane %1d% fly_autopilot_around_point %2d% %3d% %4d% altitude_between %5h% and %6h% -04D3=7,get_nearest_car_path_coords_from %1d% %2d% %3d% type %4h% store_to %5d% %6d% %7d% -04D5=9,create_corona_at %1d% %2d% %3d% radius %4d% type %5h% flare %6h% RGB %7d% %8h% %9h% -04D6=1,enable_RC_car_detonation %1h% -04D7=2,set_actor %1d% locked %2h% -04D8=2,set_actor %1d% drowns_in_water %2h% -04D9=2,object %1d% set_scripted_collision_check %2h% -04DA=1, has_object %1d% collided -04DB=0,exit_RC_mode ; on foot version -04DD=2,%2d% = actor %1d% armour -04DF=2,set_heli %1d% lean_and_thrust_limiter %2h% -04E0=2,car %1d% abandon_path_radius %2h% -04E1=1,open_and_freeze_car_trunk %1d% -04E2=2,NOP %1d% %2h% -04E3=3,unknown_set_player %1d% flag %2h% time %3d% -04E4=2,refresh_game_renderer_at %1d% %2d% -04E5=6, object %1d% near_point %2d% %3d% radius %4d% %5d% sphere %6h% -04E6=8, object %1d% near_point %2d% %3d% %4d% radius %5d% %6d% %7d% flag %8h% -04E7=1, object %1d% in_water -04E9=6, object %1d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% sphere %6d% -04EA=8, object %1d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% flag %8h% -04EB=2,AS_actor %1d% crouch %2h% -04ED=1,load_animation %1s% -04EE=1, animation %1s% loaded -04EF=1,release_animation %1s% -04F0=1, is_actor_waiting_for_world_collision %1d% -04F1=1, is_car_waiting_for_world_collision %1d% -04F4=8,put_actor %1d% into_turret_on_object %2d% offset_from_object_origin %3d% %4d% %5d% orientation %6h% both_side_angle_limit %7d% lock_weapon %8h% -04F5=0,NOP -04F7=4,status_text %1d% type %2h% line %3h% GXT %4g% ; global_variable -04F8=13,define_police_trigger_type %1h% if_player_with_wanted_level_in_rectangle %2d% %3d% %4d% %5d% spawn_policeA_at %6d% %7d% headed_towards %8d% %9d% spawn_policeB_at %10d% %11d% headed_towards %12d% %13d% -04F9=2,set_sky_color %1h% fade %2h% -04FA=1,reset_sky_colors_with_fade %1h% -04FC=7,store_player_stunt_data %1d% two_wheels: %2d% %3d% wheelie: %4d% %5d% stoppie: %6d% %7d% -04FE=2,deflate_tire %2h% on_car %1d% -0500=3, player %1d% skin == %3s% on_bodypart %2h% -0501=2,set_player %1d% driveby_mode %2h% -0503=6,create_actor_on_rope_with_pedtype %1h% model %2m% at %3d% %4d% %5d% handle_as %6d% -0506=3,set_car_model %1m% next_variation %2h% %3h% ; first param is useless -0507=0,NOP -0508=1,car %1d% close_all_doors -0509=5,%5d% = distance_between_XY %1d% %2d% and_XY %3d% %4d% -050A=7,%7d% = distance_between_XYZ %1d% %2d% %3d% and_XYZ %4d% %5d% %6d% -050B=0,NOP -050E=2,set_object %1d% no_collision_with_car %2d% -050F=1,get_max_wanted_level_to %1d% -0512=1,show_permanent_text_box %1g% -0513=2,show_text_box_1number %1g% number %2d% -0515=0,NOP -0517=5,%5d% = create_unavailable_asset_pickup %4g% at %1d% %2d% %3d% -0518=6,%6d% = create_available_asset_pickup %5g% at %1d% %2d% %3d% price %4d% -0519=2,set_car %1d% locked %2h% -051A=2, actor %1d% damaged_by_actor %2d% -051B=2, actor %1d% damaged_by_car %2d% -051C=2, car %1d% damaged_by_actor %2d% -051D=2, car %1d% damaged_by_car %2d% -051E=1,%1d% = get_current_radio_station -0521=0,NOP -0522=0,NOP -0523=0,NOP -0524=0,NOP -0525=0,NOP -0526=2,set_actor %1d% stay_in_car_when_jacked %2d% -052C=2,set_player %1d% drunk_visuals %2d% -053E=6,%6d% = get_random_car_with_model %5d% in_rectangle_cornerA %1d% %2d% cornerB %3d% %4d% -053F=2,set_car %1d% tires_vulnerability %2h% -0540=0,NOP -0541=1,car %1d% enable_guns_sound -0545=0,NOP -0547=2, actor %1d% colliding_with_car %2d% -0548=0,NOP -054A=2,set_actor %1d% can_be_shot_in_a_car %2h% -054B=0,NOP -054C=1,use_GXT_table %1s% -054D=0,NOP -054E=1,clear_actor %1d% damage -054F=1,clear_car %1d% damage -0550=2,keep_object %1d% in_memory %2h% -0551=0,NOP -0552=0,NOP -0555=2,remove_weapon %2h% from_actor %1d% -0557=0,NOP -055B=0,NOP -055D=2,make_player %1d% fireproof %2h% -055E=2,set_player %1d% max_health += %2h% -055F=2,set_player %1d% max_armour += %2h% -0560=2,create_random_actor_in_car %1d% handle_as %2d% -0561=3,%3d% = create_passenger_in_car %1d% seat %2h% -0563=2,give_player %1d% ammo %2d% -0564=1,heli %1d% simulate_crash_landing -0565=4,create_soundless_explosion_at %1d% %2d% %3d% type %4h% -0566=2,link_object %1d% to_interior %2d% -0568=2,set_actor %1d% untargetable %2h% -0569=0,NOP -056A=0, cutscene_skipped -056C=1, actor %1d% driving_police_car -056D=1, actor %1d% defined -056E=1, car %1d% defined -0570=5,%5d% = create_asset_radar_marker_with_icon %4h% at %1d% %2d% %3d% -0572=1,toggle_taxi_nitros %1h% -0574=2,set_car %1d% keep_position %2h% -0575=2,set_actor %1d% keep_position %2d% -057B=0,NOP -057D=0,NOP -057E=1,set_radar_grey %1h% -057F=0,NOP -0581=1,enable_radar %1d% -0582=2,downdate_integer_stat %1h% to %2d% ; same as 042E -0583=2, player %1d% in_zone %2s% -0585=0,NOP -0587=2,enable_car %1d% validate_position %2h% -0588=2,disable_actor %1d% validate_position %2h% -058A=6,create_gun_flash_from %1d% %2d% %3d% to %4d% %5d% %6d% -058C=1,%1d% = percentage_completed -058D=0,NOP -058E=0,NOP -0591=0,NOP -0592=0,NOP -0594=2,unknown_car %1d% flag %2h% -0595=0,mission_complete -0596=1, NOP_false %1d% -0597=1, actor %1d% crouching -059A=0, return_false -059B=0,NOP -059C=2,enable_status_text %1d% flashing %2h% ; global_variable -059D=1,shuffle_card_decks %1d% -059E=1,get_card_to %1d% -059F=4,get_object %1d% velocity_in_direction %2d% %3d% %4d% -05A0=0, is_unused_camera_world_viewer_being_used -05A1=4,set_object %1d% rotation_velocity_about_an_axis %2d% %3d% %4d% through_center_of_body -05A2=4,set_object %1d% rotation_velocity_about_an_axis %2d% %3d% %4d% through_center_of_mass -05A3=1, object %1d% stopped -05A4=5,get_angle_between_vectors_origin_to %1d% %2d% and_origin_to %3d% %4d% store_to %5d% -05A5=8, is_area_center %1d% %2d% scale %3d% %4d% overlaping_area_center %5d% %6d% scale %7d% %8d% -05A6=4,get_object %1d% rotation_velocity_about_an_axis_X %2d% axis_Y %3d% axis_Z %4d% through_center_of_body -05A7=4,set_object %1d% velocity_in_direction_X %2d% direction_Y %3d% direction_Z %4d% -05A8=2,get_object %1d% speed_to %2d% -05A9=2,%1d% = %2g% ; s$ -05AA=2,%1d% = %2g% ; @s = 'short' -05AD=2, %1d% == %2g% ; s$ == short -05AE=2, %1d% == %2g% ; @s == 'short' -05B0=10, unknown_calculate %1d% %2d% %3d% and %4d% %5d% %6d% %7d% %8d% store_to %9d% %10d% // IF and SET -05B1=0,NOP -05B2=0,NOP -05B3=0,NOP -05B5=0,NOP -05B6=1,save_string_to_debug_file %1k% -05B7=0,NOP -05B8=0,NOP -05B9=2,AS_actor %1h% stay_idle %2h% ms -05BA=2,AS_actor %1d% move_mouth %2h% ms -05BB=3,AS_actor %1h% fall_down %2h% time_on_ground %3d% -05BC=2,AS_actor %1h% jump %2h% -05BD=2,AS_actor %1d% tired %2d% ms -05BE=1,AS_actor %1d% die -05BF=3,AS_actor %1d% look_at_actor %2d% %3d% ms -05C0=3,AS_actor %1d% look_at_car %2d% %3d% ms -05C1=2,AS_actor %1h% speak_from_audio_table %2d% -05C2=1,AS_actor %1d% show_the_finger -05C3=1,AS_actor %1d% hands_cower -05C4=2,AS_actor %1d% hands_up %2d% ms -05C5=2,AS_actor %1d% cower %2h% ms -05C6=0,NOP -05C7=1,AS_actor %1h% use_atm -05C8=1,AS_actor %1h% look_around -05C9=2,AS_actor %1h% on_guard %2d% ms -05CA=4,AS_actor %1d% enter_car %2d% passenger_seat %4h% time %3d% -05CB=3,AS_actor %1d% enter_car %2d% as_driver %3d% ms -05CC=0,NOP -05CD=2,AS_actor %1d% exit_car %2d% -05CE=0,NOP -05CF=5,AS_actor %1d% exit_car %2d% in_direction %3d% %4d% %5d% -05D0=0,NOP -05D1=9,AS_actor %1d% drive_car %2d% to %3d% %4d% %5d% speed %6d% %7h% model %8m% %9h% -05D2=4,AS_actor %1d% run_to_and_hijack_car %2d% max_search_radius %3d% traffic_behavior %4h% -05D3=6,AS_actor %1h% goto_point %2d% %3d% %4d% mode %5h% time %6d% ms ; versionA -05D4=2,AS_actor %1h% rotate_angle %2d% -05D5=0,NOP -05D6=0,clear_scmpath -05D7=3,add_point_to_scmpath %1d% %2d% %3d% -05D8=3,AS_assign_scmpath to_actor %1d% flags %2h% %3h% -05D9=4,AS_actor %1d% run_to_actor %2d% timelimit %3d% stop_within_radius %4d% -05DA=6,AS_actor %1d% run_away_in_panic_from %2d% %3d% %4d% away_radius %5d% timelimit %6d% -05DB=4,AS_actor %1h% flee_from_actor %2d% from_origin_radius %3d% timelimit %4h% -05DC=6,AS_actor %1d% run_away_from_point %2d% %3d% %4d% stop_at_radius %5d% timelimit %6d% -05DD=4,AS_actor %1d% flee_from_actor %2d% from_origin_radius %3d% timelimit %4d% -05DE=1,AS_actor %1d% walk_around_ped_path -05E2=2,AS_actor %1d% kill_actor %2d% -05E5=0,NOP -05E6=0,NOP -05E7=0,NOP -05E8=0,NOP -05E9=2,NOP %1d% %2d% -05EA=0,NOP -05EB=2,assign_car %1d% to_path %2d% -05EC=1,release_car %1d% from_path -05ED=1,freeze_car %1d% while_on_path -05EE=1,unfreeze_car %1d% while_on_path -05EF=0,NOP -05F0=0,NOP -05F1=2,set_car %1d% follow_car %2d% keep_9o_clock -05F2=2,set_car %1d% follow_car %2d% keep_3o_clock -05F3=2,set_car %1d% follow_car %2d% keep_6o_clock -05F4=2,set_car %1d% follow_car %2d% keep_12o_clock -05F5=6,AS_actor %1d% goto_point_using_paths %2d% %3d% %4d% mode %5h% time %6d% -05F6=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% angle %6d% sphere %7h% -05F7=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% angle %6d% sphere %7h% on_foot -05F8=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% angle %6d% sphere %7h% in_car -05F9=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% height %6d% flag %7h% stopped -05FA=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% angle %6d% sphere %7h% stopped_on_foot -05FB=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% height %6d% flag %7h% stopped_in_car -05FC=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% angle %8d% sphere %9h% -05FD=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% angle %8d% sphere %9h% on_foot -05FE=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% in_car -05FF=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% stopped -0600=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% stopped_on_foot -0601=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% stopped_in_car -0602=1, actor %1d% driving_taxi -0603=6,AS_actor %1d% goto_point_any_means %2d% %3d% %4d% mode %5h% use_car %6d% -0604=3,get_Z_angle_for_point %1d% %2d% store_to %3d% -0605=9,actor %1h% perform_animation %2h% IFP %3h% framedelta %4d% loop %5h% lockX %6h% lockY %7h% lockF %8h% time %9h% -0606=4,create_forbidden_for_scripted_cars_cornerA %1d% %2d% cornerB %3d% %4d% -0607=0,remove_forbidden_for_scripted_cars -0608=0,NOP -0609=0,NOP -060A=2,create_decision_maker_type %1h% store_to %2d% ; decision\allowed\m_.ped files -060B=2,set_actor %1d% decision_maker_to %2d% -060C=0,NOP -060D=5,draw_text_shadow %1h% rgba %2h% %3h% %4h% %5d% -060E=1, car %1d% assigned_to_path -060F=2,set_actor %1d% melee_accuracy_to %2d% -0610=0,NOP -0611=2, actor %1d% performing_animation %2h% -0612=3,set_actor %1d% animation %2h% paused %3h% -0613=3,%3d% = actor %1d% animation %2h% time -0614=3,set_actor %1d% animation %2h% progress_to %3d% // 0.0 to 1.0 -0615=1,define_AS_pack_begin %1d% -0616=1,define_AS_pack_end %1d% -0617=0,NOP -0618=2,assign_actor %1d% to_AS_pack %2d% -0619=2,enable_actor %1d% collision_detection %2h% -061A=3,get_actor %1d% animation %2h% total_time_to %3d% -061B=1,remove_references_to_AS_pack %1d% -061C=0,NOP -061D=7,create_AS_origin_at %1d% %2d% %3d% Z_angle %4d% unknown_angle %5d% AS_pack %6d% handle_as %7d% -061E=1,remove_references_to_AS_origin %1d% -061F=0,NOP -0620=0,NOP -0621=5,create_actor_pedtype %1h% model %2m% at_AS_origin %3d% task %4d% handle_as %5d% -0622=2,AS_actor %1d% bail_car %2d% -0623=2,add %2d% to_integer_stat %1d% -0624=2,add %2d% to_float_stat %1d% -0625=2,decrease_integer_stat %1d% by %2d% -0626=2,decrease_float_stat %1d% by %2d% -0627=2,update_integer_stat %1d% to %2d% -0628=2,update_float_stat_to %2d% stat_id %1h% -0629=2,change_integer_stat %1d% to %2h% -062A=2,change_float_stat %1d% to %2d% -062B=0,NOP -062C=0,NOP -062D=0,NOP -062E=3,get_actor %1d% task %2d% status_store_to %3d% ; ret 7 if not found -062F=2,%2d% = create_group_type %1h% -0630=2,put_actor %2d% in_group %1d% as_leader -0631=2,put_actor %2d% in_group %1d% -0632=1,release_group %1d% -0633=1,AS_actor %1d% exit_car -0634=5,AS_actor %1d% attack_using_weapon_actor %2d% flags %3h% perform_actions_after_time %4d% chance_of_action %5h% -0635=3,AS_actor %1h% aim_at_actor %2d% %3d% ms -0636=9,NOP %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% -0637=8,AS_actor %1h% goto %2d% %3d% %4d% mode %5h% turn_radius %6d% stop_radius %7d% look_at_actor %8d% -0638=2,AS_actor %1d% stay_put %2h% -0639=2,AS_actor %1d% rotate_to_actor %2d% -0642=2, actor %1d% at_AS_origin %2d% -0643=2,set_AS_pack %1d% loop %2h% -0646=2,unknown_get_actor %1d% task_1560_status_store_to %2d% ; similar to 062E -0647=1,AS_actor %1d% clear_look_task -0648=2,unknown_actor %1d% task_set %2d% ; float -064A=0,NOP -064B=6,%6d% = create_particle %1h% at %2d% %3d% %4d% type %5h% -064C=1,make_particle %1d% visible -064D=0,NOP -064E=1,stop_particle %1d% -064F=1,remove_references_to_particle %1d% -0650=1,destroy_particle %1d% -0651=0,NOP -0652=2,%2d% = integer_stat %1d% -0653=2,%2d% = float_stat %1d% -0654=2,make_object %1d% fireproof %2h% -0655=3,AS_actor %1d% look_at_object %2d% %3d% ms -0656=2,get_angle %1d% absolute_degrees_to %2d% -0657=2,car %1d% open_door %2h% -0659=0,NOP -065A=0,NOP -065B=4,store_pickup %1d% position_to %2d% %3d% %4d% -065C=1,release_decision_maker %1d% -065D=2,NOP %1d% %2h% -065E=2,NOP %1d% %2h% -065F=2,NOP %1d% %2h% -0660=2,NOP %1d% %2h% -0661=1,NOP %1h% -0662=1,printstring %1h% -0663=2,printint %1h% %2d% -0664=2,printfloat %1h% %2d% -0665=2,get_actor %1d% model_to %2d% -0666=0,NOP -0667=5,AS_actor %1h% aim_at %2d% %3d% %4d% %5d% ms -0668=5,AS_actor %1d% rotate_and_shoot_at %2d% %3d% %4d% %5d% ms -0669=7,%7d% = attach_particle %1h% to_actor %2d% with_offset %3d% %4d% %5d% type %6h% -066A=10,%10d% = attach_particle %1h% to_actor %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% type %9h% -066B=7,%7d% = attach_particle %1h% to_car %2d% with_offset %3d% %4d% %5d% type %6h% -066C=10,%10d% = attach_particle %1h% to_car %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% type %9h% -066D=7,%7d% = attach_particle %1h% to_object %2d% with_offset %3d% %4d% %5d% type %6h% -066E=10,create_particle %1h% attached_to_object %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% flag %9h% store_to %10d% -066F=0,NOP -0670=0,NOP -0671=0,NOP -0672=2,AS_actor %1h% attack_car %2d% -0673=4,AS_actor %1d% dive_to_offset %2d% %3d% time_on_ground %4d% ms -0674=2,set_car_model %1m% numberplate %2h% -0675=0,NOP -0676=2,AS_actor %1h% in_car %2d% move_from_passengerseat_to_driverseat -0677=4,AS_actor %1h% chat_with_actor %2d% lead_speaker_flag %3h% unknown_flag %4h% -0678=0,NOP -0679=9,put_camera_on_car %1d% with_offset %2d% %3d% %4d% rotation %5d% %6d% %7d% tilt %8d% switchstyle %9h% -067A=7,put_camera_on_car %1d% with_offset %2d% %3d% %4d% point_to_car %5d% tilt %6d% switchstyle %7h% -067B=7,put_camera_on_car %1d% with_offset %2d% %3d% %4d% point_to_actor %5d% tilt %6d% %7h% -067C=9,put_camera_on_actor %1d% offset %2d% %3d% %4d% rotation %5d% %6d% %7d% tilt %8d% switchstyle %9d% -067D=7,put_camera_on_actor %1d% offset %2d% %3d% %4d% target_car %5d% tilt %6d% switchstyle %7h% -067E=7,put_camera_on_actor %1d% offset %2d% %3d% %4d% target_actor %5d% tilt %6d% switchstyle %7h% -067F=2,set_car %1d% lights %2h% -0680=2,unknown_assign_AS_origin %1d% to_actors_pedtype %2h% -0681=8,attach_object %1d% to_car %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% -0682=5,detach_object %1d% %2d% %3d% %4d% collision_detection %5h% -0683=8,attach_car %1d% to_car %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% -0684=5,detach_car %1d% %2d% %3d% %4d% collision_detection %5h% -0685=1, object %1d% attached -0686=1, car %1d% attached -0687=1,clear_actor %1d% task -0688=4,AS_actor %1h% unknown_toggle_ped_threat_scanner %2h% %3h% %4h% -0689=3,set_car %1d% remove_door %2h% removed_door_visible %3d% -068A=2,set_car %1d% repair_door %2h% -068B=1,set_car %1d% all_disembark -068C=1, is_player_autoaiming %1d% -068D=3,get_camera_position_to %1d% %2d% %3d% -068E=3,get_camera_target_point_to %1d% %2d% %3d% -068F=0,NOP -0697=3,set_car %1d% remove_component %2h% visible_effect_flag %3d% -0698=2,set_car %1d% repair_componentB %2h% -0699=2,set_car %1d% repair_tire %2h% -069A=8,attach_object %1d% to_object %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% -069B=8,attach_object %1d% to_actor %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% -069C=0,NOP -069D=0,NOP -069E=0,NOP -069F=0,NOP -06A0=0,NOP -06A1=0,NOP -06A2=4,get_car %1d% velocity_in_direction_XYZ %2d% %3d% %4d% -06A3=2,get_car %1d% mass_to %2d% -06A4=0,NOP -06A5=2,AS_actor %1d% jump_forward stay_on_ground %2d% ms and_stands_back -06A6=0,NOP -06A7=9,put_actor %1d% into_turret_on_car %2d% at_car_offset %3d% %4d% %5d% position %6h% shooting_angle %7d% %8d% with_weapon %9h% -06A8=5,AS_actor %1d% run_to_and_look_at_actor %2d% timelimit %3h% approach_distance %4d% approach_angle %5d% -06A9=5,AS_actor %1h% look_at_point %2d% %3d% %4d% %5d% ms -06AA=1, NOP_false %1d% -06AB=2,set_actor %1d% all_weapons_hidden %2h% -06AC=2,%2d% = actor %1d% movement_speed -06AD=2,set_group %1d% group_decision_maker_to %2d% -06AE=2,create_group_decision_maker_type %1h% store_to %2d% ; decision\allowed\mission.grp -06AF=2,set_player %1d% sprint_mode %2h% -06B0=2,AS_actor %1d% sit_down %2d% ms -06B1=9,%9d% = create_searchlight_at %1d% %2d% %3d% radius %8d% target %4d% %5d% %6d% radius %7d% -06B2=1,destroy_searchlight %1d% -06B3=1, searchlight %1d% active -06B4=8,set_searchlight %1d% path_between %2d% %3d% %4d% and %5d% %6d% %7d% speed %8d% -06B5=5,set_searchlight %1d% travel_to %2d% %3d% %4d% speed %5d% -06B6=3,set_searchlight %1d% follow_actor %2d% speed %3d% -06B7=2, searchlight %1d% spotted_actor %2d% -06B9=0, cutscene_data_loaded -06BA=4,AS_actor %1d% turn_to_and_look_at %2d% %3d% %4d% -06BB=3,set_actor %1h% drive_car %2d% speed %3d% along_SCM_path -06BC=7,create_M4_shoot_from %1d% %2d% %3d% target %4d% %5d% %6d% energy %7h% -06BD=11, no_obstacles_between %1d% %2d% %3d% and %4d% %5d% %6d% solid %7h% car %8h% actor %9h% object %10h% particle %11h% -06BE=2,%2d% = car %1d% y_angle -06BF=3,set_searchlight %1d% follow_car %2d% speed %3d% -06C0=2, searchlight %1d% spotted_car %2d% -06C1=10,create_searchlight %10d% on_car %1d% with_offset %2d% %3d% %4d% radius %9d% target %5d% %6d% %7d% radius %8d% -06C2=11,AS_actor %1h% goto %2d% %3d% %4d% mode %5h% turn_radius %6d% stop_radius %7d% actor %8d% with_offset %9d% %10d% %11d% -06C3=5,get_number_of_fires_within_sphere_at %1d% %2d% %3d% radius %4d% store_to %5d% -06C4=2,create_marker_above_searchlight %1d% handle_as %2d% -06C5=1,release_car %1d% from_path -06C6=0,NOP -06C7=4,AS_actor %1d% driver_of_car %2d% perform_action %3h% timelimit %4d% -06C8=1,enable_riot %1h% -06C9=1,remove_actor %1d% from_group -06CA=7,attach_searchlight %1d% to_tower %2d% to_housing %3d% to_bulb %4d% with_offset %5d% %6d% %7d% -06CB=0,NOP -06CE=0,NOP -06CF=1,NOP %1h% -06D0=1,enable_emergency_traffic %1h% -06D1=2,%1d% = %2h% ; v$ = string -06D2=2,%1d% = %2h% ; @v = string -06D5=9,%9d% = create_racing_checkpoint_at %2d% %3d% %4d% point_to %5d% %6d% %7d% type %1d% radius %8d% -06D6=1,disable_racing_checkpoint %1d% -06D7=1,enable_train_traffic %1h% -06D8=6,%6d% = create_train_at %2d% %3d% %4d% type %1h% direction %5h% -06D9=0,destroy_defined_trains -06DA=0,reset_train_directions -06DB=0,destroy_all_trains -06DC=2,set_train %1d% acc %2d% -06DD=2,set_train %1d% speed %2d% -06DE=2,%2d% = get_train %1d% last_carriage_handle -06DF=1,destroy_player %1d% -06E0=1,set_2_player_camera_mode_to %1h% -06E1=6,AS_actor %1d% using_car %2d% target_car %3d% with_order %4h% max_speed %5d% traffic_flag %6h% -06E2=4,AS_actor %1d% run_to_object %2d% timelimit %3h% stop_within_radius %4d% -06E3=2,AS_actor %1h% roll_sideways %2h% -06E4=2,AS_actor %1d% attempt_to_bust_actor %2d% -06E5=3,get_car %1d% possible_to_built_in_component_pool_index %2d% itemID_to %3d% -06E6=2,get_itemID %1d% destinated_component_slot_to %2d% -06E7=3,%3d% = add_car_component %2o% to_car %1d% -06E8=2,car %1d% destroy_component %2d% -06E9=1,load_car_component %1o% -06EA=1, car_component %1o% available -06EB=1,release_car_component %1o% -06EC=2,get_car %1d% number_of_possible_paintjobs_to %2d% -06ED=2,set_car %1d% paintjob %2h% -06EE=2, actor %1d% in_group %2d% -06EF=2, actor %1d% leading_group %2d% -06F0=2,set_group %1d% distance_limit_to %2d% -06F1=1,set_2_player_distance_limit_to %1d% -06F2=0,release_2_players_distance_limit -06F3=1,set_players_can_target_eachother %1h% -06F4=0,NOP -06F5=4,create_coordinate %2d% %3d% %4d% from_fire %1d% -06F6=0,NOP -06F7=0,NOP -06F8=8,get_nearest_route_for %1d% %2d% %3d% in_direction %4h% store_to %5d% %6d% %7d% Z_angle_to %8d% -06F9=0,NOP -06FA=1,allow_players_to_use_separate_vehicles %1h% -06FB=0,NOP -06FC=1, car %1d% stuck_check_enabled -06FD=2,set_car %1d% speed_on_path_to %2d% -06FE=0,NOP -06FF=2, any_ped_near_actor %1d% in_range %2d% -0700=0,NOP -0701=0,end_scene_skip -0702=5,%5d% = get_tags_painted_percentage_at %2d% %3d% %4d% %1d% -0703=5,set_tags_painted_percentage_at %1d% %2d% %3d% %4d% value %5h% -0704=4,car %1d% drive_to %2d% %3d% %4d% -0705=2,car %1d% assign_to_path %2d% and_drive_normal -0706=2,advance_car %1d% further_along_path %2d% -0707=1,start_scene_skip_to %1p% -0708=2,reset_decision_maker %1d% event %2h% -0709=9,set_decision_maker %1d% on_event %2h% taskID %3d% respect %4d% hate %5d% like %6d% dislike %7d% in_car %8h% on_foot %9h% ; see *.ped files -070A=10,AS_actor %1d% attach_to_object %2d% offset %3d% %4d% %5d% on_bone %6h% %7h% perform_animation %8h% IFP_file %9h% time %10h% -070B=2,set_actor %1d% onbone_attached_object_operation %2d% -070C=1,explode_car_without_radius_damage %1d% -070D=1,rebuild_player %1d% -070E=3,hydra %1d% attack_player_car %2d% radius %3d% -070F=4,plane %1d% fly_direction %2d% altitude_between %3d% and %4d% -0710=4,plane %1d% follow_actor %2d% follow_car %3h% radius %4d% -0711=0,NOP -0712=0,NOP -0713=10,actor %1d% driveby_actor %2h% car %3h% point %4d% %5d% %6d% radius %7d% %8h% %9h% firing_rate %10h% -0714=2,unknown_car %1d% flag %2h% -0715=2,put_player %1d% in_RC_mode_in_car %2d% ; on foot version -0716=7, object_model %5o% in_object_group_at %1d% %2d% %3d% radius %4d% destroyed %6h% %7h% -0717=1,assign_actor %1d% to_dialogue_mode -0718=0,NOP -0719=0,enable_dialogue_mode -071A=2, actor %1d% current_dialogue_text == %2g% -071B=0,NOP -071C=0,NOP -071D=0,NOP -071E=2,get_object %1d% health_to %2d% -071F=2,set_object %1d% health_to %2h% -0720=0,NOP -0721=0,NOP -0722=0,NOP -0723=2,break_object %1d% intensity %2h% -0724=3,heli %1d% follow_and_attack_player %2d% radius %3d% -0725=0,NOP -0726=4,heli %1d% follow_actor %2d% follow_car %3h% radius %4d% -0727=4,set_heli %1d% behavior_to_police_heli_and_follow_actor %2d% follow_car %3h% radius %4d% -0728=0,NOP -0729=2,AS_actor %1d% hold_cellphone %2h% -072A=2,put_actor %1d% into_car %2d% driverseat -072B=3,put_actor %1d% into_car %2d% passengerseat %3d% -072C=1,generate_police_bikes %1h% -072D=6, is_flamethrower_fired_in_angled_area_2d %1d% %2d% to %3d% %4d% angle %5d% sphere %6h% -072E=8, is_flamethrower_fired_in_angled_area_3d %1d% %2d% %3d% to %4d% %5d% %6h% angle %7d% sphere %8d% -072F=7,enable_car %1d% stuck_check_distance %2d% time %3d% and_restore_if stuck %4h% flipped %5h% unk_place_on_road_properly %6h% to_path %7h% ; extended 03CC -0730=2,car %1d% damage_door %2h% -0731=2,set_car %1d% y_angle_to %2d% -0732=1,random_car_generator_disable_model %1m% -0733=1,random_car_generator_enable_model %1m% -0734=0,reset_random_car_generator_models -0735=1, is_keyboard_key_pressed %1h% -0736=1, is_keyboard_key_just_pressed %1h% -0737=2, actor %1d% lifting_object %2d% -0738=0,NOP -0739=0,NOP -073A=0,NOP -073B=2,unknown_car %1d% flag %2h% -073C=2,car %1d% damage_componentB %2h% -073D=0,NOP -073E=6,get_car_in_sphere %1d% %2d% %3d% radius %4d% model %5m% handle_as %6d% -073F=8,get_actor_in_sphere %1d% %2d% %3d% radius %4d% with_pedtype_civilian %5h% gang %6h% criminal/prostitute %7h% handle_as %8d% -0740=0,NOP -0741=1, actor %1d% busted -0742=2,set_plane %1d% unknown_trajectory %2d% -0743=6,heli %1d% fly_to %2d% %3d% %4d% altitude %5d% %6d% -0744=0,NOP -0745=1,set_hydra %1d% thrust_to_horizontal -0746=3,set_acquaintance %1h% of_actors_pedtype %2h% to_actors_pedtype %3h% -0747=3,clear_acquaintance %1h% of_actors_pedtype %2h% to_actors_pedtype %3h% ; see ped.dat -0748=0,NOP -0749=2,reset_group_decision_maker %1d% event %2h% -074A=9,set_group_decision_maker %1d% on_event %2h% taskID %3d% respect %4d% hate %5d% like %6d% dislike %7d% in_car %8h% on_foot %9h% ; see *.ped files -074B=10,draw_texture %1h% position %2d% %3d% scale %4d% %5d% angle %6d% color_RGBA %7d% %8d% %9d% %10d% -074C=2,AS_actor %1h% goto_AS_origin %2d% -074D=3,AS_actor %1h% turns_to_and_look_at_actor %2d% timelimit %3h% -074E=3,unknown_set_actor_threat_scanner_flags %1d% radius %2d% peds_to_scan %3h% -074F=2, actor %1d% ped_event == %2h% -0750=2,set_object %1d% visibility %2h% -0751=8,AS_actor %1d% flee_from_actor %2d% run_distance %3d% time %4d% change_course %5h% unknown %6d% %7d% away_radius %8d% -0752=1,NOP %1d% -0754=0,define_new_animation_path -0755=5,add_animation_path_3D_coord %1d% %2d% %3d% animation %4h% IFP_file %5h% -0758=0,NOP -0759=0,NOP -075A=6,set_object %1d% animation %2h% IFP_file %3h% %4d% lockF %5h% loop %6h% ; IF AND SET -075B=1,zoom_radar %1h% -075C=1, marker %1d% enabled -075D=1,load_shopping_data_SHOPS_subsection %1d% ; "string" -075E=1,load_shopping_data_PRICES_subsection %1d% ; "string" -075F=1,store_shopping_data_entries_number_to %1d% -0760=2,store_shopping_data_index %1d% textureCRC_to %2d% -0761=2,get_shopping_item_with_textureCRC %1d% price_to %2d% -0762=1,AS_actor %1d% dies -0763=1,add_car_reference %1d% ; mission only -0764=0,NOP -0765=0,NOP -0766=0,NOP -0767=2,set_zone %1g% popcycle_group_for_peds_and_cars_to %2h% -076A=2,set_zone %1g% dealer_density_to %2h% -076B=2,get_zone %1d% dealer_density_to %2d% -076C=3,set_zone %1g% gang %2h% density_to %3h% -076D=3,get_zone %1g% gang %2d% density_to %3d% -076E=0,NOP -076F=0, text_priority_displayed -0770=2,set_actor %1d% target_priority %2h% -0771=2,set_model_numplate %1m% town_texture %2h% -0772=4,AS_actor %1h% run_to_car %2d% %3d% ms stop_at_distance %4d% -0773=0,NOP -0774=0,NOP -0775=0,NOP -0776=1,create_objects_in_object_group %1h% -0777=1,delete_objects_in_object_group %1h% -0778=1,recreate_objects_in_object_group %1h% -0779=0,NOP -077A=3,set_actor %1d% acquaintance %2h% to_actors_pedtype %3h% ; see ped.dat -077B=3,clear_actor %1d% acquaintance %2h% to_actors_pedtype %3h% ; see ped.dat -077C=2,clear_actor %1d% acquaintance %2h% to_all_pedtypes ; see ped.dat -077D=2,%2d% = car %1d% x_angle -077E=1,get_active_interior_to %1d% -077F=0,NOP -0780=5,heli %1d% hover_above actor %2d% car %3h% altitude %4d% %5d% -0781=2,get_weapon_with_ID %1d% model_to %2d% -0782=2,get_weapon_with_ID %1d% weapon_group_to %2d% -0783=3,get_shopping_item_with_textureCRC %1d% flag %2d% store_to %3d% -0784=4,set_player %1d% textureCRC %2h% modelCRC %3d% bodypart %4h% -0785=0,NOP -0786=7,get_number_of_fires_within_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% store_to %7d% -0787=0,NOP -0788=2,enable_heli %1d% magnet %2h% -0789=1,set_heli %1d% release_stuff_from_magnet -078A=3,%3d% = get_train %1d% carriage %2h% handle -078B=4,%2d% = get_heli %1d% attached_car_handle actor_handle_to %3d% object_handle_to %4d% -078C=2,get_shopping_item_with_textureCRC %1d% nametag_to %2d% ; 8-byte string -078D=0,NOP -078E=0,NOP -078F=2,AS_actor %1h% climb %2h% -0790=1,charge_money_for_shopping_item_with_textureCRC %1d% -0791=0,NOP -0792=1,disembark_instantly_actor %1d% -0793=0,save_player_clothes -0794=0,restore_player_clothes -0795=0,NOP -0796=2,get_crane_magnet %1d% magnet_lane_length_to %2d% ; float -0797=2,set_crane_magnet %1d% magnet_lane_length_to %2d% ; float -0798=4,get_crane_magnet %1d% attached_car_handle_to %2d% attached_actor_handle_to %3d% attached_object_handle_to %4d% -0799=1,set_crane_magnet %1d% release_stuff_from_magnet -079A=0,NOP -079B=0,NOP -079C=0,NOP -079D=0,unknown_set_game_controller_to_steer_object_MagnoCrane_03 ; originally SF docks magnocrane -079E=0,unknown_set_game_controller_to_steer_object_TWRCRANE_M_02 ; originally SF site ballcrane -079F=0,unknown_set_game_controller_to_steer_no_crane_objects -07A0=4,unknown_actor %1d% unknown_assigned_to_AS %2d% unknown_set %3h% unknown_set %4h% -07A1=1,set_walk_speed %1h% -07A2=0,NOP -07A3=4,AS_actor %1d% run_to_and_follow_actor %2d% wait_radius_between %3d% and %4d% -07A4=3,get_actor %1d% task_1560_flags_store_to %2d% %3d% -07A5=3,AS_actor %1h% attack_actor %2d% time %3d% -07A6=6,get_nearest_tag_location_near_point %1d% %2d% %3d% store_to %4d% %5d% %6d% -07A7=1,put_jetpack_on_actor %1d% -07A8=1,enable_area69_sam %1h% -07A9=2,get_searchlight_on_actor %1d% store_to %2d% // IF and SET -07AA=0,NOP -07AB=2, car %1d% has_attached_trailer %2d% -07AC=2,detach_trailer %1d% from_cab %2d% -07AD=0,NOP -07AE=0,NOP -07AF=2,%2d% = player %1d% group -07B0=1,get_active_shop_name_to %1d% ; s$ -07B1=4,unknown_get_dance_track %1h% store_to %2d% %3d% %4d% -07B2=0,NOP -07B3=2,set_group %1d% give_command %2h% -07B4=2,set_player %1d% gang_recruitment_enabled %2d% -07B5=0,NOP -07B6=0,NOP -07B7=0,NOP -07B8=0,NOP -07BA=0,NOP -07BB=2,set_heli %1d% horizontal_thrust_power %2h% -07BC=2,set_actor %1h% decision_maker_to %2d% ; AS_pack_version -07BD=1,destroy_train %1d% -07BE=1,remove_references_to_train %1d% -07BF=2,set_marker %1d% tracking_blip %2h% -07C0=1,load_path %1d% -07C1=1, path %1d% available -07C2=0,NOP -07C3=5,get_object %1d% axis_angle_relation_to %2d% %3d% %4d% %5d% -07C4=5,set_object %1d% axis_angle_relation_to %2d% %3d% %4d% %5d% -07C5=5,get_car %1d% axis_angle_relation_to %2d% %3d% %4d% %5d% -07C6=5,set_car %1d% axis_angle_relation_to %2d% %3d% %4d% %5d% -07C7=4,put_train %1d% at %2d% %3d% %4d% -07C8=0,NOP -07C9=2,AS_actor %1h% walk_to_object %2d% then_lift_and_hold_in_hands -07CA=0,NOP -07CB=2,set_actor %1d% supporting_fire %2h% -07CC=2,set_player %1d% can_enter_exit_vehicles %2h% -07CD=6,AS_actor %1d% walk_to %2d% %3d% %4d% stop_with_angle %5d% within_radius %6d% -07CE=0,NOP -07CF=0,NOP -07D0=1,%1d% = weekday -07D1=0,NOP -07D2=0,NOP -07D3=2,%2g% = init_external_script_named_handle %1x% -07D4=0,NOP -07D5=7,set_car %1d% velocity_in_direction_XYZ %2d% %3d% %4d% rotation_velocitiesXY %5d% %6d% unk %7d% -07D6=2, %1d% == %2d% ; @ == $ (int) -07D7=2, %1d% == %2d% ; @ == $ (float) -07DA=4,set_car %1d% rotation_velocity_XYZ %2d% %3d% %4d% through_center_of_body -07DB=4,set_car %1d% rotation_velocity_XYZ %2d% %3d% %4d% through_center_of_mass -07DC=0,NOP -07DD=2,set_actor %1d% attack_rate %2h% ; previously known as temper_to -07DE=1, model %1o% exists ; versionB -07DF=4,unknown_rectangle_cornerA %1d% %2d% cornerB %3d% %4d% -07E0=2,set_marker %1d% type_to %2h% -07E1=4,AS_actor %1d% swim_to %2d% %3d% %4d% -07E2=0,NOP -07E3=0,NOP -07E4=7,get_model %1o% dimensions_cornerA_to %2d% %3d% %4d% dimensions_cornerB_to %5d% %6d% %7d% -07E5=2,copy_decision_maker %1d% to %2d% -07E6=2,copy_group_decision_maker %1h% to %2d% -07E7=6,AS_assign_scmpath_to_actor %1h% in_car %2d% speed %3d% flags %4h% %5h% %6h% -07E8=3, acquaintance %1h% of_actors_type %2h% to_actors_type %3h% set -07E9=0,NOP -07EA=0,NOP -07EB=0,NOP -07EC=0,NOP -07ED=0,NOP -07EE=2,car %1d% enable_tire_marks %2h% -07EF=4,get_town_number_from_point %1d% %2d% %3d% store_to %4d% -07F0=5, in_sphere %1d% %2d% %3d% radius %4d% damaged_object_with_model %5o% -07F1=1, player %1d% performing_wheelie -07F2=1, player %1d% performing_stoppie -07F3=4,move_racing_checkpoint %1d% to %2d% %3d% %4d% -07F4=0,NOP -07F5=5,car %1d% control_hydraulics %2d% %3d% %4d% %5d% -07F6=3,get_group %1d% number_of_leaders_to %2d% number_of_members_to %3d% -07F7=2,set_object %1d% destructible %2h% -07F8=3,car %1d% follow_car %2d% radius %3d% -07F9=0,set_game_controller_to_steer_object_QUARRY_CRANEARM ; originally DS quarry magnocrane -07FA=0,set_game_controller_to_steer_object_TWRCRANE_M_02 ; originally LV site magnocrane -07FB=2,set_interior %1g% access %2h% -07FC=5,text_draw_box_position_XY %1d% %2d% GXT_reference %3g% value %4d% flag %5h% -07FD=1, group %1d% alive -07FE=3,set_actor %1d% fighting_style_to %2h% moves %3h% -07FF=2,set_car %1d% hydraulics %2h% -0800=0, in_two_players_mode -0801=1,get_camera_zoom_factor_to %1d% ; float -0803=1, car %1d% have_hydraulics -0804=14,AS_actor %1d% walk_to %2d% %3d% %4d% angle %5d% radius %6d% animation %7h% IFP_file %8h% %9d% LA %10h% LX %11h% LY %12h% LF %13h% LT %14h% -0805=0,NOP -0806=2,get_player %1d% kills_from_last_checkpoint %2d% -0807=0,NOP -0808=0,NOP -0809=0,NOP -080A=5,get_object %1d% spoot %2h% store_to %3d% %4d% %5d% -080B=1,NOP %1d% -080C=0,NOP -080D=0,NOP -080E=2,get_actor %1d% ped_event_to %2d% -080F=0,NOP -0810=9,store_random_parkplace_in_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% position_to %7d% %8d% %9d% -0811=2,%2d% = actor %1d% used_car -0812=9,AS_actor %1d% perform_animation %2h% IFP %3h% framedelta %4d% loopA %5h% lockX %6h% lockY %7h% lockF %8h% time %9h% ; versionB -0813=0,NOP -0814=16,define_unique_jump_start %1d% %2d% %3d% radius %4d% %5d% %6d% in_air_goal %7d% %8d% %9d% radius %10d% %11d% %12d% camera %13d% %14d% %15d% reward %16d% -0815=4,put_object %1d% at %2d% %3d% %4d% and_keep_rotation -0816=2,set_actor %1d% dont_chase_victim %2h% -0817=3,assign_actor %1d% to_animation_path_with_walk_mode %2d% route_mode %3d% -0818=1, actor %1d% in_air -0819=2,%2d% = actor %1d% distance_from_ground -081A=2,set_actor %1d% weapon_skill_to %2h% -081B=0,NOP -081C=5,draw_text_outline %1h% RGBA %2h% %3h% %4h% %5d% -081D=2,set_car %1d% engine_broken %2h% -081E=1, model %1o% boat -081F=1, model %1o% plane -0820=1, model %1o% heli -0821=0,NOP -0822=1,enable_camera_bumper_view %1h% -0823=4,AS_actor %1d% greet_actor %2d% %3d% %4h% -0824=0,NOP -0825=1,set_helicopter %1d% instant_rotor_start -0826=1,enable_hud %1h% -0827=2,assign_object %1d% to_lod_object %2d% -0828=1,set_max_fire_generations %1h% -0829=5,actor %1d% perform_animation %2h% IFP_file %3h% %4d% time %5h% and_dies -082A=2,set_player %1d% able_to_use_crouch_button %2h% -0830=6,create_pool_table_collision_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -0831=0, NOP_false -0832=0,NOP -0833=1, object %1d% photographed -0834=2,set_player_head_temporary_turn_rotation_Z %1d% rotation_Y %2d% -0835=2,get_month_day_to %1d% get_month_to %2d% -0836=3,set_object %1d% animation %2h% at %3d% times_normal_rate -0837=2, object %1d% animation == %2h% -0838=0,NOP -0839=3,get_object %1d% animation %2h% progress_to %3d% -083A=3,set_object %1d% animation %2h% progress_to %3d% -083B=0,NOP -083C=4,set_actor %1d% velocity_in_direction_XYZ %2d% %3d% %4d% -083D=4,get_actor %1d% velocity_in_direction_XYZ %2d% %3d% %4d% -083E=4,set_actor %1d% rotation %2d% %3d% %4d% while_in_air -083F=2,get_car %1d% vertical_deviation_to %2d% -0840=2,link_car %1d% to_interior %2d% -0841=2,flying_vehicle %1d% use_secondary_gun %2h% -0842=2,%2d% = player %1d% town_number -0843=4,get_zone_at %1d% %2d% %3d% nameA_to %4d% ; 8-byte string -0844=1, string %1d% empty ; s$ -0845=1, string %1d% empty ; same as 0847 -0846=1, string %1d% empty ; v$ -0847=1, string %1d% empty ; @v -0848=0,NOP -0849=0,NOP -084A=0,NOP -084B=0,NOP -084C=0,NOP -084D=1,unknown_enable_burglary_house_occupants %1h% -084E=2,flying_vehicle %1d% use_primary_gun %2h% -084F=0,NOP -0850=2,AS_actor %1d% follow_actor %2d% -0851=3,set_actor %1d% decrease_health_by %2h% affect_armour %3h% -0852=2,set_car %1d% damages_visible %2h% -0853=2,unknown_heli %1d% flag %2h% -0855=5,get_actor %1d% noise_level_at %2d% %3d% %4d% store_to %5d% -0856=2,set_actor %1d% enable_crouch %2h% -0857=0,NOP -0858=3,set_player %1d% scan_horizon_to_angle %2d% rotation_speed %3d% -0859=2,AS_actor %1d% walk_alongisde_actor %2d% -085A=4,spawn_emergency_vehicle_model %1o% on_street_nearest_to %2d% %3d% %4d% -085B=2,AS_actor %1h% set_kinda_stay_in_same_place %2h% -085C=0,NOP -085D=0,NOP -085E=2,assign_car %1d% to_looped_path %2d% -085F=0,NOP -0860=2,link_actor %1d% to_interior %2h% -0861=1, unknown_player %1d% scanning_horizon ; param is useless -0862=0,NOP -0863=0,NOP -0864=4,set_interior_at %1d% %2d% radius %3d% access %4h% -0866=5,get_object_in_sphere %1d% %2d% %3d% radius %4d% handle_as %5d% -0867=1, unknown_in_burglary_interior %1h% -0868=1,NOP %1d% -0869=1,NOP %1d% -086A=0,NOP -086B=1,NOP %1d% -086C=1,NOP %1d% -086D=0,NOP -086E=0,NOP -086F=0,NOP -0870=0,NOP -0871=18,init_jump_table %1d% total_jumps %2h% default_jump %3h% %4p% jumps %5h% %6p% %7h% %8p% %9h% %10p% %11h% %12p% %13h% %14p% %15h% %16p% %17h% %18p% -0872=18,jump_table_jumps %1d% %2p% %3h% %4p% %5h% %6p% %7h% %8p% %9h% %10p% %11h% %12p% %13h% %14p% %15h% %16p% %17h% %18p% -0873=1,release_path %1d% -0874=2,set_zone %1g% popcycle_group_for_peds_to %2h% -0875=2,set_object %1d% immune_to_nonplayer %2h% -0876=8,unknown_cube_cornera %1d% %2d% %3d% cornerB %4d% %5d% %6d% flag %7h% flag %8h% -0877=0,NOP -0878=2,set_car %1d% dirt_level %2d% -0879=1,enable_gang_wars %1h% -087A=0, gang_war_in_progress -087B=4,set_player %1d% clothes_texture %2h% model %3h% body_part %4h% -087C=0,release_shopping_data -087D=2,assign_group %1d% to_AS_pack %2d% -087E=2,set_actor %1d% weapon_droppable %2h% -087F=2,set_actor %1d% never_leave_group %2h% -0880=0,NOP -0881=2,set_player %1d% able_to_shoot_weapons %2h% -0882=0,NOP -0883=3,attach_particle %1d% to_actor %2d% mode %3h% -0884=2,%2g% = init_external_script_named_handle %1x% -0885=0,NOP -0886=0,NOP -0887=3,set_actor %1d% turret_mode_orientation %2h% both_side_angle_limit %3d% -0888=2,create_marker_above_actor %1d% handle_as %2d% ; versionB -0889=4,store_actor %1d% center_of_body_position_to %2d% %3d% %4d% -088A=11,actor %1d% perform_animation %2h% IFP %3h% %4d% loopA %5h% lockX %6h% lockY %7h% lockF %8h% time %9h% disable_force %10h% disable_lockZ %11h% -088B=2,set_car %1d% form_drag_multiplier_to %2d% -088C=4,put_car %1d% at %2d% %3d% %4d% ; versionB -088D=6,set_objects_in_sphere %1d% %2d% %3d% radius %4d% with_model %5o% collision_detection %6h% -088E=0,set_next_day -088F=0,NOP -0890=2,enable_sound_when_timer %1d% reach %2h% seconds ; global_variable -0891=0,NOP -0892=0,NOP -0893=2,put_trailer %1d% on_cab %2d% -0894=0,NOP -0895=0,NOP -0896=0,NOP -0897=2, car %1d% collided_with_object %2d% -0898=3,set_cranes_controls_enable_UP %1d% enable_DOWN %2d% enable_RELEASE %3d% -0899=0,NOP -089A=0,NOP -089B=1, unknown_is_actor_in_dialogue_mode %1d% -089C=2,unknown_actor %1d% unknown_check %2h% -089D=0,NOP -089E=5,get_actor_that_buys_drugs_in_sphere %1d% %2d% %3d% radius %4d% handle_as %5d% -089F=2,get_actor %1d% pedtype_to %2d% -08A0=7,actor %1d% in_radius %2d% near_model %3o% with_offset %4d% %5d% %6d% end_script_named %7h% ; IF and SET -08A1=0,NOP -08A2=3,set_hydra %1d% attack_with_rockets_car_of_player %2d% radius %3d% -08A3=1,update_respect_while_on_mission %1h% -08A4=2,set_car %1d% extra_parts_angle_to %2d% -08A5=2,set_car %1d% attractive_to_magnet %2h% -08A6=3,set_car %1d% door %2h% rotation_to %3d% -08A7=2, car %1d% componentB %2h% opened_or_not_present -08A8=1,set_markers_to_long_distance %1h% -08A9=1,load_external_script %1x% -08AA=0,NOP -08AB=1, external_script %1x% loaded -08AC=1,hide_gang_zones_on_map %1h% -08AD=4,link_actor %1d% to_enex_marker_at %2d% %3d% radius %4d% -08AE=0,NOP -08AF=2,set_actor %1d% max_health_to %2d% -08B0=0,NOP -08B1=1,enable_night_vision %1h% -08B2=1,enable_thermal_vision %1h% -08B3=1,set_gang_zone %1g% as_only_one_available_for_gangwars -08B4=2, test %1d% bit %2h% -08B5=2, test %1d% bit %2d% -08B6=2, test %1d% bit %2d% -08B7=2, test %1d% bit %2h% -08B8=2, test %1d% bit %2d% -08B9=2, test %1d% bit %2d% -08BA=2,set %1d% bit %2h% -08BB=2,set %1d% bit %2d% -08BC=2,set %1d% bit %2d% -08BD=2,set %1d% bit %2h% -08BE=2,set %1d% bit %2d% -08BF=2,set %1d% bit %2d% -08C0=2,clear %1d% bit %2h% -08C1=2,clear %1d% bit %2d% -08C2=2,clear %1d% bit %2d% -08C3=2,clear %1d% bit %2h% -08C4=2,clear %1d% bit %2d% -08C5=2,clear %1d% bit %2d% -08C6=2,set_actor %1d% stay_on_bike %2h% -08C7=4,put_actor %1d% at %2d% %3d% %4d% dont_warp_gang -08C8=2,set_shopping_item_with_textureCRC %1d% price_to %2d% -08C9=1,reset_shopping_item %1d% price -08CA=0,reset_zones_info -08CB=4,explode_car %1d% shake %2h% effect %3h% sound %4h% -08CC=0,NOP -08CD=0,NOP -08CE=0,NOP -08CF=0,NOP -08D0=0, should_skip_cutscene -08D1=3,store_cutscene_pos_to %1d% %2d% %3d% -08D2=2,object %1d% scale_model %2d% -08D3=1,get_present_zone_popcycle_group_for_peds_and_cars_to %1d% -08D4=9,%9d% = create_panel_with_title %1g% position %2d% %3d% width %4d% columns %5h% interactive %6h% background %7h% alignment %8h% -08D5=0,NOP -08D6=3,set_panel %1d% column %2h% alignment %3h% -08D7=2,%2d% = panel %1d% active_row -08D8=2,%2d% = panel %1d% selected_row -08D9=3,set_panel %1d% row %2d% enable %3h% -08DA=1,remove_panel %1d% -08DB=15,set_panel %1d% column %2h% header %3g% data %4g% %5g% %6g% %7g% %8g% %9g% %10g% %11g% %12g% %13g% %14g% %15g% -08DC=4,create_interior_marker %1d% at %2d% %3d% radius %4d% -08DD=1,lose_stuff_after_wasted %1h% -08DE=1,lose_stuff_after_busted %1h% -08DF=5,override_restart_if_wasted_at %1d% %2d% %3d% within_radius %4d% angle %5d% -08E0=5,override_restart_if_busted_at %1d% %2d% %3d% within_radius %4d% angle %5d% -08E1=1,%1d% = total_tags_sprayed -08E2=1,%1d% = territories_controlled_percentage -08E3=7, object %1d% sphere %7h% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% radius %6d% -08E4=9, object %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% -08E5=5,get_actor_in_sphere %1d% %2d% %3d% radius %4d% handle_as %5d% -08E6=2,set_plane %1d% landing_gear %2h% -08E7=1,disable_entrance_markers %1h% -08E8=2,assign_external_script_handle %2g% to_model %1m% -08E9=2,set_object %1d% liftable %2h% -08EA=1,enable_gangs_spawn %1h% -08EB=7,create_sparks_at %1d% %2d% %3d% velocity_direction %4d% %5d% %6d% density %7h% -08EC=2,%2d% = car %1d% class -08ED=1,remove_actor %1d% from_dialogue_mode -08EE=5,set_panel %1d% column %2h% row %3d% text_1number GXT %4g% number %5d% -08EF=6,set_panel %1d% column %2h% row %3d% text_2numbers GXT %4g% numbers %5d% %6d% -08F0=2,set_cutscene_model %1g% texture %2g% ; 8-byte strings -08F1=4,get_zone_at %1d% %2d% %3d% nameB_to %4d% ; 8-byte string -08F2=2,set_car %1d% targettable_by_heatseeker %2h% -08F3=2,set_car %1d% contains_goodies %2h% -08F4=1,set_max_group_members %1h% -08F5=0,save_player_group -08F6=0,restore_player_group -08F7=4,get_player %1d% bodypart %2h% textureCRC_to %3d% modelCRC_to %4d% -08F8=1,display_stat_update_box %1h% -08F9=2, %1d% == %2d% -08FA=2, %1d% == %2d% -08FB=2,set_checkpoint %1d% type_to %2h% -08FC=0,NOP -08FD=1,enable_heat_visuals %1h% -08FE=0, text_box_displayed -08FF=2, object %1d% received_damage_type %2h% -0900=1,clear_object %1d% last_weapon_damage -0901=2,enable_player %1d% jump_key %2h% -0902=0,NOP -0903=0,NOP -0904=5,get_interface %1h% color_RGBA_to %2d% %3d% %4d% %5d% -0905=2,set_door %1d% lock %2h% -0906=2,set_object %1d% mass_to %2d% ; float -0907=2,get_object %1d% mass_to %2d% ; float -0908=2,set_object %1d% turn_mass_to %2d% ; float -0909=2,get_object %1d% turn_mass_to %2d% ; float -090A=0,NOP -090B=0,NOP -090C=1,highlight_inactive_gang_zone %1g% as_available_for_gangwars -090D=0,highlight_all_inactive_gang_zones_as_available_for_gangwars -090E=2,set_panel %1d% active_row %2d% -090F=1,end_external_script %1x% -0910=1,release_external_script %1x% -0911=0,NOP -0912=3,set_text_priority %1h% leftmargin %2d% maxwidth %3d% -0913=-1,run_external_script %1x% -0914=1,NOP %1d% -0915=0,sync_weather_with_time_and_location_instantly -0916=2,set_object %1d% attractive_to_magnet %2h% -0917=2,audio_zone %1g% enable_sound %2h% -0918=2,set_car %1d% engine_operation %2h% -0919=2,enable_car %1d% parking_lights %2h% -091A=1,NOP %1d% -091B=0,NOP -091C=7,get_actor_in_sphere %1d% %2d% %3d% radius %4d% model %5o% external_script_named %6h% handle_as %7d% -091D=6,remove_forbidden_for_boats_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -091E=6,create_forbidden_for_boats_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -091F=2,get_plane %1d% landing_gear_status_to %2d% -0920=8,point_camera %1d% %2d% %3d% transverse_to %4d% %5d% %6d% time %7d% smooth_transition %8h% -0921=0,NOP -0922=4,set_camera_zoom_from %1d% to %2d% timelimit %3d% smooth_transition %4h% -0923=1,enable_air_traffic %1h% -0924=2,enable_screen_darkness %1h% with_value %2h% -0925=0,restore_camera_to_user_defined -0926=2,%2d% = external_script_status %1x% -0927=0,NOP -0928=3,init_external_script_trigger %1x% with_actor_model %2m% priority %3h% -0929=5,init_external_script_trigger %1x% with_object_model %2o% priority %3h% radius %4d% type %5h% -092A=0,NOP -092B=3,%3d% = group %1d% member %2d% -092C=0,NOP -092D=0,NOP -092E=4,get_water_height_at %1d% %2d% ignore_waves %3h% store_to %4d% -092F=1,lock_camera_target_point %1h% -0930=1,lock_camera_position %1h% -0931=1,lock_camera_zoom %1h% -0932=0,NOP -0933=0, camera_position_manipulated -0934=0, camera_target_point_manipulated -0935=0,NOP -0936=8,set_camera %1d% %2d% %3d% position_to %4d% %5d% %6d% time %7d% smooth_transition %8h% -0937=6,text_draw_box_cornerA %1d% %2d% cornerB %3d% %4d% GXT_reference %5g% style %6h% -0938=0,NOP -0939=8,attach_car %1d% to_object %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% -093A=2,set_paynspray %1g% type_to_girlfriend %2h% -093B=2,set_actor %1d% upper_body_damage_anims_only %2h% -093C=0,NOP -093D=1,lock_camera_on_cinematic_view %1h% -093E=2,NOP %1d% %2d% -093F=0,NOP -0940=2,set_group %1d% enters_leaders_vehicle %2h% -0941=2,unknown_searchlight %1d% flag %2h% -0942=1, item_with_textureCRC %1d% is_clothing -0943=0,NOP -0944=1,manipulate_weapon_camera %1d% -0945=2,get_player %1d% max_armour_to %2d% -0946=2,set_actor %1d% actions_uninterupted_by_weapon_fire %2d% -0947=3,actor %1d% speak_from_audio_table %2d% store_spoken_phrase_id_to %3d% -0948=5,create_explosion_at %1d% %2d% %3d% type %4h% camera_shake %5d% -0949=2,link_wav %1d% to_actor %2d% -094A=2,set_money_pickup %1d% cash_to %2d% -094B=2,%2d% = get_active_interior_name_from_actor %1d% ; 16-byte string -094C=5,get_actor %1d% currently_used_EnEx_3D_coord_to %2d% %3d% %4d% number_to %5d% -094D=1, actor %1d% mutally_active -094E=2,set_actor %1d% mute_pain_audio %2h% -094F=1,enable_actor %1d% pain_audio -0950=4,set_trip_skip %1d% %2d% %3d% angle %4d% -0951=0,disable_trip_skip -0952=1,load_soundtrack %1h% -0953=1,get_soundtrack_status_to %1d% -0954=0,start_playing_loaded_soundtrack -0955=0,end_playing_loaded_soundtrack -0956=1,get_respect_to %1d% -0957=2,set_car %1d% provides_cover_from_gunfire %2h% -0958=4,%4d% = create_photo_at %1d% %2d% %3d% -0959=4,%4d% = create_horseshoe_at %1d% %2d% %3d% -095A=4,%4d% = create_oyster_at %1d% %2d% %3d% -095B=1, is_object_moveable %1d% -095C=12,create_smoke_at %1d% %2d% %3d% velocity %4d% %5d% %6d% RGBA %7d% %8d% %9d% %10d% size %11d% last_factor %12d% -095D=1, actor %1d% stuck_under_car -095E=4,set_car %1d% door %2h% unlatch %3h% angle %4d% -095F=3,get_car %1d% door %2h% angle_to %3d% -0960=2,enable_player %1d% stats_box %2h% -0961=2,set_actor %1d% keep_tasks_after_cleanup %2h% -0962=0,NOP -0963=0,NOP -0964=9,create_square_color_panel %1g% position %2d% %3d% width %4d% columns %5h% interactive %6h% background %7h% alignment %8h% panelID %9d% -0965=1, actor %1d% swimming -0966=2,get_actor %1d% swimming_status_to %2d% -0967=2,actor %1d% move_mouth %2d% ms -0968=1,actor %1d% stop_mouth -0969=1, car %1d% is_big -096A=1,enable_flying_helis %1h% -096B=0,save_current_modparts -096C=0,restore_current_modparts -096D=3,get_car %1d% component_on_slot %2h% model_to %3d% -096E=1, car %1d% lowrider -096F=1, car %1d% street_racing_car -0970=0,teleport_in_override_restart ; 016Eh -0971=0,sync_water -0972=4,put_actor %1d% at %2d% %3d% %4d% no_offset -0973=1, fire %1d% exists -0974=0,emulate_wasted_busted ; 12 hours and clear weapons -0975=1, car %1d% emergency_vehicle -0976=1,destroy_particle %1d% -0977=1, player_in_radius_of_object %1d% external_script_trigger -0978=2,copy_decision_maker %1d% to %2d% -0979=0,NOP -097A=4,play_audio_at %1d% %2d% %3d% event %4d% -097B=2,play_audio_at_object %1d% event %2d% -097C=2,attach_wav %1h% to_object %2d% -097D=2,get_car %1d% number_of_color_indices_to %2h% -097E=0,NOP -097F=0,NOP -0980=4,extinguish_all_fires_at %1d% %2d% %3d% radius %4d% -0981=1, train %1d% wrecked -0982=2,set_actor %1d% stay_in_car_when_dead %2h% -0983=1,unknown_disable_gang_wars %1h% -0984=2,%2d% = object %1d% model -0985=7,set_objects_in_sphere %1d% %2d% %3d% radius %4d% with_model %5o% solid %6h% for_actor %7d% -0986=0,remove_references_to_all_fires -0987=2,get_car_blocking_car %1d% store_to %2d% -0988=2,get_car %1d% paintjob %2d% -0989=1,set_text_boxes_width %1d% -098A=1,set_gunshot_sense_range_for_riot2 %1d% -098B=3,%3d% = %1d% + %2d% ; all string variables -098C=3,%3d% = %1d% + %2d% ; all string variables -098D=2,get_car %1d% extra_parts_angle %2d% -098E=3,set_interior %1g% bitmask %2d% flag %3h% -098F=0,NOP -0990=0,NOP -0991=1,set_soundtrack_paused %1h% -0992=2,set_player %1d% weapons_scrollable %2h% -0993=0,NOP -0994=3,unknown_create_escape_at %1d% %2d% %3d% -0995=0,unknown_remove_escapes -0996=2,set_racing_checkpoint %1d% Z_angle_to %2d% -0997=1,set_total_respect_points_to %1d% -0998=1,add_respect %1h% -0999=0,NOP -099A=2,set_car %1d% collision_detection %2h% -099B=1,unknown_enable_car %1d% collision_on_path -099C=3,jiggle_camera type %1h% timelimit %2d% intensity %3d% -099D=0, night_vision_enabled -099E=1,enable_police_patrols %1h% -099F=2,AS_actor %1h% ignore_weapon_range %2h% -09A0=10,actor %1d% attach_object %2d% with_offset %3d% %4d% %5d% on_bone %6h% %7h% perform_animation %8h% IFP_file %9h% time %10h% -09A1=2,set_actor %1d% onbone_attached_objectB_operation %2b% -09A2=1,destroy_object_with_fade %1d% -09A3=1,show_siterocket_on_bumper_camera %1h% -09A4=6,set_dialogue_classB_question_GXT %1g% answer_Y_GXT %2g% answer_N_GXT %3g% question_WAV %4d% answer_Y_WAV %5d% answer_N_WAV %6d% -09A5=0,NOP -09A6=1,enable_interior_radar_blips %1h% -09A7=2,set_actor %1d% drugged_up %2h% -09A8=1, actor %1d% headshoted -09A9=2,get_string %1h% CRC32_to %2d% ; 16-byte strings -09AA=2,set_dialogue_classB_end_GXT %1g% WAV %2d% -09AB=2,set_passengers_in_car %1d% speak_from_audio_table %2h% ; similar to 0947 -09AC=1,disable_map_icons %1h% -09AD=1,set_vehicle_camera_mode %1h% -09AE=1, actor %1d% driving_train -09AF=4,set_trip_skip_after_mission %1d% %2d% %3d% angle %4d% -09B0=2,set_car %1d% accessible_for_player_using_controller %2h% -09B1=0,NOP -09B2=3,get_random_available_car_unk %1h% model_to %2d% class_to %3d% -09B3=2,get_car %1d% door_status %2d% -09B4=5,set_object_property_at %1d% %2d% radius %3d% bitmask %4d% flag %5h% -09B5=2,set_actor %1d% signal_after_kill %2h% -09B6=2,set_actor %1d% wanted_by_police %2h% -09B7=2,set_zone %1g% disable_footcops %2h% -09B8=8,create_blood_gush_at %1d% %2d% %3d% with_offset %4d% %5d% %6d% density %7h% on_actor %8d% -09B9=1,show_entered_car_name %1h% -09BA=1,show_entered_zone_name %1h% -09BB=2, car %1d% has_visible_damage_on_component %2h% -09BC=4,put_actor %1d% at %2d% %3d% %4d% no_offset_and_dont_warp_gang -09BD=1,allow_other_scripts_to_display_text_boxes %1h% -09BE=0, are_text_boxes_locked_to_any_script -09BF=1,set_random_traffic_spawn_to_model %1m% ; Load the vehicle model before using this -09C0=7,%7d% = get_random_car_in_area %1d% %2d% %3d% %4d% %5d% with_actors %6h% -09C1=1,add_next_text_to_brief_history %1h% -09C2=0,cancel_rampage -09C3=6, police_car_in_rectangle_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% -09C4=2,set_car %1d% gas_tank_explosion_enabled %2h% -09C5=1, unknown_actor %1d% -09C6=0,NOP -09C7=2,change_player %1d% model_to %2m% -09C8=0, menu_subtitles_switched_on -09C9=2,disembark_actor %1d% from_car %2d% and_freeze_actor_position -09CA=6,set_object %1d% immunities BP %2h% FP %3h% EP %4h% CP %5h% MP %6h% -09CB=2, vehicle %1d% colliding_with_vehicle %2d% -09CC=2, object %1d% model_is %2o% -09CF=2,set_train %1d% stop_at_stations %2h% -09D0=1, car %1d% on_wheels -09D1=1, pickup %1d% created -09D2=1,set_cops_chase_criminals %1d% -09D3=0,NOP -09D4=0,suspend_wanted_level -09D5=6,play_sound_of_actor %1d% soundslot %2d% unknown_flags %3h% %4h% %5h% as %6d% ; extended 0947 -09D6=5,unknown_set_actor %1d% sound %2d% flags %3h% %4h% %5h% -09D7=2,set_player %1d% force_interior_lighting %2h% -09D8=1,NOP %1h% -09D9=0,detonate_all_satchel_charges -09DA=3, cash_pickup_at %1d% %2d% %3d% -09DB=3,set_panel %1d% column %2h% width %3d% -09DC=0,NOP -09DD=1,unknown_player_group %1h% -09DE=1, actor %1d% entering_car -09E0=5,trip_skip %1d% %2d% %3d% angle %4d% when_in_car %5d% -09E1=2,get_car_model %1o% price_to %2d% -09E2=14,%14d% = parked_car_generator_w_numberplate %5m% colors %6d% %7d% force_spawn %8d% alarm %9d% door_lock %10d% min_delay %11d% max_delay %12d% plate %13h% at %1d% %2d% %3d% angle %4d% -09E3=1, train %1d% traveling_clockwise -09E4=1,enable_aircraftcarrier_sam %1h% -09E5=7,create_flash_light_at %1d% %2d% %3d% RGB_mask %4d% %5d% %6d% radius %7d% -09E6=1,set_burglary_houses_accessible %1h% -09E7=1, player %1d% not_frozen -09E8=2,%2d% = actor %1d% active_interior -09E9=1,car %1d% set_single_nitro -09EA=0,NOP -09EB=2,remove_player_goggles %1d% use_anim %2h% -09EC=1,set_garages_leave_camera_alone %1d% -09ED=2, actor %1d% is_within_field_of_view_actor %2d% -09EE=1,set_status_text_stay_on_screen %1h% -09EF=4,set_behind_camera_autoposition_mode_for_car_model %1m% distance %2d% altitude_multiplier %3d% angle_X %4d% -09F0=0,restore_behind_camera_autoposition_mode_for_all_car_models -09F1=2,play_audio_at_actor %1d% event %2d% -09F2=1, decision_maker %1d% exists -09F3=0,NOP -09F4=2,set_actor %1d% ignore_height_difference_following_nodes %2h% -09F5=1,disable_player_mutal_activities %1d% -09F6=2,set_actor %1d% unjackable_through_driver_seat %2h% -09F7=2,play_audio_at_car %1d% event %2d% -09F8=0,give_player2_weapons_of_player1 -09F9=0,NOP -09FA=0, is_menu_closed -09FB=1,%1d% = current_language -09FC=1, anything_entered_objects_position %1d% -09FD=2,get_gxt_string %1g% width_to %2d% -09FE=1,reset_hydraulics_on_car %1d% -09FF=3,set_restart_closest_to %1d% %2d% %3d% -0A00=0,NOP -0A01=1, model %1o% car -0A02=2,set_searchlight %1d% lights_through_obstacles %2h% -0A03=0, unknown_gang_war_in_progress -0A04=0,NOP -0A05=0,NOP -0A06=1, train %1d% next_station_unlocked -0A07=1,put_train %1d% at_next_station -0A08=3,get_gxt_string_1number %1g% number %2d% width_to %3d% -0A09=2,set_actor %1d% muted %2h% ; versionB -0A0A=2,unknown_object %1d% flag %2h% -0A0B=4,set_rendering_origin_at_3D_coord %1d% %2d% %3d% angle %4d% -0A0C=1, player %1d% on_jetpack -0A0D=0,NOP -0A0E=1,disable_text_with_style %1h% -0A0F=0, new_language_set -0A10=2,increase_integer_stat %1d% by %2h% -0A11=3,set_car %1d% tertiary_color_to %2d% quaternary_color_to %3d% -0A12=3,get_car %1d% tertiary_color_to %2d% quaternary_color_to %3d% -0A13=0,unknown_sync_player_camera -0A14=1,disable_respray_garages %1h% -0A15=1, is_car_affected_by_cheats %1d% -0A16=2,link_wav %1h% to_car %2d% -0A17=2,set_parked_car_generator %1d% to_player_owned %2h% -0A18=6,set_dialogue_classA_question_GXT %1g% answer_yes_GXT %2g% answer_no_GXT %3g% question_WAV %4d% answer_yes_WAV %5d% answer_no_WAV %6d% -0A19=1,display_zone_text %1g% -0A1A=9,actor %1d% perform_walk_animation %2h% IFP %3h% framedelta %4d% loopA %5h% lockX %6h% lockY %7h% lockF %8h% %9h% ms ; versionC -0A1B=2, actor %1d% colliding_with_actor %2d% -0A1C=2,set_helicopter %1d% play_engine_sounds %2h% -0A1D=2,AS_actor %1d% rotate_to_and_look_at_actor %2d% -0A1E=1,dump_screen %1h% -0A1F=2,increase_float_stat %1h% by %2d% -0A20=2,disable_player %1d% group_control_back %2h% -0A21=2,set_car %1d% not_affected_by_cheats %2h% -0A22=4,set_car_color_to_panel_color_panelID %1d% car %2d% colorslot %3h% active_row %4d% -0A23=3,set_panel %1d% row %2d% shopping_item_bought %3h% -0A24=1,enable_military_zones_wanted_level %1h% -0A25=2,set_camera_on_players_X_angle %1d% Z_angle %2d% -0A26=0,set_radio_to_favorite_station -0A27=2,set_actor %1d% death_pickups_persist %2h% -0A28=2,set_actor %1d% swimming_speed_to %2d% -0A29=1, player %1d% climbing -0A2A=1, text_box %1g% displayed -0A2B=0, widescreen_option_enabled -0A2C=1,hide_priority_text_while_fading %1h% -0A2D=1,hide_styled_text_while_fading %1h% ; works with 00BA -0A2E=7,AS_actor %1d% go_to %2d% %3d% %4d% mode %5h% time %6h% stop_radius %7d% following_paths -0A2F=1,show_first_person_view %1h% -0A30=1,repair_car %1d% -0A31=2,set_player %1d% group_to_follow_never %2h% -0A32=1, actor %1d% on_turret_of_car -0A33=2,get_car_ped_is_attached_to %1d% store_to %2d% -0A34=0,NOP -0A35=5,trip_skip %1d% %2d% %3d% angle %4d% when_in_car %5d% finished_by_script -0A36=0, trip_skip_finished_by_script_is_ready_to_fade_in -0A37=1,disable_vehicle_lights %1d% -0A38=0,NOP -0A39=1,get_vehicle_camera_mode_to %1d% -0A3A=2, player %1d% last_model_shot %2o% -0A3B=1,clear_player %1d% last_model_shot -0A3C=2,set_dialogue_classA_end_GXT %1g% WAV %2d% -0A3D=1,enable_prostitutes_pay_you %1h% and_scm_inject -0A3E=7,unknown_get_actor_in_sphere %1d% %2d% %3d% radius %4d% %5d% %6d% handle_as %7d% -0A3F=1,set_unused_flag %1h% -0A40=5,%5d% = create_entrance_marker_at %1d% %2d% %3d% color %4h% -0A41=1,destroy_entrance_marker %1d% -0A42=0,NOP -0A43=0,get_rid_of_player_prostitute -0A44=1,override_text_block %1h% -0A45=1,set_rail_tracks_friction_to %1d% -0A46=2,set_external_scripts_triggers_type %1h% enabled %2h% -0A47=0,set_dialogue_mode_enabled_without_GXT -0A48=1,enable_menu_access_in_widescreen_mode %1h% -0A49=0, NOP_false -0A4A=2,store_joystick_X_offset_to %1h% Y_offset_to %2h% - -0A8C=4, write_memory %1d% size %2d% val %3d% unused %4d% -0A8D=4, %4d% = read_memory %1d% size %2d% unused %3d% - -0A8E=3,%3d% = %1d% + %2d% ; int -0A8F=3,%3d% = %1d% - %2d% ; int -0A90=3,%3d% = %1d% * %2d% ; int -0A91=3,%3d% = %1d% / %2d% ; int - -0A96=2,%2d% = ped %1d% struct -0A97=2,%2d% = vehicle %1d% struct -0A98=2,%2d% = object %1d% struct - -0A9A=3,%3d% = open_file %1s% mode %2d% ; IF and SET -0A9B=1,close_file %1d% -0A9C=2,%2d% = file %1d% size -0A9D=3,read_file %1d% size %2d% to %3d% - -0A9F=1,%1d% = get_this_script_struct -0AA0=1,gosub_if_false %1p% -0AA1=0,return_if_false - -0AA5=-1,call_function %1d% num_params %2h% pop %3h% -0AA6=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% -0AA7=-1,call_function_return %1d% num_params %2h% pop %3h% -0AA8=-1,call_method_return %1d% struct %2d% num_params %3h% pop %4h% - -0AC6=2,%2d% = label %1p% pointer -0AC7=2,%2d% = var %1d% pointer - -0AC8=2,%2d% = allocate_memory_size %1d% -0AC9=1,free_allocated_memory %1d% - -0ACA=1,show_text_box %1s% -0ACB=3,show_styled_text %1s% time %2d% style %3d% -0ACC=2,show_text_lowpriority %1s% time %2d% -0ACD=2,show_text_highpriority %1s% time %2d% - -0ACE=-1,show_formatted_text_box %1s% -0ACF=-1,show_formatted_styled_text %1s% time %2d% style %3d% -0AD0=-1,show_formatted_text_lowpriority %1s% time %2s% -0AD1=-1,show_formatted_text_highpriority %1s% time %2s% - -0AD3=-1,%1d% = string_format %2s% - -0AD5=3,file %1d% seek %2d% from_origin %3d% // IF and SET - -0ADE=2,%2d% = text_label_string %1d% - -0AEA=2,%2d% = ped_struct %1d% handle -0AEB=2,%2d% = vehicle_struct %1d% handle -0AEC=2,%2d% = object_struct %1d% handle \ No newline at end of file diff --git a/vcs_psp/keywords.txt b/vcs_psp/keywords.txt index 34c2015..cf0e303 100644 --- a/vcs_psp/keywords.txt +++ b/vcs_psp/keywords.txt @@ -2,8 +2,4 @@ 0002=jump 0022=jf 0078=if -0026=return -0004=SET_VAR_INT -0004=SET_LVAR_INT -0005=SET_VAR_FLOAT -0005=SET_LVAR_FLOAT \ No newline at end of file +0026=return \ No newline at end of file From 1e3f18a278b5de5efb13c389fcbe227f00353aa1 Mon Sep 17 00:00:00 2001 From: Seemann Date: Mon, 31 Jul 2023 23:12:51 -0400 Subject: [PATCH 4/6] update modes --- gta3/SCM.INI | 24 +-- gta3/opcodes.txt | 12 ++ lcs/LCSSCM.INI | 24 +-- lcs/opcodes.txt | 15 +- sa/SASCM.INI | 28 +-- sa/opcodes.txt | 24 +-- sa_mobile/SASCM.CLEO.ini | 17 ++ sa_mobile/SASCM.Mobile.ini | 69 +++++++ sa_mobile/SASCM.ini | 24 +-- sa_mobile/mode.xml | 6 +- sa_mobile/opcodes.txt | 23 +-- sa_ps2/opcodes.txt | 24 +-- sa_scr/SASCM.ini | 24 +-- vc/VCSCM.CLEO.ini | 340 +++++++++++++++++++++++++++++++++ vc/VCSCM.INI | 372 ++----------------------------------- vc/mode.xml | 2 + vc/opcodes.txt | 14 +- vc_mobile/VCSCM.CLEO.ini | 17 ++ vc_mobile/VCSCM.INI | 24 +-- vc_mobile/VCSCM.Mobile.ini | 6 + vc_mobile/mode.xml | 6 +- vc_mobile/opcodes.txt | 14 +- vcs_ps2/opcodes.txt | 8 +- vcs_psp/VCSSCM.INI | 8 +- vcs_psp/opcodes.txt | 8 +- 25 files changed, 647 insertions(+), 486 deletions(-) create mode 100644 sa_mobile/SASCM.CLEO.ini create mode 100644 sa_mobile/SASCM.Mobile.ini create mode 100644 vc/VCSCM.CLEO.ini create mode 100644 vc_mobile/VCSCM.CLEO.ini create mode 100644 vc_mobile/VCSCM.Mobile.ini diff --git a/gta3/SCM.INI b/gta3/SCM.INI index 9e9041a..0c0a2ac 100644 --- a/gta3/SCM.INI +++ b/gta3/SCM.INI @@ -134,18 +134,18 @@ DATE=2021-11-11 0075=2,%1d% /= %2d% // @ /= $ float 0076=2,%1d% /= %2d% // $ /= @ int 0077=2,%1d% /= %2d% // $ /= @ float -0078=2,%1d% += frame_delta_time * %2d% // float -0079=2,%1d% += frame_delta_time * %2d% // float -007A=2,%1d% += frame_delta_time * %2d% // float -007B=2,%1d% = frame_delta_time %2d% // float -007C=2,%1d% += frame_delta_time * %2d% // float -007D=2,%1d% += frame_delta_time * %2d% // float -007E=2,%1d% -= frame_delta_time * %2d% // float -007F=2,%1d% -= frame_delta_time * %2d% // float -0080=2,%1d% -= frame_delta_time * %2d% // float -0081=2,%1d% -= frame_delta_time * %2d% // float -0082=2,%1d% -= frame_delta_time * %2d% // float -0083=2,%1d% -= frame_delta_time * %2d% // float +0078=2,%1d% +=@ %2d% // float +0079=2,%1d% +=@ %2d% // float +007A=2,%1d% +=@ %2d% // float +007B=2,%1d% +=@ %2d% // float +007C=2,%1d% +=@ %2d% // float +007D=2,%1d% +=@ %2d% // float +007E=2,%1d% -=@ %2d% // float +007F=2,%1d% -=@ %2d% // float +0080=2,%1d% -=@ %2d% // float +0081=2,%1d% -=@ %2d% // float +0082=2,%1d% -=@ %2d% // float +0083=2,%1d% -=@ %2d% // float 0084=2,%1d% = %2d% // $ = $ int 0085=2,%1d% = %2d% // @ = @ int 0086=2,%1d% = %2d% // $ = $ float diff --git a/gta3/opcodes.txt b/gta3/opcodes.txt index 7f0dca9..46f3031 100644 --- a/gta3/opcodes.txt +++ b/gta3/opcodes.txt @@ -46,6 +46,18 @@ 0069: $DIFFERENCE_X_FLOAT_HJ *= $DIFFERENCE_X_FLOAT_HJ // $ *= $ float 0070: $TIME_CHUNK /= $NUMBER_OF_INJURED_PEDS // $ /= $ int 0071: $PED_TIME_LIMIT_FLOAT /= $TIME_CHUNK_DIVIDER // $ /= $ float +0078: $var +=@ 6.0 // (float) +0079: 0@ +=@ -1.325 // (float) +007A: $var +=@ $var2 // (float) +007B: 0@ +=@ 1@ // (float) +007C: 0@ +=@ $var // (float) +007D: $var +=@ 0@ // (float) +007E: $var -=@ 6.0 // (float) +007F: 0@ -=@ 1.0 // (float) +0080: $var -=@ $var2 // (float) +0081: 0@ -=@ 1@ // (float) +0082: 0@ -=@ $var // (float) +0083: $var -=@ 0@ // (float) 0084: $CASH_REWARD = $COUNTER_STUNT_ROLLS_HJ // $ = $ int 0086: $3 = $2 // $ = $ float 008C: $TOTAL_ROTATION_INT = float_to_integer $TOTAL_ROTATION diff --git a/lcs/LCSSCM.INI b/lcs/LCSSCM.INI index 3467a08..861a820 100644 --- a/lcs/LCSSCM.INI +++ b/lcs/LCSSCM.INI @@ -125,18 +125,18 @@ DATE=2020-11-11 0075=2,%1d% /= %2d% ; (float) 0076=2,%1d% /= %2d% ; (int) 0077=2,%1d% /= %2d% ; (float) -0078=2,%1d% += frame_delta_time * %2d% -0079=2,%1d% += frame_delta_time * %2d% -007A=2,%1d% += frame_delta_time * %2d% -007B=2,%1d% += frame_delta_time * %2d% -007C=2,%1d% += frame_delta_time * %2d% -007D=2,%1d% += frame_delta_time * %2d% -007E=2,%1d% -= frame_delta_time * %2d% -007F=2,%1d% -= frame_delta_time * %2d% -0080=2,%1d% -= frame_delta_time * %2d% -0081=2,%1d% -= frame_delta_time * %2d% -0082=2,%1d% -= frame_delta_time * %2d% ; (float) -0083=2,%1d% -= frame_delta_time * %2d% +0078=2,%1d% +=@ %2d% // float +0079=2,%1d% +=@ %2d% // float +007A=2,%1d% +=@ %2d% // float +007B=2,%1d% +=@ %2d% // float +007C=2,%1d% +=@ %2d% // float +007D=2,%1d% +=@ %2d% // float +007E=2,%1d% -=@ %2d% // float +007F=2,%1d% -=@ %2d% // float +0080=2,%1d% -=@ %2d% // float +0081=2,%1d% -=@ %2d% // float +0082=2,%1d% -=@ %2d% // float +0083=2,%1d% -=@ %2d% // float 0084=2,%1d% = %2d% ; (int) 0085=2,%1d% = %2d% ; (int) 0086=2,%1d% = %2d% ; (float) diff --git a/lcs/opcodes.txt b/lcs/opcodes.txt index ea959ac..1c31643 100644 --- a/lcs/opcodes.txt +++ b/lcs/opcodes.txt @@ -96,9 +96,18 @@ 0073: 6@ /= 3@ // (float) 0074: $3934 /= 4@ // (int) 0077: 31@ /= $3986 // (float) -0078: $544 += frame_delta_time * -0.1 -0079: 52@ += frame_delta_time * -4.5 -007A: $3946 += frame_delta_time * $3949 +0078: $var +=@ 6.0 // (float) +0079: 0@ +=@ -1.325 // (float) +007A: $var +=@ $var2 // (float) +007B: 0@ +=@ 1@ // (float) +007C: 0@ +=@ $var // (float) +007D: $var +=@ 0@ // (float) +007E: $var -=@ 6.0 // (float) +007F: 0@ -=@ 1.0 // (float) +0080: $var -=@ $var2 // (float) +0081: 0@ -=@ 1@ // (float) +0082: 0@ -=@ $var // (float) +0083: $var -=@ 0@ // (float) 0084: $1392 = $1393 // (int) 0085: 1@ = 0@ // (int) 0086: $537 = $_7 // (float) diff --git a/sa/SASCM.INI b/sa/SASCM.INI index 3280085..1ead1db 100644 --- a/sa/SASCM.INI +++ b/sa/SASCM.INI @@ -121,18 +121,18 @@ DATE=2023-07-01 0075=2,%1d% /= %2d% ; (float) 0076=2,%1d% /= %2d% ; (int) 0077=2,%1d% /= %2d% ; (float) -0078=2,%1d% += frame_delta_time * %2d% ; (float) -0079=2,%1d% += frame_delta_time * %2d% ; (float) -007a=2,%1d% += frame_delta_time * %2d% ; (float) -007b=2,%1d% += frame_delta_time * %2d% ; (float) -007c=2,%1d% += frame_delta_time * %2d% ; (float) -007d=2,%1d% += frame_delta_time * %2d% ; (float) -007E=2,%1d% -= frame_delta_time * %2d% ; (float) -007F=2,%1d% -= frame_delta_time * %2d% ; (float) -0080=2,%1d% -= frame_delta_time * %2d% ; (float) -0081=2,%1d% -= frame_delta_time * %2d% ; (float) -0082=2,%1d% -= frame_delta_time * %2d% ; (float) -0083=2,%1d% -= frame_delta_time * %2d% ; (float) +0078=2,%1d% +=@ %2d% // float +0079=2,%1d% +=@ %2d% // float +007A=2,%1d% +=@ %2d% // float +007B=2,%1d% +=@ %2d% // float +007C=2,%1d% +=@ %2d% // float +007D=2,%1d% +=@ %2d% // float +007E=2,%1d% -=@ %2d% // float +007F=2,%1d% -=@ %2d% // float +0080=2,%1d% -=@ %2d% // float +0081=2,%1d% -=@ %2d% // float +0082=2,%1d% -=@ %2d% // float +0083=2,%1d% -=@ %2d% // float 0084=2,%1d% = %2d% ; (int) 0085=2,%1d% = %2d% ; (int) 0086=2,%1d% = %2d% ; (float) @@ -614,7 +614,7 @@ DATE=2023-07-01 0454=3,store_debug_camera_position_to %1d% %2d% %3d% 0457=2, player %1d% aiming_at_actor %2d% 0458=2, player %1d% aiming_at_object %2d% -0459=1,end_script_named %1s% +0459=1,terminate_all_scripts_with_this_name %1s% 045A=4,draw_text_1number %1d% %2d% GXT %3g% number %4d% 045B=5,draw_text_2numbers %1d% %2d% GXT %3g% numbers %4d% %5d% 045C=0,abort_mission @@ -1952,7 +1952,7 @@ DATE=2023-07-01 0A3A=2, player %1d% last_model_shot %2o% 0A3B=1,clear_player %1d% last_model_shot 0A3C=2,set_dialogue_classA_end_GXT %1g% WAV %2d% -0A3D=1,enable_prostitutes_pay_you %1h% and_scm_inject +0A3D=1,enable_prostitutes_pay_you %1h% 0A3E=7,unknown_get_actor_in_sphere %1d% %2d% %3d% radius %4d% %5d% %6d% handle_as %7d% 0A3F=1,set_unused_flag %1h% 0A40=5,%5d% = create_entrance_marker_at %1d% %2d% %3d% color %4h% diff --git a/sa/opcodes.txt b/sa/opcodes.txt index ffbbe04..f8b7ccb 100644 --- a/sa/opcodes.txt +++ b/sa/opcodes.txt @@ -103,18 +103,18 @@ 0075: $TEMPVAR_FLOAT_1 /= 620@ // (float) 0076: 44@ /= $var // (int) 0077: 50@ /= $TEMPVAR_FLOAT_3 // (float) -0078: $5576 += frame_delta_time * 6.0 // (float) -0079: 351@ += frame_delta_time * -1.325 // (float) -007A: $5575 += frame_delta_time * $5574 // (float) -007B: 290@(227@,60f) += frame_delta_time * 425@ // (float) -007C: 423@ += frame_delta_time * $var // (float) -007D: $TEMPVAR_FLOAT_1 += frame_delta_time * 2@ // (float) -007E: $5576 -= frame_delta_time * 6.0 // (float) -007F: 421@ -= frame_delta_time * 1.0 // (float) -0080: $5588 -= frame_delta_time * $5589 // (float) -0081: 549@ -= frame_delta_time * 551@ // (float) -0082: 18@ -= frame_delta_time * $8736 // (float) -0083: $2739 -= frame_delta_time * 8@ // (float) +0078: $var +=@ 6.0 // (float) +0079: 0@ +=@ -1.325 // (float) +007A: $var +=@ $var2 // (float) +007B: 0@ +=@ 1@ // (float) +007C: 0@ +=@ $var // (float) +007D: $var +=@ 0@ // (float) +007E: $var -=@ 6.0 // (float) +007F: 0@ -=@ 1.0 // (float) +0080: $var -=@ $var2 // (float) +0081: 0@ -=@ 1@ // (float) +0082: 0@ -=@ $var // (float) +0083: $var -=@ 0@ // (float) 0084: $5283 = $5284 // (int) 0085: 13@ = 12@ // (int) 0086: $TEMPVAR_FLOAT_1 = $1038 // (float) diff --git a/sa_mobile/SASCM.CLEO.ini b/sa_mobile/SASCM.CLEO.ini new file mode 100644 index 0000000..a96ce30 --- /dev/null +++ b/sa_mobile/SASCM.CLEO.ini @@ -0,0 +1,17 @@ +[CLEO] +; Android CLEO opcodes +0DD0=2,%1d% = get_label_addr %2p% ; android +0DD1=2,%1d% = get_func_addr_by_cstr_name %2d% ; android +0DD2=1,context_call_func %1d% ; android +0DD3=2,context_set_reg %1d% value %2d% ; android +0DD4=2,%1d% = context_get_reg %2d% ; android +0DD6=1,%1d% = get_game_version ; android +0DD7=1,%1d% = get_image_base ; android +0DD8=4,%1d% = read_mem_addr %2d% size %3d% add_ib %4d% ; android +0DD9=5,write_mem_addr %1d% value %2d% size %3d% add_ib %4d% protect %5d% ; android +0DDC=2,set_mutex_var %1d% to %2d% ; android +0DDD=2,%1d% = get_mutex_var %2d% ; android +0DE0=3,%1d% = get_touch_point_state %2d% mintime %3d% ; android +0DE1=5,%1d% = get_touch_slide_state from %2d% to %3d% mintime %4d% maxtime %5d% ; android +0DE2=1,%1d% = get_menu_button_state ; read opcode info before using ; android +0DE3=2,%1d% = get_menu_button_pressed mintime %2d% ; read opcode info before using ; android \ No newline at end of file diff --git a/sa_mobile/SASCM.Mobile.ini b/sa_mobile/SASCM.Mobile.ini new file mode 100644 index 0000000..ca02de2 --- /dev/null +++ b/sa_mobile/SASCM.Mobile.ini @@ -0,0 +1,69 @@ +[Mobile] +; Mobile opcodes +0242=2,arm_car_with_bomb %1d% %2d% +0A4F=0, NOP_false +0A50=0,increment_useless_flag +0a51=1, is_widget_pressed %1d% +0a52=1, is_widget_released %1d% +0a53=1, is_widget_doubletapped %1d% +0a54=1, is_widget_swiped %1d% +0A55=1, is_widget_swiped_left %1d% +0A56=1, is_widget_swiped_right %1d% +0a57=2, do_mission_skip_get_current_mission_page %1d% get_current_skip_to_mission_number %2d% +0a58=1, skip_to_mission_num %1d% +0a59=1, skip_to_mission_page %1d% +0a5A=2,get_widget %1d% value_to %2d% ; float +0A5B=3,get_widget %1d% value2_to %2d% %3d% ; float +0A5C=3,display_missions_text_position %1d% %2d% GXT %3g% +0A5D=5,get_widget %1d% position_to %2d% %3d% scale_to %4d% %5d% +0A5E=2,set_widget %1d% value %2d% ; float +0A5F=3,set_widget %1d% slider_range %2d% %3d% ; float +0a60=2,widget %1d% add_flag %2d% +0a61=2,widget %1d% remove_flag %2d% +0a62=2,widget %1d% add_button_flag %2d% +0a63=2,widget %1d% remove_button_flag %2d% +0a64=0, is_touch_enabled +0a65=0, skip_intro_cutscene +0a66=1,write_log %1k% ; 128-byte null-terminated string +0a67=4,write_log_int %1d% %2d% %3d% %4k% ; 128-byte null-terminated string +0a68=4,write_log_float %1d% %2d% %3d% %4k% ; 128-byte null-terminated string +0a69=1,create_shop_widget_menu %1g% +0a6a=2,add_shop_widget_menu_item %1g% price %2d% +0a6b=1,delete_widget %1d% +0a6c=2,set_widget %1d% equipped_item %2d% +0a6d=2,print_help_forever_conditional %1g% hid_type %2d% +0a6e=2,set_widget %1d% texture %2k% ; 128-byte null-terminated string +0a6f=1,checkpoint_save %1d% +0a70=4,display_text_clamped_position %1d% %2d% GXT %3g% scale %4d% ;text_draw +0a71=5,display_text_clamped_position %1d% %2d% GXT %3g% with_number %4d% scale %5d% ;text_draw +0A72=0,auto_save_checkpoint +0a73=4,set_widget %1d% value3 %2d% %3d% %4d% ; float +0a74=1, is_checkpoint_resuming %1d% ; IsGameResuming //bool +0a75=2, set_active_square_color_panel %1d% find_car_colour %2d% +0a76=1, hid_implements %1d% +0a77=1,checkpoint_save_oddjob %1d% +0A78=2,print_help_forever_conditional_touch %1g% hid_type %2d% +0A79=2,print_help_forever_conditional_hid %1g% hid_type %2d% +0A7A=2,print_help_forever_conditional_touch_classic %1g% hid_type %2d% +0A7B=2,print_help_forever_conditional_touch_adapted %1g% hid_type %2d% +0A7C=2,print_help_forever_conditional_hid_joypad %1g% hid_type %2d% +0A7D=2,print_help_forever_conditional_hid_keyboard %1g% hid_type %2d% +0A7E=2,print_help_forever_conditional_touch_analog %1g% hid_type %2d% +0A7F=2,print_help_forever_conditional_touch_digital %1g% hid_type %2d% +0A80=2,print_help_forever_conditional_touch_flick %1g% hid_type %2d% +0A81=2,print_help_conditional %1g% hid_type %2d% +0A82=2,print_help_conditional_touch %1g% hid_type %2d% +0A83=2,print_help_conditional_hid %1g% hid_type %2d% +0A84=2,print_help_conditional_touch_classic %1g% hid_type %2d% +0A85=2,print_help_conditional_touch_adapted %1g% hid_type %2d% +0A86=2,print_help_conditional_hid_joypad %1g% hid_type %2d% +0A87=2,print_help_conditional_hid_keyboard %1g% hid_type %2d% +0A88=2,print_help_conditional_touch_analog %1g% hid_type %2d% +0a89=3,set_widget %1d% value2 %2d% %3d% ; float +0a8a=8,set_widget %1d% info %2d% %3d% %4d% %5d% %6d% %7d% %8g% +0a8b=7,set_widget %1d% info2 %2d% %3d% %4d% %5d% %6g% %7g% +0a8c=0,load_all_requested_models ; No time to pause. load faster than 038B +0a8d=1, is_hid_released %1d% +0A8E=1,NOP %1d% +0A8F=0,set_player_weapon_lock_on_target +0A90=1, is_hid_pressed %1d% \ No newline at end of file diff --git a/sa_mobile/SASCM.ini b/sa_mobile/SASCM.ini index 08dc5c7..c8e3c3f 100644 --- a/sa_mobile/SASCM.ini +++ b/sa_mobile/SASCM.ini @@ -121,18 +121,18 @@ DATE=2022-03-20 0075=2,%1d% /= %2d% ; (float) 0076=2,%1d% /= %2d% ; (int) 0077=2,%1d% /= %2d% ; (float) -0078=2,%1d% += frame_delta_time * %2d% ; (float) -0079=2,%1d% += frame_delta_time * %2d% ; (float) -007a=2,%1d% += frame_delta_time * %2d% ; (float) -007b=2,%1d% += frame_delta_time %2d% ; (float) -007c=2,%1d% += frame_delta_time * %2d% ; @ += $ (float) -007d=2,%1d% += frame_delta_time * %2d% ; (float) -007E=2,%1d% -= frame_delta_time * %2d% ; (float) -007F=2,%1d% -= frame_delta_time * %2d% ; (float) -0080=2,%1d% -= frame_delta_time * %2d% ; (float) -0081=2,%1d% -= frame_delta_time * %2d% ; (float) -0082=2,%1d% -= frame_delta_time * %2d% ; (float) -0083=2,%1d% -= frame_delta_time * %2d% ; (float) +0078=2,%1d% +=@ %2d% // float +0079=2,%1d% +=@ %2d% // float +007A=2,%1d% +=@ %2d% // float +007B=2,%1d% +=@ %2d% // float +007C=2,%1d% +=@ %2d% // float +007D=2,%1d% +=@ %2d% // float +007E=2,%1d% -=@ %2d% // float +007F=2,%1d% -=@ %2d% // float +0080=2,%1d% -=@ %2d% // float +0081=2,%1d% -=@ %2d% // float +0082=2,%1d% -=@ %2d% // float +0083=2,%1d% -=@ %2d% // float 0084=2,%1d% = %2d% ; (int) 0085=2,%1d% = %2d% ; (int) 0086=2,%1d% = %2d% ; (float) diff --git a/sa_mobile/mode.xml b/sa_mobile/mode.xml index 4c32e98..6b80362 100644 --- a/sa_mobile/mode.xml +++ b/sa_mobile/mode.xml @@ -1,6 +1,10 @@ @sb:\data\sa_mobile\ - @sb:\data\sa_mobile\SASCM.ini + + @sb:\data\sa\SASCM.ini + @sb:\data\sa_mobile\SASCM.Mobile.ini + @sb:\data\sa_mobile\SASCM.CLEO.ini + @sb:\data\sa_mobile\SASCM*.ini @sb:\data\sa_mobile\classes.db @sb:\data\sa_mobile\CustomVariables.ini @sb:\data\sa_mobile\keywords.txt diff --git a/sa_mobile/opcodes.txt b/sa_mobile/opcodes.txt index 92850bf..56b9943 100644 --- a/sa_mobile/opcodes.txt +++ b/sa_mobile/opcodes.txt @@ -98,17 +98,18 @@ 0074: $9567 /= 59@ // (int) 0075: $72 /= 630@ // (float) 0077: 58@ /= $74 // (float) -0078: $7578 += frame_delta_time * 1.0 // (float) -0079: 433@ += frame_delta_time * 1.0 // (float) -007A: $7052($7034,16f) += frame_delta_time * $6968 // (float) -007B: 302@(239@,60f) = frame_delta_time 225@ // (float) -007D: $72 += frame_delta_time * 2@ // (float) -007E: $7578 -= frame_delta_time * 0.05 // (float) -007F: 433@ -= frame_delta_time * 1.0 // (float) -0080: $6965 -= frame_delta_time * $6966 // (float) -0081: 363@ -= frame_delta_time * 434@ // (float) -0082: 18@ -= frame_delta_time * $10103 // (float) -0083: $4126 -= frame_delta_time * 8@ // (float) +0078: $var +=@ 6.0 // (float) +0079: 0@ +=@ -1.325 // (float) +007A: $var +=@ $var2 // (float) +007B: 0@ +=@ 1@ // (float) +007C: 0@ +=@ $var // (float) +007D: $var +=@ 0@ // (float) +007E: $var -=@ 6.0 // (float) +007F: 0@ -=@ 1.0 // (float) +0080: $var -=@ $var2 // (float) +0081: 0@ -=@ 1@ // (float) +0082: 0@ -=@ $var // (float) +0083: $var -=@ 0@ // (float) 0084: $6667 = $6668 // (int) 0085: 13@ = 12@ // (int) 0086: $73 = $1050 // (float) diff --git a/sa_ps2/opcodes.txt b/sa_ps2/opcodes.txt index 2e5d404..d12f021 100644 --- a/sa_ps2/opcodes.txt +++ b/sa_ps2/opcodes.txt @@ -105,18 +105,18 @@ 0075: $TEMPVAR_FLOAT_1 /= 620@ // (float) 0076: 44@ /= $var // (int) 0077: 50@ /= $TEMPVAR_FLOAT_3 // (float) -0078: $5576 += frame_delta_time * 6.0 // (float) -0079: 351@ += frame_delta_time * -1.325 // (float) -007A: $5575 += frame_delta_time * $5574 // (float) -007B: 290@(227@,60f) += frame_delta_time * 425@ // (float) -007C: 423@ += frame_delta_time * $var // (float) -007D: $TEMPVAR_FLOAT_1 += frame_delta_time * 2@ // (float) -007E: $5576 -= frame_delta_time * 6.0 // (float) -007F: 421@ -= frame_delta_time * 1.0 // (float) -0080: $5588 -= frame_delta_time * $5589 // (float) -0081: 549@ -= frame_delta_time * 551@ // (float) -0082: 18@ -= frame_delta_time * $8736 // (float) -0083: $2739 -= frame_delta_time * 8@ // (float) +0078: $var +=@ 6.0 // (float) +0079: 0@ +=@ -1.325 // (float) +007A: $var +=@ $var2 // (float) +007B: 0@ +=@ 1@ // (float) +007C: 0@ +=@ $var // (float) +007D: $var +=@ 0@ // (float) +007E: $var -=@ 6.0 // (float) +007F: 0@ -=@ 1.0 // (float) +0080: $var -=@ $var2 // (float) +0081: 0@ -=@ 1@ // (float) +0082: 0@ -=@ $var // (float) +0083: $var -=@ 0@ // (float) 0084: $5283 = $5284 // (int) 0085: 13@ = 12@ // (int) 0086: $TEMPVAR_FLOAT_1 = $1038 // (float) diff --git a/sa_scr/SASCM.ini b/sa_scr/SASCM.ini index e3c672a..ab2e37c 100644 --- a/sa_scr/SASCM.ini +++ b/sa_scr/SASCM.ini @@ -121,18 +121,18 @@ DATE=2021-07-05 0075=2,%1d% /= %2d% ; (float) 0076=2,%1d% /= %2d% ; (int) 0077=2,%1d% /= %2d% ; (float) -0078=2,%1d% += frame_delta_time * %2d% -0079=2,%1d% += frame_delta_time * %2d% -007A=2,%1d% += frame_delta_time * %2d% -007B=2,%1d% = frame_delta_time * %2d% -007C=2,%1d% += frame_delta_time * %2d% -007D=2,%1d% += frame_delta_time * %2d% -007E=2,%1d% -= frame_delta_time * %2d% -007F=2,%1d% -= frame_delta_time * %2d% -0080=2,%1d% -= frame_delta_time * %2d% -0081=2,%1d% -= frame_delta_time * %2d% -0082=2,%1d% -= frame_delta_time * %2d% ; (float) -0083=2,%1d% -= frame_delta_time * %2d% +0078=2,%1d% +=@ %2d% // float +0079=2,%1d% +=@ %2d% // float +007A=2,%1d% +=@ %2d% // float +007B=2,%1d% +=@ %2d% // float +007C=2,%1d% +=@ %2d% // float +007D=2,%1d% +=@ %2d% // float +007E=2,%1d% -=@ %2d% // float +007F=2,%1d% -=@ %2d% // float +0080=2,%1d% -=@ %2d% // float +0081=2,%1d% -=@ %2d% // float +0082=2,%1d% -=@ %2d% // float +0083=2,%1d% -=@ %2d% // float 0084=2,%1d% = %2d% ; (int) 0085=2,%1d% = %2d% ; (int) 0086=2,%1d% = %2d% ; (float) diff --git a/vc/VCSCM.CLEO.ini b/vc/VCSCM.CLEO.ini new file mode 100644 index 0000000..1c901d0 --- /dev/null +++ b/vc/VCSCM.CLEO.ini @@ -0,0 +1,340 @@ +[CLEO] +; CLEO 1.1 opcodes +05dc=0,terminate_this_custom_script +05dd=1,terminate_all_custom_scripts_with_this_name %1s% +05de=-1,stream_custom_script %1s% +05df=4,write_memory %1d% size %2d% value %3d% virtual_protect %4d% +05e0=4,%4d% = read_memory %1d% size %2d% virtual_protect %3d% +05e1=-1,call_function %1d% num_params %2h% pop %3h% +05e2=-1,call_function_return %1d% num_params %2h% pop %3h% +05e3=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% +05e4=-1,call_method_return %1d% struct %2d% num_params %3h% pop %4h% +05e5=1,%1d% = game_version +05e6=2,%2d% = ped %1h% struct +05e7=2,%2d% = vehicle %1h% struct +05e8=2,%2d% = object %1h% struct +05e9=2,%2h% = ped_struct %1d% handle +05ea=2,%2h% = vehicle_struct %1d% handle +05eb=2,%2h% = object_struct %1d% handle +05ec=1,%1d% = get_this_script_struct +05ed=2,%2d% = get_script_struct_named %1s% +05ee=1, key_pressed %1d% //VK_... +05ef=7,%7d% = random_actor_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_deads %6h% //IF and SET +05f0=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_wrecked %6h% //IF and SET +05f1=6,%6d% = random_object_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% //IF and SET +05f2=1,%1d% = pop_float +05f3=3,%3d% = pow %1d% base %2d% // all floats +05f4=3,%3d% = log %1d% base %2d% //all floats +05f5=-1,cleo_call %1p% params_count %2d% +05f6=-1,cleo_return %1d% +05f7=2, %2d% = label %1p% pointer +05f8=2, %2d% = var %1d% pointer +05f9=3, %3d% = %1d% AND %2d% +05fa=3, %3d% = %1d% OR %2d% +05fb=3, %3d% = %1d% XOR %2d% +05fc=2, %2d% = NOT %1d% +05fd=3, %3d% = %1d% MOD %2d% +05fe=3, %3d% = %1d% SHR %2d% +05ff=3, %3d% = %1d% SHL %2d% + +; CLEO 2.0 - https://github.com/cleolibrary/III.VC.CLEO +016F=10,draw_shadow %1d% at %2d% %3d% %4d% angle %5d% size %6d% intensity %7d% colour %8d% %9d% %10d% +0349=1,text_draw_style = %1d% +0601=2, is_button_pressed_on_pad %1d% with_sensitivity %2d% +0602=2, emulate_button_press_on_pad %1d% with_sensitivity %2d% +0603=0, is_camera_in_widescreen_mode +0604=2, %2d% = weapon %1d% model +0605=2, %2d% = model %1d% weapon id +0606=3, set_memory_offset memory_pointer %1d% memory_to_point %2d% virtual_protect %3d% +0607=1, %1d% = get_current_weather +0608=3, show_text_position %1d% %2d% text %3d% +0609=-1, show_formatted_text_position %1d% %2d% text %3d% +0673=4,play_animation on actor %1d% animgroup %2d% anim %3d% blendfactor %4f% +0A8C=4,write_memory %1d% size %2d% value %3d% virtual_protect %4d% +0A8D=4,%4d% = read_memory %1d% size %2d% virtual_protect %3d% +0A8E=3,%3d% = %1d% + %2d% ; int +0A8F=3,%3d% = %1d% - %2d% ; int +0A90=3,%3d% = %1d% * %2d% ; int +0A91=3,%3d% = %1d% / %2d% ; int +0A92=-1,stream_custom_script %1s% +0A93=0,terminate_this_custom_script +0A96=2,%2d% = ped %1d% struct +0A97=2,%2d% = vehicle %1d% struct +0A98=2,%2d% = object %1d% struct +0A99=1,set_current_directory %1buserdir/rootdir% +0A9A=3,%3d% = open_file %1s% mode %2d% ; IF and SET +0A9B=1,close_file %1d% +0A9C=2,%2d% = file %1d% size +0A9D=3,read_file %1d% size %2d% to %3d% +0A9E=3,write_file %1d% size %2d% from %3d% +0A9F=1,%1d% = get_this_script_struct +0AA0=1,gosub_if_false %1p% +0AA1=0,return_if_false +0AA2=2,%2h% = load_dynamic_library %1s% ; IF and SET +0AA3=1,free_dynamic_library %1h% +0AA4=3,%3d% = get_dynamic_library_procedure %1s% library %2d% ; IF and SET +0AA5=-1,call_function %1d% num_params %2h% pop %3h% +0AA6=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% +0AA7=-1,call_function_return %1d% num_params %2h% pop %3h% +0AA8=-1,call_method_return %1d% struct %2d% num_params %3h% pop %4h% +0AA9=0, is_game_version_original +0AAA=2,%2d% = get_script_struct_named %1s% +0AAB=1, does_file_exist %1s% +0AB0=1, is_key_pressed %1d% +0AB1=-1,cleo_call %1p% +0AB2=-1,cleo_return %1d% +0ABA=1,terminate_all_custom_scripts_with_this_name %1s% +0AC6=2,%2d% = label %1p% pointer +0AC7=2,%2d% = var %1d% pointer +0AC8=2,%2d% = allocate_memory_size %1d% +0AC9=1,free_allocated_memory %1d% +0ACA=1,show_text_box %1s% +0ACB=3,show_styled_text %1s% time %2d% style %3d% +0ACC=2,show_text_lowpriority %1s% time %2d% +0ACD=2,show_text_highpriority %1s% time %2d% +0ACE=-1,show_formatted_text_box %1s% +0ACF=-1,show_formatted_styled_text %1s% time %2d% style %3d% +0AD0=-1,show_formatted_text_lowpriority %1s% time %2s% +0AD1=-1,show_formatted_text_highpriority %1s% time %2s% +0AD3=-1,%1d% = string_format %2s% +0AD4=-1,%3d% = scan_string %1d% format %2s% +0AD5=3,file %1d% seek %2d% from_origin %3d% // IF and SET +0AD6=1, is_end_of_file_reached %1d% +0AD7=3,read_string_from_file %1d% to %2d% size %3d% // IF and SET +0AD8=2,write_string_to_file %1d% from %2d% // IF and SET +0AD9=-1,write_formatted_text %2d% to_file %1d% +0ADA=-1,%3d% = scan_file %1d% format %2d% // IF and SET +0ADB=2,%2d% = vehicle_model %1o% name +0ADC=1, test_cheat %1d% +0ADD=1,spawn_car_with_model %1o% like_a_cheat +0ADE=2,%2d% = text_label_string %1d% +0ADF=2,add_text_label %1d% text %2d% +0AE0=1,remove_text_label %1d% +0AE1=7,%7d% = random_actor_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_deads %6h% // IF and SET +0AE2=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_wrecked %6h% // IF and SET +0AE3=6,%6d% = random_object_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% // IF and SET +0AE9=1,pop_float %1d% +0AEA=2,%2d% = actor_struct %1d% handle +0AEB=2,%2d% = vehicle_struct %1d% handle +0AEC=2,%2d% = object_struct %1d% handle +0AEE=3,%3d% = pow %1d% base %2d% // all floats +0AEF=3,%3d% = log %1d% base %2d% // all floats + +; CLEO 2.0 IniFiles.cleo +0AF0=4,%4d% = read_int_from_ini_file %1s% section %2s% key %3s% +0AF1=4,write_int %1d% to_ini_file %2s% section %3s% key %4s% +0AF2=4,%4d% = read_float_from_ini_file %1s% section %2s% key %3s% +0AF3=4,write_float %1d% to_ini_file %2s% section %3s% key %4s% +0AF4=4,%4d% = read_string_from_ini_file %1s% section %2s% key %3s% +0AF5=4,write_string %1s% to_ini_file %2s% section %3s% key %4s% + +; CLEO 2.0 FileSystemOperations.cleo +0B00=1,delete_file %1d% ;; IF and SET +0B01=2,delete_directory %1d% with_all_files_and_subdirectories %2d% ;; IF and SET +0B02=2,move_file %1d% to %2d% ;; IF and SET +0B03=2,move_directory %1d% to %2d% ;; IF and SET +0B04=2,copy_file %1d% to %2d% ;; IF and SET +0B05=2,copy_directory %1d% to %2d% ;; IF and SET + +; CLEO 2.0 IntOperations.cleo +0B10=3,%3d% = %1d% & %2d% +0B11=3,%3d% = %1d% | %2d% +0B12=3,%3d% = %1d% ^ %2d% +0B13=2,%2d% = ~%1d% +0B14=3,%3d% = %1d% % %2d% +0B15=3,%3d% = %1d% >> %2d% +0B16=3,%3d% = %1d% << %2d% +0B17=2,%1d% &= %2d% +0B18=2,%1d% |= %2d% +0B19=2,%1d% ^= %2d% +0B1A=1,~%1d% +0B1B=2,%1d% %= %2d% +0B1C=2,%1d% >>= %2d% +0B1D=2,%1d% <<= %2d% + +; CLEO 2.0 ClipboardControl.cleo +0B20=2,read_clipboard_data %1d% size %2d% +0B21=2,write_clipboard_data %1d% size %2d% + +; CLEO 2.0 MemoryModule.cleo +0BA2=2,%2h% = memory_load_library %1s% +0BA3=1,memory_free_library %1h% +0BA4=3,%3d% = memory_get_proc_address %1s% library %2d% + +; CLEO 2.0 OpcodesRestorationProject - https://github.com/cleolibrary/opcodes-restoration-project +00a2=1, actor %1d% alive +00ac=1, car %1d% alive +00bd=3,text_mediumpriority %1g% time %2d% %3d% +00c5=0, true +00c6=0, false +00e2=3,get_player %1d% key %2d% state_to %3d% +0113=3,add_ammo_to_player %1d% weapon %2h% ammo %3d% +0116=1, player %1d% alive +0130=1, player %1d% busted +0135=2,change_car %1d% lock %2d% +0136=4,shake_camera %1d% with_point %2d% %3d% %4d% +013b=6, car %1d% dead_in_rectangle %2d% %3d% %4d% %5d% %6d% +013c=8, car %1d% dead_in_cube %2d% %3d% %4d% %5d% %6d% %7d% %8d% +0155=3,set_zone_car_density %1z% %2d% %3d% +0156=3,set_zone_ped_density %1z% %2d% %3d% +015e=1, car %1d% in_air +0163=4,create_marker_above_object %1d% color %2d% display %3d% handle %4d% +;016f=10,draw_shadow %1d% at %2d% %3d% %4d% angle %5d% size %6d% intensity %7d% color %8d% %9d% %10d% +0178=2, player %1d% touching_object %2d% +0179=2, actor %1d% touching_object %2d% +017b=3,set_actor %1d% weapon %2d% ammo_to %3d% +01c6=1,remove_car_from_mission_cleanup_list %1d% +01e6=4,text_1number_mediumpriority %1g% %2d% time %3d% %4d% +01ee=10,activate_crane %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% +01ef=2,deactivate_crane %1d% %2d% +0218=4,text_1number_styled %1g% %2d% time %3d% style %4d% +021d=1,set_free_bomb_shop_to %1d% +021f=1,set_all_taxi_lights %1d% +0220=1, car %1d% has_car_bomb +0228=2, car %1d% bomb_status == %2d% +023a=2, player %1d% touching_object %2d% on_foot +023b=2, actor %1d% touching_object %2d% on_foot +023e=2,flash_car %1d% %2d% +023f=2,flash_actor %1d% %2d% +0240=2,flash_object %1d% %2d% +0242=2,set_car %1d% bomb_status_to %2d% +024b=2,set_phone %1d% message_repeated %2g% +024c=2,set_phone %1d% message %2g% +024d=1, phone %1d% has_displayed_message +0250=6,create_light_at %1d% %2d% %3d% RGB %4d% %5d% %6d% +0251=0,store_weather +0252=0,restore_weather +0255=4,set_critical_mission_restart_at %1d% %2d% %3d% angle %4d% +0295=1, is %1d% taxi +0299=1,activate_garage %1d% +029a=1,switch_taxi_timer %1d% +029c=1, is %1d% boat +02a0=1, actor %1d% stopped +02a1=2,message_wait %1d% %2d% +02a2=5,create_particle %1d% at %2d% %3d% %4d% %5d% +02a4=3,create_marker_above_car %1d% icon %2d% handle %3d% +02a5=3,create_marker_above_actor %1d% icon %2d% handle %3d% +02a6=3,create_marker_above_object %1d% icon %2d% handle %3d% +02b9=1,deactivate_garage %1d% +02bc=1,set_swat_required %1d% +02bd=1,set_fbi_required %1d% +02be=1,set_army_required %1d% +02c3=1,start_pacman_race %1d% +02c5=1,get_number_of_power_pills_eaten %1d% +02c6=0,clear_pacman +02c7=5,start_pacman_scramble %1d% %2d% %3d% radius %4d% count %5d% +02c8=1,get_number_of_power_pills_carried %1d% +02c9=0,clear_number_of_power_pills_carried +02cd=2,gosub_file %1p% %2p% +02d2=2,set_car %1d% comedy_controls %2d% +02d6=6, actor %1d% shooting_in_area %2d% %3d% %4d% %5d% %6d% +02d9=0,clear_number_of_power_pills_eaten +02da=3,add_power_pill %1d% %2d% %3d% +02ee=6, projectile_in_cube %1d% %2d% %3d% %4d% %5d% %6d% +02ef=6,destroy_projectile_in_cube %1d% %2d% %3d% %4d% %5d% %6d% +02f0=3,create_explosive_barrel_at %1d% %2d% %3d% +02f1=3,create_explosive_barrel_at %1d% %2d% %3d% +02fb=10,create_crusher_crane %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% +02fc=5,text_2numbers_lowpriority %1g% %2d% %3d% time %4d% %5d% +02fe=5,text_2numbers_mediumpriority %1g% %2d% %3d% time %4d% %5d% +0300=6,text_3numbers_highpriority %1g% %2d% %3d% %4d% time %5d% %6d% +0301=6,text_3numbers_mediumpriority %1g% %2d% %3d% %4d% time %5d% %6d% +0303=7,text_4numbers_highpriority %1g% %2d% %3d% %4d% %5d% time %6d% %7d% +0304=7,text_4numbers_mediumpriority %1g% %2d% %3d% %4d% %5d% time %6d% %7d% +0305=8,text_5numbers_lowpriority %1g% %2d% %3d% %4d% %5d% %6d% time %7d% %8d% +0306=8,text_5numbers_highpriority %1g% %2d% %3d% %4d% %5d% %6d% time %7d% %8d% +0307=8,text_5numbers_mediumpriority %1g% %2d% %3d% %4d% %5d% %6d% time %7d% %8d% +0309=9,text_6numbers_highpriority %1g% %2d% %3d% %4d% %5d% %6d% %7d% time %8d% %9d% +030a=9,text_6numbers_mediumpriority %1g% %2d% %3d% %4d% %5d% %6d% %7d% time %8d% %9d% +031b=2, car %1d% primary_color %2d% +031c=2, car %1d% secondary_color %2d% +032d=2,car %1d% block %2d% +0338=2,set_car %1d% visible %2h% +0344=1,set_text_draw_linewidth %1d% for_centered_text +0346=4,set_text_draw_background_color %1d% %2d% %3d% %4d% +;0349=1,set_text_draw_font %1d% +0351=0, gore_enabled +0356=7, explosion_type %1d% in_cube %2d% %3d% %4d% %5d% %6d% %7d% +0357=2, explosion_type %1d% in_zone %2z% +0367=9,init_headshot_rampage %1g% weapon %2d% time %3d% targets %4d% %5d% %6d% %7d% %8d% %9d% +0368=10,create_ev_crane %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% +036e=6,text_3numbers_styled %1g% %2d% %3d% %4d% time %5d% style %6d% +036f=7,text_4numbers_styled %1g% %2d% %3d% %4d% %5d% time %6d% style %7d% +0370=8,text_5numbers_styled %1g% %2d% %3d% %4d% %5d% %6d% time %7d% style %8d% +0371=9,text_6numbers_styled %1g% %2d% %3d% %4d% %5d% %6d% %7d% time %8d% style %9d% +0375=4,text_1string_lowpriority %1g% %2g% time %3d% %4d% +0378=3,set_phone %1d% 2messages_repeated %2g% %3g% +0379=3,set_phone %1d% 2messages %2g% %3g% +037a=4,set_phone %1d% 3messages_repeated %2g% %3g% %4g% +037b=4,set_phone %1d% 3messages %2g% %3g% %4g% +037c=5,set_phone %1d% 4messages_repeated %2g% %3g% %4g% %5g% +037d=5,set_phone %1d% 4messages %2g% %3g% %4g% %5g% +037f=0,give_player_detonator +0385=4,text_1string_mediumpriority %1g% %2g% time %3d% %4d% +0386=6,set_phone %1d% 5messages_repeated %2g% %3g% %4g% %5g% %6g% +0387=6,set_phone %1d% 5messages %2g% %3g% %4g% %5g% %6g% +0388=7,set_phone %1d% 6messages_repeated %2g% %3g% %4g% %5g% %6g% %7g% +0389=7,set_phone %1d% 6messages %2g% %3g% %4g% %5g% %6g% %7g% +0393=2,set_actor %1d% anim_speed %2d% +03a0=3, crane %1d% %2d% is_lifting_car %3d% +03a5=3,set_garage %1d% type_to %2d% %3o% +03c2=1, phone %1d% displaying_message +03c6=1, current_island == %1d% +03c9=1, car %1d% visibly_damaged +03db=4,create_marker_above_pickup %1d% color %2d% display %3d% handle %4d% +03dd=3,create_marker_above_pickup %1d% icon %2d% handle %3d% +03e9=1, actor %1d% in_control +03ec=0, ev_crane_collected_all_cars +03fb=2,set_car %1d% stays_in_current_level %2d% +03fc=2,set_actor %1d% stays_in_current_level %2d% +0410=2,override_gang_model %1d% %2d% +0413=2,set_player %1d% get_out_of_jail_free %2d% +0415=2, car %1d% door %2d% closed +041a=3,get_ammo_in_actor %1d% weapon %2d% store_to %3d% +041b=0,increment_rampages_passed +041c=2,make_actor %1d% say %2d% +041f=1,override_hospital %1d% +0420=1,override_police_station %1d% +0421=1,force_rain %1d% +0422=2, garage_contain_car %1d% %2d% +042a=2, ped_threat_exists %1u% %2u% +0432=3,get_actor_in_car %1d% passenger_seat %2d% store_to %3d% +0438=2,set_actor %1d% ignore_level_transitions %2d% +0444=2,set_fire %1d% audio %2d% +0447=1, player %1d% lifting_a_phone +044e=2,set_car %1d% ignore_level_transitions %2d% +044f=2,make_car %1d% a_bit_stronger %2d% +0452=0,enable_player_control_camera +047b=5, sniper_bullet_at %1d% %2d% radius %3d% %4d% sphere %5d% +047c=7, sniper_bullet_at %1d% %2d% %3d% radius %4d% %5d% %6d% sphere %7d% +047d=2,get_number_of_seats_in_model %1o% store_to %2d% +0491=2, actor %1d% has_weapon %2d% +04a0=2,get_object_distance_along_path %1d% store_to %2d% +04a7=1, actor %1d% in_any_boat +04a9=1, actor %1d% in_any_heli +04ab=1, actor %1d% in_any_plane +04c8=1, actor %1d% in_flying_vehicle +04cc=6,create_blip_without_sphere %1d% %2d% %3d% color %4d% display %5d% store_to %6d% +04cd=4,create_blip_without_sphere %1d% %2d% %3d% store_to %4d% +04d4=7,get_nth_closest_char_node %1d% %2d% %3d% %4d% store_to %5d% %6d% %7d% +04dc=0, photograph_has_been_taken +0505=4,get_nearest_tyre_to_point %1d% %2d% %3d% store_to %4d% +050f=1,get_max_wanted_level_to %1d% +0511=2,show_text_box_1number %1s% number %2d% +0513=2,show_permanent_text_box_1number %1s% number %2d% +051f=6,text_draw_3numbers %1d% %2d% %3g% %4d% %5d% %6d% +052a=1,add_money_spent_on_auto_painting %1d% +052d=2,get_player %1d% drunkenness_to %2d% +0530=1,add_loan_shark_visits %1d% +0532=1,add_movie_stunts %1d% +0535=1,add_garbage_pickups %1d% +0537=1,set_top_shooting_range_score %1d% +0538=1,add_shooting_range_rank %1d% +0547=2, actor %1d% touching_car %2d% +0555=2,remove_actor %1d% weapon %2d% +056e=1, car %1d% defined +056f=4,create_asset_blip %1d% %2d% %3d% store_to %4d% +0577=1,set_fade_and_jumpcut_after_rc_explosion %1d% +; supported only in 1.0 and 1.1 US release +059d=1,shuffle_card_decks %1d% +059e=1,fetch_next_card %1d% \ No newline at end of file diff --git a/vc/VCSCM.INI b/vc/VCSCM.INI index 3406aba..dc22a75 100644 --- a/vc/VCSCM.INI +++ b/vc/VCSCM.INI @@ -1,9 +1,9 @@ ; GTA Modding Community Opcode Database ; ; For more info, visit: -; https://www.gtagmodding.com/opcode-database/ +; https://library.sannybuilder.com/ ; https://gtamods.com/wiki/List_of_opcodes -; https://docs.sannybuilder.com/edit-modes/opcodes-list-scm.ini +; https://www.gtagmodding.com/opcode-database/ ; ; d% = anything ; p% = label pointer @@ -11,7 +11,7 @@ ; m% = .ide models only ; g% = gxt reference -DATE=2022-10-01 +DATE=2023-07-01 [OPCODES] 0000=0,NOP @@ -123,18 +123,18 @@ DATE=2022-10-01 0075=2,%1d% /= %2d% // @ /= $ float 0076=2,%1d% /= %2d% // $ /= @ int 0077=2,%1d% /= %2d% // $ /= @ float -0078=2,%1d% += frame_delta_time * %2d% // float -0079=2,%1d% += frame_delta_time * %2d% // float -007a=2,%1d% += frame_delta_time * %2d% // float -007b=2,%1d% = frame_delta_time %2d% // float -007c=2,%1d% += frame_delta_time * %2d% // float -007d=2,%1d% += frame_delta_time * %2d% // float -007e=2,%1d% -= frame_delta_time * %2d% // float -007f=2,%1d% -= frame_delta_time * %2d% // float -0080=2,%1d% -= frame_delta_time * %2d% // float -0081=2,%1d% -= frame_delta_time * %2d% // float -0082=2,%1d% -= frame_delta_time * %2d% // float -0083=2,%1d% -= frame_delta_time * %2d% // float +0078=2,%1d% +=@ %2d% // float +0079=2,%1d% +=@ %2d% // float +007A=2,%1d% +=@ %2d% // float +007B=2,%1d% +=@ %2d% // float +007C=2,%1d% +=@ %2d% // float +007D=2,%1d% +=@ %2d% // float +007E=2,%1d% -=@ %2d% // float +007F=2,%1d% -=@ %2d% // float +0080=2,%1d% -=@ %2d% // float +0081=2,%1d% -=@ %2d% // float +0082=2,%1d% -=@ %2d% // float +0083=2,%1d% -=@ %2d% // float 0084=2,%1d% = %2d% // $ = $ int 0085=2,%1d% = %2d% // @ = @ int 0086=2,%1d% = %2d% // $ = $ float @@ -1008,344 +1008,4 @@ DATE=2022-10-01 05a5=8, is_area_center %1d% %2d% scale %3d% %4d% overlaping_area_center %5d% %6d% scale %7d% %8d% 05a6=4,get_object %1d% rotation_velocity %2d% %3d% %4d% ;; never used in VC 05a7=4,set_object %1d% velocity %2d% %3d% %4d% ;; never used in VC -05a8=2,get_object %1d% speed_to %2d% ;; never used in VC - -; CLEO 1.1 opcodes -05dc=0,terminate_this_custom_script -05dd=1,terminate_all_custom_scripts_with_this_name %1s% -05de=-1,stream_custom_script %1s% -05df=4,write_memory %1d% size %2d% value %3d% virtual_protect %4d% -05e0=4,%4d% = read_memory %1d% size %2d% virtual_protect %3d% -05e1=-1,call_function %1d% num_params %2h% pop %3h% -05e2=-1,call_function_return %1d% num_params %2h% pop %3h% -05e3=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% -05e4=-1,call_method_return %1d% struct %2d% num_params %3h% pop %4h% -05e5=1,%1d% = game_version -05e6=2,%2d% = ped %1h% struct -05e7=2,%2d% = vehicle %1h% struct -05e8=2,%2d% = object %1h% struct -05e9=2,%2h% = ped_struct %1d% handle -05ea=2,%2h% = vehicle_struct %1d% handle -05eb=2,%2h% = object_struct %1d% handle -05ec=1,%1d% = get_this_script_struct -05ed=2,%2d% = get_script_struct_named %1s% -05ee=1, key_pressed %1d% //VK_... -05ef=7,%7d% = random_actor_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_deads %6h% //IF and SET -05f0=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_wrecked %6h% //IF and SET -05f1=6,%6d% = random_object_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% //IF and SET -05f2=1,%1d% = pop_float -05f3=3,%3d% = pow %1d% base %2d% // all floats -05f4=3,%3d% = log %1d% base %2d% //all floats -05f5=-1,cleo_call %1p% params_count %2d% -05f6=-1,cleo_return %1d% -05f7=2, %2d% = label %1p% pointer -05f8=2, %2d% = var %1d% pointer -05f9=3, %3d% = %1d% AND %2d% -05fa=3, %3d% = %1d% OR %2d% -05fb=3, %3d% = %1d% XOR %2d% -05fc=2, %2d% = NOT %1d% -05fd=3, %3d% = %1d% MOD %2d% -05fe=3, %3d% = %1d% SHR %2d% -05ff=3, %3d% = %1d% SHL %2d% - -; CLEO 2.0 - https://github.com/cleolibrary/III.VC.CLEO -016F=10,draw_shadow %1d% at %2d% %3d% %4d% angle %5d% size %6d% intensity %7d% colour %8d% %9d% %10d% -0349=1,text_draw_style = %1d% -0601=2, is_button_pressed_on_pad %1d% with_sensitivity %2d% -0602=2, emulate_button_press_on_pad %1d% with_sensitivity %2d% -0603=0, is_camera_in_widescreen_mode -0604=2, %2d% = weapon %1d% model -0605=2, %2d% = model %1d% weapon id -0606=3, set_memory_offset memory_pointer %1d% memory_to_point %2d% virtual_protect %3d% -0607=1, %1d% = get_current_weather -0608=3, show_text_position %1d% %2d% text %3d% -0609=-1, show_formatted_text_position %1d% %2d% text %3d% -0673=4,play_animation on actor %1d% animgroup %2d% anim %3d% blendfactor %4f% -0A8C=4,write_memory %1d% size %2d% value %3d% virtual_protect %4d% -0A8D=4,%4d% = read_memory %1d% size %2d% virtual_protect %3d% -0A8E=3,%3d% = %1d% + %2d% ; int -0A8F=3,%3d% = %1d% - %2d% ; int -0A90=3,%3d% = %1d% * %2d% ; int -0A91=3,%3d% = %1d% / %2d% ; int -0A92=-1,stream_custom_script %1s% -0A93=0,terminate_this_custom_script -0A96=2,%2d% = ped %1d% struct -0A97=2,%2d% = vehicle %1d% struct -0A98=2,%2d% = object %1d% struct -0A99=1,set_current_directory %1buserdir/rootdir% -0A9A=3,%3d% = open_file %1s% mode %2d% ; IF and SET -0A9B=1,close_file %1d% -0A9C=2,%2d% = file %1d% size -0A9D=3,read_file %1d% size %2d% to %3d% -0A9E=3,write_file %1d% size %2d% from %3d% -0A9F=1,%1d% = get_this_script_struct -0AA0=1,gosub_if_false %1p% -0AA1=0,return_if_false -0AA2=2,%2h% = load_dynamic_library %1s% ; IF and SET -0AA3=1,free_dynamic_library %1h% -0AA4=3,%3d% = get_dynamic_library_procedure %1s% library %2d% ; IF and SET -0AA5=-1,call_function %1d% num_params %2h% pop %3h% -0AA6=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% -0AA7=-1,call_function_return %1d% num_params %2h% pop %3h% -0AA8=-1,call_method_return %1d% struct %2d% num_params %3h% pop %4h% -0AA9=0, is_game_version_original -0AAA=2,%2d% = get_script_struct_named %1s% -0AAB=1, does_file_exist %1s% -0AB0=1, is_key_pressed %1d% -0AB1=-1,cleo_call %1p% -0AB2=-1,cleo_return %1d% -0ABA=1,terminate_all_custom_scripts_with_this_name %1s% -0AC6=2,%2d% = label %1p% pointer -0AC7=2,%2d% = var %1d% pointer -0AC8=2,%2d% = allocate_memory_size %1d% -0AC9=1,free_allocated_memory %1d% -0ACA=1,show_text_box %1s% -0ACB=3,show_styled_text %1s% time %2d% style %3d% -0ACC=2,show_text_lowpriority %1s% time %2d% -0ACD=2,show_text_highpriority %1s% time %2d% -0ACE=-1,show_formatted_text_box %1s% -0ACF=-1,show_formatted_styled_text %1s% time %2d% style %3d% -0AD0=-1,show_formatted_text_lowpriority %1s% time %2s% -0AD1=-1,show_formatted_text_highpriority %1s% time %2s% -0AD3=-1,%1d% = string_format %2s% -0AD4=-1,%3d% = scan_string %1d% format %2s% -0AD5=3,file %1d% seek %2d% from_origin %3d% // IF and SET -0AD6=1, is_end_of_file_reached %1d% -0AD7=3,read_string_from_file %1d% to %2d% size %3d% // IF and SET -0AD8=2,write_string_to_file %1d% from %2d% // IF and SET -0AD9=-1,write_formatted_text %2d% to_file %1d% -0ADA=-1,%3d% = scan_file %1d% format %2d% // IF and SET -0ADB=2,%2d% = vehicle_model %1o% name -0ADC=1, test_cheat %1d% -0ADD=1,spawn_car_with_model %1o% like_a_cheat -0ADE=2,%2d% = text_label_string %1d% -0ADF=2,add_text_label %1d% text %2d% -0AE0=1,remove_text_label %1d% -0AE1=7,%7d% = random_actor_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_deads %6h% // IF and SET -0AE2=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_wrecked %6h% // IF and SET -0AE3=6,%6d% = random_object_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% // IF and SET -0AE9=1,pop_float %1d% -0AEA=2,%2d% = actor_struct %1d% handle -0AEB=2,%2d% = vehicle_struct %1d% handle -0AEC=2,%2d% = object_struct %1d% handle -0AEE=3,%3d% = pow %1d% base %2d% // all floats -0AEF=3,%3d% = log %1d% base %2d% // all floats - -; CLEO 2.0 IniFiles.cleo -0AF0=4,%4d% = read_int_from_ini_file %1s% section %2s% key %3s% -0AF1=4,write_int %1d% to_ini_file %2s% section %3s% key %4s% -0AF2=4,%4d% = read_float_from_ini_file %1s% section %2s% key %3s% -0AF3=4,write_float %1d% to_ini_file %2s% section %3s% key %4s% -0AF4=4,%4d% = read_string_from_ini_file %1s% section %2s% key %3s% -0AF5=4,write_string %1s% to_ini_file %2s% section %3s% key %4s% - -; CLEO 2.0 FileSystemOperations.cleo -0B00=1,delete_file %1d% ;; IF and SET -0B01=2,delete_directory %1d% with_all_files_and_subdirectories %2d% ;; IF and SET -0B02=2,move_file %1d% to %2d% ;; IF and SET -0B03=2,move_directory %1d% to %2d% ;; IF and SET -0B04=2,copy_file %1d% to %2d% ;; IF and SET -0B05=2,copy_directory %1d% to %2d% ;; IF and SET - -; CLEO 2.0 IntOperations.cleo -0B10=3,%3d% = %1d% & %2d% -0B11=3,%3d% = %1d% | %2d% -0B12=3,%3d% = %1d% ^ %2d% -0B13=2,%2d% = ~%1d% -0B14=3,%3d% = %1d% % %2d% -0B15=3,%3d% = %1d% >> %2d% -0B16=3,%3d% = %1d% << %2d% -0B17=2,%1d% &= %2d% -0B18=2,%1d% |= %2d% -0B19=2,%1d% ^= %2d% -0B1A=1,~%1d% -0B1B=2,%1d% %= %2d% -0B1C=2,%1d% >>= %2d% -0B1D=2,%1d% <<= %2d% - -; CLEO 2.0 ClipboardControl.cleo -0B20=2,read_clipboard_data %1d% size %2d% -0B21=2,write_clipboard_data %1d% size %2d% - -; CLEO 2.0 MemoryModule.cleo -0BA2=2,%2h% = memory_load_library %1s% -0BA3=1,memory_free_library %1h% -0BA4=3,%3d% = memory_get_proc_address %1s% library %2d% - -; CLEO 2.0 OpcodesRestorationProject - https://github.com/cleolibrary/opcodes-restoration-project -00a2=1, actor %1d% alive -00ac=1, car %1d% alive -00bd=3,text_mediumpriority %1g% time %2d% %3d% -00c5=0, true -00c6=0, false -00e2=3,get_player %1d% key %2d% state_to %3d% -0113=3,add_ammo_to_player %1d% weapon %2h% ammo %3d% -0116=1, player %1d% alive -0130=1, player %1d% busted -0135=2,change_car %1d% lock %2d% -0136=4,shake_camera %1d% with_point %2d% %3d% %4d% -013b=6, car %1d% dead_in_rectangle %2d% %3d% %4d% %5d% %6d% -013c=8, car %1d% dead_in_cube %2d% %3d% %4d% %5d% %6d% %7d% %8d% -0155=3,set_zone_car_density %1z% %2d% %3d% -0156=3,set_zone_ped_density %1z% %2d% %3d% -015e=1, car %1d% in_air -0163=4,create_marker_above_object %1d% color %2d% display %3d% handle %4d% -;016f=10,draw_shadow %1d% at %2d% %3d% %4d% angle %5d% size %6d% intensity %7d% color %8d% %9d% %10d% -0178=2, player %1d% touching_object %2d% -0179=2, actor %1d% touching_object %2d% -017b=3,set_actor %1d% weapon %2d% ammo_to %3d% -01c6=1,remove_car_from_mission_cleanup_list %1d% -01e6=4,text_1number_mediumpriority %1g% %2d% time %3d% %4d% -01ee=10,activate_crane %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% -01ef=2,deactivate_crane %1d% %2d% -0218=4,text_1number_styled %1g% %2d% time %3d% style %4d% -021d=1,set_free_bomb_shop_to %1d% -021f=1,set_all_taxi_lights %1d% -0220=1, car %1d% has_car_bomb -0228=2, car %1d% bomb_status == %2d% -023a=2, player %1d% touching_object %2d% on_foot -023b=2, actor %1d% touching_object %2d% on_foot -023e=2,flash_car %1d% %2d% -023f=2,flash_actor %1d% %2d% -0240=2,flash_object %1d% %2d% -0242=2,set_car %1d% bomb_status_to %2d% -024b=2,set_phone %1d% message_repeated %2g% -024c=2,set_phone %1d% message %2g% -024d=1, phone %1d% has_displayed_message -0250=6,create_light_at %1d% %2d% %3d% RGB %4d% %5d% %6d% -0251=0,store_weather -0252=0,restore_weather -0255=4,set_critical_mission_restart_at %1d% %2d% %3d% angle %4d% -0295=1, is %1d% taxi -0299=1,activate_garage %1d% -029a=1,switch_taxi_timer %1d% -029c=1, is %1d% boat -02a0=1, actor %1d% stopped -02a1=2,message_wait %1d% %2d% -02a2=5,create_particle %1d% at %2d% %3d% %4d% %5d% -02a4=3,create_marker_above_car %1d% icon %2d% handle %3d% -02a5=3,create_marker_above_actor %1d% icon %2d% handle %3d% -02a6=3,create_marker_above_object %1d% icon %2d% handle %3d% -02b9=1,deactivate_garage %1d% -02bc=1,set_swat_required %1d% -02bd=1,set_fbi_required %1d% -02be=1,set_army_required %1d% -02c3=1,start_pacman_race %1d% -02c5=1,get_number_of_power_pills_eaten %1d% -02c6=0,clear_pacman -02c7=5,start_pacman_scramble %1d% %2d% %3d% radius %4d% count %5d% -02c8=1,get_number_of_power_pills_carried %1d% -02c9=0,clear_number_of_power_pills_carried -02cd=2,gosub_file %1p% %2p% -02d2=2,set_car %1d% comedy_controls %2d% -02d6=6, actor %1d% shooting_in_area %2d% %3d% %4d% %5d% %6d% -02d9=0,clear_number_of_power_pills_eaten -02da=3,add_power_pill %1d% %2d% %3d% -02ee=6, projectile_in_cube %1d% %2d% %3d% %4d% %5d% %6d% -02ef=6,destroy_projectile_in_cube %1d% %2d% %3d% %4d% %5d% %6d% -02f0=3,create_explosive_barrel_at %1d% %2d% %3d% -02f1=3,create_explosive_barrel_at %1d% %2d% %3d% -02fb=10,create_crusher_crane %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% -02fc=5,text_2numbers_lowpriority %1g% %2d% %3d% time %4d% %5d% -02fe=5,text_2numbers_mediumpriority %1g% %2d% %3d% time %4d% %5d% -0300=6,text_3numbers_highpriority %1g% %2d% %3d% %4d% time %5d% %6d% -0301=6,text_3numbers_mediumpriority %1g% %2d% %3d% %4d% time %5d% %6d% -0303=7,text_4numbers_highpriority %1g% %2d% %3d% %4d% %5d% time %6d% %7d% -0304=7,text_4numbers_mediumpriority %1g% %2d% %3d% %4d% %5d% time %6d% %7d% -0305=8,text_5numbers_lowpriority %1g% %2d% %3d% %4d% %5d% %6d% time %7d% %8d% -0306=8,text_5numbers_highpriority %1g% %2d% %3d% %4d% %5d% %6d% time %7d% %8d% -0307=8,text_5numbers_mediumpriority %1g% %2d% %3d% %4d% %5d% %6d% time %7d% %8d% -0309=9,text_6numbers_highpriority %1g% %2d% %3d% %4d% %5d% %6d% %7d% time %8d% %9d% -030a=9,text_6numbers_mediumpriority %1g% %2d% %3d% %4d% %5d% %6d% %7d% time %8d% %9d% -031b=2, car %1d% primary_color %2d% -031c=2, car %1d% secondary_color %2d% -032d=2,car %1d% block %2d% -0338=2,set_car %1d% visible %2h% -0344=1,set_text_draw_linewidth %1d% for_centered_text -0346=4,set_text_draw_background_color %1d% %2d% %3d% %4d% -;0349=1,set_text_draw_font %1d% -0351=0, gore_enabled -0356=7, explosion_type %1d% in_cube %2d% %3d% %4d% %5d% %6d% %7d% -0357=2, explosion_type %1d% in_zone %2z% -0367=9,init_headshot_rampage %1g% weapon %2d% time %3d% targets %4d% %5d% %6d% %7d% %8d% %9d% -0368=10,create_ev_crane %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% -036e=6,text_3numbers_styled %1g% %2d% %3d% %4d% time %5d% style %6d% -036f=7,text_4numbers_styled %1g% %2d% %3d% %4d% %5d% time %6d% style %7d% -0370=8,text_5numbers_styled %1g% %2d% %3d% %4d% %5d% %6d% time %7d% style %8d% -0371=9,text_6numbers_styled %1g% %2d% %3d% %4d% %5d% %6d% %7d% time %8d% style %9d% -0375=4,text_1string_lowpriority %1g% %2g% time %3d% %4d% -0378=3,set_phone %1d% 2messages_repeated %2g% %3g% -0379=3,set_phone %1d% 2messages %2g% %3g% -037a=4,set_phone %1d% 3messages_repeated %2g% %3g% %4g% -037b=4,set_phone %1d% 3messages %2g% %3g% %4g% -037c=5,set_phone %1d% 4messages_repeated %2g% %3g% %4g% %5g% -037d=5,set_phone %1d% 4messages %2g% %3g% %4g% %5g% -037f=0,give_player_detonator -0385=4,text_1string_mediumpriority %1g% %2g% time %3d% %4d% -0386=6,set_phone %1d% 5messages_repeated %2g% %3g% %4g% %5g% %6g% -0387=6,set_phone %1d% 5messages %2g% %3g% %4g% %5g% %6g% -0388=7,set_phone %1d% 6messages_repeated %2g% %3g% %4g% %5g% %6g% %7g% -0389=7,set_phone %1d% 6messages %2g% %3g% %4g% %5g% %6g% %7g% -0393=2,set_actor %1d% anim_speed %2d% -03a0=3, crane %1d% %2d% is_lifting_car %3d% -03a5=3,set_garage %1d% type_to %2d% %3o% -03c2=1, phone %1d% displaying_message -03c6=1, current_island == %1d% -03c9=1, car %1d% visibly_damaged -03db=4,create_marker_above_pickup %1d% color %2d% display %3d% handle %4d% -03dd=3,create_marker_above_pickup %1d% icon %2d% handle %3d% -03e9=1, actor %1d% in_control -03ec=0, ev_crane_collected_all_cars -03fb=2,set_car %1d% stays_in_current_level %2d% -03fc=2,set_actor %1d% stays_in_current_level %2d% -0410=2,override_gang_model %1d% %2d% -0413=2,set_player %1d% get_out_of_jail_free %2d% -0415=2, car %1d% door %2d% closed -041a=3,get_ammo_in_actor %1d% weapon %2d% store_to %3d% -041b=0,increment_rampages_passed -041c=2,make_actor %1d% say %2d% -041f=1,override_hospital %1d% -0420=1,override_police_station %1d% -0421=1,force_rain %1d% -0422=2, garage_contain_car %1d% %2d% -042a=2, ped_threat_exists %1u% %2u% -0432=3,get_actor_in_car %1d% passenger_seat %2d% store_to %3d% -0438=2,set_actor %1d% ignore_level_transitions %2d% -0444=2,set_fire %1d% audio %2d% -0447=1, player %1d% lifting_a_phone -044e=2,set_car %1d% ignore_level_transitions %2d% -044f=2,make_car %1d% a_bit_stronger %2d% -0452=0,enable_player_control_camera -047b=5, sniper_bullet_at %1d% %2d% radius %3d% %4d% sphere %5d% -047c=7, sniper_bullet_at %1d% %2d% %3d% radius %4d% %5d% %6d% sphere %7d% -047d=2,get_number_of_seats_in_model %1o% store_to %2d% -0491=2, actor %1d% has_weapon %2d% -04a0=2,get_object_distance_along_path %1d% store_to %2d% -04a7=1, actor %1d% in_any_boat -04a9=1, actor %1d% in_any_heli -04ab=1, actor %1d% in_any_plane -04c8=1, actor %1d% in_flying_vehicle -04cc=6,create_blip_without_sphere %1d% %2d% %3d% color %4d% display %5d% store_to %6d% -04cd=4,create_blip_without_sphere %1d% %2d% %3d% store_to %4d% -04d4=7,get_nth_closest_char_node %1d% %2d% %3d% %4d% store_to %5d% %6d% %7d% -04dc=0, photograph_has_been_taken -0505=4,get_nearest_tyre_to_point %1d% %2d% %3d% store_to %4d% -050f=1,get_max_wanted_level_to %1d% -0511=2,show_text_box_1number %1s% number %2d% -0513=2,show_permanent_text_box_1number %1s% number %2d% -051f=6,text_draw_3numbers %1d% %2d% %3g% %4d% %5d% %6d% -052a=1,add_money_spent_on_auto_painting %1d% -052d=2,get_player %1d% drunkenness_to %2d% -0530=1,add_loan_shark_visits %1d% -0532=1,add_movie_stunts %1d% -0535=1,add_garbage_pickups %1d% -0537=1,set_top_shooting_range_score %1d% -0538=1,add_shooting_range_rank %1d% -0547=2, actor %1d% touching_car %2d% -0555=2,remove_actor %1d% weapon %2d% -056e=1, car %1d% defined -056f=4,create_asset_blip %1d% %2d% %3d% store_to %4d% -0577=1,set_fade_and_jumpcut_after_rc_explosion %1d% -; supported only in 1.0 and 1.1 US release -059d=1,shuffle_card_decks %1d% -059e=1,fetch_next_card %1d% \ No newline at end of file +05a8=2,get_object %1d% speed_to %2d% ;; never used in VC \ No newline at end of file diff --git a/vc/mode.xml b/vc/mode.xml index cf9a001..de3cfd2 100644 --- a/vc/mode.xml +++ b/vc/mode.xml @@ -1,6 +1,8 @@ @sb:\data\vc\ @sb:\data\vc\VCSCM.ini + @sb:\data\vc\VCSCM.CLEO.ini + @sb:\data\vc\VCSCM*.ini @sb:\data\vc\classes.db @sb:\data\vc\CustomVariables.ini @sb:\data\vc\keywords.txt diff --git a/vc/opcodes.txt b/vc/opcodes.txt index face6ba..c6815c1 100644 --- a/vc/opcodes.txt +++ b/vc/opcodes.txt @@ -61,8 +61,18 @@ 0070: $3910 /= $3969 // $ /= $ int 0071: $6985 /= $4864 // $ /= $ float 0077: 5@ /= $4864 // $ /= @ float -0078: $2647 += frame_delta_time * 0.017 // float -007E: $2810 -= frame_delta_time * 0.01 // float +0078: $var +=@ 6.0 // (float) +0079: 0@ +=@ -1.325 // (float) +007A: $var +=@ $var2 // (float) +007B: 0@ +=@ 1@ // (float) +007C: 0@ +=@ $var // (float) +007D: $var +=@ 0@ // (float) +007E: $var -=@ 6.0 // (float) +007F: 0@ -=@ 1.0 // (float) +0080: $var -=@ $var2 // (float) +0081: 0@ -=@ 1@ // (float) +0082: 0@ -=@ $var // (float) +0083: $var -=@ 0@ // (float) 0084: $723 = $724 // $ = $ int 0085: 2@ = 3@ // @ = @ int 0086: $763 = $772 // $ = $ float diff --git a/vc_mobile/VCSCM.CLEO.ini b/vc_mobile/VCSCM.CLEO.ini new file mode 100644 index 0000000..a96ce30 --- /dev/null +++ b/vc_mobile/VCSCM.CLEO.ini @@ -0,0 +1,17 @@ +[CLEO] +; Android CLEO opcodes +0DD0=2,%1d% = get_label_addr %2p% ; android +0DD1=2,%1d% = get_func_addr_by_cstr_name %2d% ; android +0DD2=1,context_call_func %1d% ; android +0DD3=2,context_set_reg %1d% value %2d% ; android +0DD4=2,%1d% = context_get_reg %2d% ; android +0DD6=1,%1d% = get_game_version ; android +0DD7=1,%1d% = get_image_base ; android +0DD8=4,%1d% = read_mem_addr %2d% size %3d% add_ib %4d% ; android +0DD9=5,write_mem_addr %1d% value %2d% size %3d% add_ib %4d% protect %5d% ; android +0DDC=2,set_mutex_var %1d% to %2d% ; android +0DDD=2,%1d% = get_mutex_var %2d% ; android +0DE0=3,%1d% = get_touch_point_state %2d% mintime %3d% ; android +0DE1=5,%1d% = get_touch_slide_state from %2d% to %3d% mintime %4d% maxtime %5d% ; android +0DE2=1,%1d% = get_menu_button_state ; read opcode info before using ; android +0DE3=2,%1d% = get_menu_button_pressed mintime %2d% ; read opcode info before using ; android \ No newline at end of file diff --git a/vc_mobile/VCSCM.INI b/vc_mobile/VCSCM.INI index 375cb57..0c198b0 100644 --- a/vc_mobile/VCSCM.INI +++ b/vc_mobile/VCSCM.INI @@ -123,18 +123,18 @@ DATE=2021-01-30 0075=2,%1d% /= %2d% // @ /= $ float 0076=2,%1d% /= %2d% // $ /= @ int 0077=2,%1d% /= %2d% // $ /= @ float -0078=2,%1d% += frame_delta_time * %2d% // float -0079=2,%1d% += frame_delta_time * %2d% // float -007a=2,%1d% += frame_delta_time * %2d% // float -007b=2,%1d% = frame_delta_time %2d% // float -007c=2,%1d% += frame_delta_time * %2d% // float -007d=2,%1d% += frame_delta_time * %2d% // float -007e=2,%1d% -= frame_delta_time * %2d% // float -007f=2,%1d% -= frame_delta_time * %2d% // float -0080=2,%1d% -= frame_delta_time * %2d% // float -0081=2,%1d% -= frame_delta_time * %2d% // float -0082=2,%1d% -= frame_delta_time * %2d% // float -0083=2,%1d% -= frame_delta_time * %2d% // float +0078=2,%1d% +=@ %2d% // float +0079=2,%1d% +=@ %2d% // float +007A=2,%1d% +=@ %2d% // float +007B=2,%1d% +=@ %2d% // float +007C=2,%1d% +=@ %2d% // float +007D=2,%1d% +=@ %2d% // float +007E=2,%1d% -=@ %2d% // float +007F=2,%1d% -=@ %2d% // float +0080=2,%1d% -=@ %2d% // float +0081=2,%1d% -=@ %2d% // float +0082=2,%1d% -=@ %2d% // float +0083=2,%1d% -=@ %2d% // float 0084=2,%1d% = %2d% // $ = $ int 0085=2,%1d% = %2d% // @ = @ int 0086=2,%1d% = %2d% // $ = $ float diff --git a/vc_mobile/VCSCM.Mobile.ini b/vc_mobile/VCSCM.Mobile.ini new file mode 100644 index 0000000..df5d103 --- /dev/null +++ b/vc_mobile/VCSCM.Mobile.ini @@ -0,0 +1,6 @@ +[Mobile] +059c=2,NOP %1d% %2d% +05a9=1,get_mission_skip_level %1d% ; vcmobile opcodes +05aa=1,set_is_in_ammunation_button_icon %1d% ; vcmobile opcodes +05ab=1,set_savegame_for_pause %1d% ; vcmobile opcodes +05ac=1,get_mission_replay %1d% ; vcmobile opcodes \ No newline at end of file diff --git a/vc_mobile/mode.xml b/vc_mobile/mode.xml index 08236ec..ad0c2b0 100644 --- a/vc_mobile/mode.xml +++ b/vc_mobile/mode.xml @@ -1,6 +1,10 @@ @sb:\data\vc_mobile\ - @sb:\data\vc_mobile\VCSCM.ini + + @sb:\data\vc\VCSCM.ini + @sb:\data\vc_mobile\VCSCM.Mobile.ini + @sb:\data\vc_mobile\VCSCM.CLEO.ini + @sb:\data\vc_mobile\VCSCM*.ini @sb:\data\vc_mobile\opcodes.txt @sb:\data\vc_mobile\CustomVariables.ini @sb:\data\vc_mobile\keywords.txt diff --git a/vc_mobile/opcodes.txt b/vc_mobile/opcodes.txt index 54b7703..5f251aa 100644 --- a/vc_mobile/opcodes.txt +++ b/vc_mobile/opcodes.txt @@ -62,8 +62,18 @@ 0070: $4311 /= $4370 // $ /= $ int 0071: $7417 /= $5292 // $ /= $ float 0077: 5@ /= $5292 // $ /= @ float -0078: $3051 += frame_delta_time * 0.017 // float -007E: $3214 -= frame_delta_time * 0.01 // float +0078: $var +=@ 6.0 // (float) +0079: 0@ +=@ -1.325 // (float) +007A: $var +=@ $var2 // (float) +007B: 0@ +=@ 1@ // (float) +007C: 0@ +=@ $var // (float) +007D: $var +=@ 0@ // (float) +007E: $var -=@ 6.0 // (float) +007F: 0@ -=@ 1.0 // (float) +0080: $var -=@ $var2 // (float) +0081: 0@ -=@ 1@ // (float) +0082: 0@ -=@ $var // (float) +0083: $var -=@ 0@ // (float) 0084: $1027 = $1028 // $ = $ int 0085: 2@ = 3@ // @ = @ int 0086: $1067 = $1076 // $ = $ float diff --git a/vcs_ps2/opcodes.txt b/vcs_ps2/opcodes.txt index 4a41be2..08e9cb6 100644 --- a/vcs_ps2/opcodes.txt +++ b/vcs_ps2/opcodes.txt @@ -46,10 +46,10 @@ 002E: 6@ *= 3@ // (float vars) 002F: 4@ /= 2@ // (int vars) 0030: 6@ /= 3@ // (float vars) -0031: $3409 += frame_delta_time * 10.0 -0032: 7@ += frame_delta_time * 10@ -0033: $3409 -= frame_delta_time * 10.0 -0034: 2@ -= frame_delta_time * 3@ +0031: $3409 +=@ 10.0 +0032: 7@ +=@ 10@ +0033: $3409 -=@ 10.0 +0034: 2@ -=@ 3@ 0035: $_262 = 0@ // (int vars) 0036: $678 = $_174 // (float vars) 0037: $1450(0@,14) = 1@ // (string vars) diff --git a/vcs_psp/VCSSCM.INI b/vcs_psp/VCSSCM.INI index 63c6686..37b5985 100644 --- a/vcs_psp/VCSSCM.INI +++ b/vcs_psp/VCSSCM.INI @@ -64,10 +64,10 @@ DATE=2023-05-14 002E=2,%1d% *= %2d% ; (float vars) 002F=2,%1d% /= %2d% ; (int vars) 0030=2,%1d% /= %2d% ; (float vars) -0031=2,%1d% += frame_delta_time * %2d% -0032=2,%1d% += frame_delta_time * %2d% -0033=2,%1d% -= frame_delta_time * %2d% -0034=2,%1d% -= frame_delta_time * %2d% +0031=2,%1d% +=@ %2d% ; float +0032=2,%1d% +=@ %2d% ; float +0033=2,%1d% -=@ %2d% ; float +0034=2,%1d% -=@ %2d% ; float 0035=2,%1d% = %2d% ; (int vars) 0036=2,%1d% = %2d% ; (float vars) 0037=2,%1d% = %2d% ; (string vars) diff --git a/vcs_psp/opcodes.txt b/vcs_psp/opcodes.txt index 6559028..531f19f 100644 --- a/vcs_psp/opcodes.txt +++ b/vcs_psp/opcodes.txt @@ -46,10 +46,10 @@ 002E: 6@ *= 3@ // (float vars) 002F: 4@ /= 2@ // (int vars) 0030: 6@ /= 3@ // (float vars) -0031: $3953 += frame_delta_time * 10.0 -0032: 7@ += frame_delta_time * 10@ -0033: $3953 -= frame_delta_time * 10.0 -0034: 2@ -= frame_delta_time * 3@ +0031: $3953 +=@ 10.0 +0032: 7@ +=@ 10@ +0033: $3953 -=@ 10.0 +0034: 2@ -=@ 3@ 0035: $_372 = 0@ // (int vars) 0036: $783 = $_284 // (float vars) 0037: $2036(0@,14) = 1@ // (string vars) From e9cc3b7256649dd18875726bb8afe5f6afc2f22f Mon Sep 17 00:00:00 2001 From: Seemann Date: Wed, 2 Aug 2023 23:29:30 -0400 Subject: [PATCH 5/6] add lcs and vcs json --- lcs/lcs.json | 505 +++++++++++++++++++++++++++++++++++++++++++++++ lcs/mode.xml | 1 + vcs_psp/mode.xml | 1 + vcs_psp/vcs.json | 235 ++++++++++++++++++++++ 4 files changed, 742 insertions(+) create mode 100644 lcs/lcs.json create mode 100644 vcs_psp/vcs.json diff --git a/lcs/lcs.json b/lcs/lcs.json new file mode 100644 index 0000000..71bcd3b --- /dev/null +++ b/lcs/lcs.json @@ -0,0 +1,505 @@ +{ + "meta": { + "version": "0.12", + "last_update": 1684614094926, + "url": "https://library.sannybuilder.com/#/lcs" + }, + "extensions": [ + { + "name": "default", + "commands": [ + { + "id": "0000", + "name": "NOP", + "num_params": 0, + "short_desc": "Has no effect and is commonly used to pad CLEO scripts with extra space to avoid the jump-at-zero-offset bug", + "attrs": { + "is_keyword": true + } + }, + { + "input": [ + { + "name": "time", + "type": "int" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "0001", + "name": "WAIT", + "num_params": 1, + "short_desc": "Pauses the script execution for specified amount of time in milliseconds" + }, + { + "input": [ + { + "name": "", + "type": "label" + } + ], + "attrs": { + "is_branch": true, + "is_keyword": true, + "is_segment": true + }, + "id": "0002", + "name": "GOTO", + "num_params": 1, + "short_desc": "Transfers the script execution to the label unconditionally" + }, + { + "input": [ + { + "name": "intensity", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0003", + "member": "Shake", + "name": "SHAKE_CAM", + "num_params": 1, + "short_desc": "Shakes the camera with the given intensity" + }, + { + "id": "0004", + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "name": "SET_VAR_INT", + "num_params": 2, + "short_desc": "Sets the integer value of the VAR" + }, + { + "id": "0005", + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "name": "SET_VAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float value of the VAR" + }, + { + "id": "0006", + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "name": "SET_LVAR_INT", + "num_params": 2, + "short_desc": "Sets the integer value of the LVAR" + }, + { + "id": "0007", + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "name": "SET_LVAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float value of the LVAR" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0078", + "name": "ADD_TIMED_VAL_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified value and adds the result to the specified variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0079", + "name": "ADD_TIMED_VAL_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified value and adds the result to the specified variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "007A", + "name": "ADD_TIMED_FLOAT_VAR_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the specified global variable and adds the result to the specified global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "007B", + "name": "ADD_TIMED_FLOAT_LVAR_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the specified local variable and adds the result to the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "007C", + "name": "ADD_TIMED_FLOAT_LVAR_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the specified local variable and adds the result to the specified global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "007D", + "name": "ADD_TIMED_FLOAT_VAR_TO_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the specified global variable and adds the result to the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "007E", + "name": "SUB_TIMED_VAL_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified float value and subtracts the result from the specified global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "007F", + "name": "SUB_TIMED_VAL_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified value and subtracts the result from the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0080", + "name": "SUB_TIMED_FLOAT_VAR_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the value of the specified global variable and subtracts the result from the specified global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0081", + "name": "SUB_TIMED_FLOAT_LVAR_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the value of the specified local variable and adds the result to the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0082", + "name": "SUB_TIMED_FLOAT_LVAR_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the frame delta time (the time in milliseconds that has passed since the last frame) by float stored in the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "0083", + "name": "SUB_TIMED_FLOAT_VAR_FROM_FLOAT_LVAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the value of the specified global variable and subtracts the result from the specified local variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "008C", + "name": "CSET_VAR_INT_TO_VAR_FLOAT", + "num_params": 2, + "short_desc": "Converts the float in the second global variable to an integer (via flooring) and stores the integer into the first global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "008D", + "name": "CSET_VAR_FLOAT_TO_VAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the second global variable to a float and stores the result in the first global variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_global" + } + ], + "id": "008E", + "name": "CSET_LVAR_INT_TO_VAR_FLOAT", + "num_params": 2, + "short_desc": "Converts the float value of the global variable to an integer (via flooring) and stores the result into a local variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_global" + } + ], + "id": "008F", + "name": "CSET_LVAR_FLOAT_TO_VAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the global variable to a float and then stores the result in the local variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_global" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0090", + "name": "CSET_VAR_INT_TO_LVAR_FLOAT", + "num_params": 2, + "short_desc": "Converts the float value of the local variable to an integer (via flooring) and stores the result to the global variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_global" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0091", + "name": "CSET_VAR_FLOAT_TO_LVAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the local variable to a float and stores the result in the global variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_local" + }, + { + "name": "", + "type": "float", + "source": "var_local" + } + ], + "id": "0092", + "name": "CSET_LVAR_INT_TO_LVAR_FLOAT", + "num_params": 2, + "short_desc": "Converts a float value to an integer (via truncating)" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_local" + }, + { + "name": "", + "type": "int", + "source": "var_local" + } + ], + "id": "0093", + "name": "CSET_LVAR_FLOAT_TO_LVAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the second local variable to a float and stores the result to the first local variable" + } + ] + } + ], + "classes": [] +} diff --git a/lcs/mode.xml b/lcs/mode.xml index 5172edf..d3e8ebc 100644 --- a/lcs/mode.xml +++ b/lcs/mode.xml @@ -10,4 +10,5 @@ @sb:\data\lcs\english.gxt @sb:\data\lcs\default.ide @sb:\data\lcs\keywords.txt + @sb:\data\lcs\lcs.json \ No newline at end of file diff --git a/vcs_psp/mode.xml b/vcs_psp/mode.xml index 17971c8..c923df4 100644 --- a/vcs_psp/mode.xml +++ b/vcs_psp/mode.xml @@ -8,6 +8,7 @@ @sb:\data\vcs_psp\templates.custom.txt @sb:\data\vcs_psp\default.ide @sb:\data\vcs_psp\keywords.txt + @sb:\data\vcs_psp\vcs.json @sb:\data\vcs_psp\CustomVariables.ini @sb:\data\vcs_psp\CustomLabels.ini diff --git a/vcs_psp/vcs.json b/vcs_psp/vcs.json new file mode 100644 index 0000000..81e6b45 --- /dev/null +++ b/vcs_psp/vcs.json @@ -0,0 +1,235 @@ +{ + "meta": { + "last_update": 1689470518303, + "version": "0.2", + "url": "https://library.sannybuilder.com/#/vcs" + }, + "extensions": [ + { + "name": "default", + "commands": [ + { + "id": "0000", + "name": "NOP", + "num_params": 0, + "short_desc": "Has no effect and is commonly used to pad CLEO scripts with extra space to avoid the jump-at-zero-offset bug", + "attrs": { + "is_keyword": true + } + }, + { + "input": [ + { + "name": "time", + "type": "int" + } + ], + "attrs": { + "is_keyword": true + }, + "id": "0001", + "name": "WAIT", + "num_params": 1, + "short_desc": "Pauses the script execution for specified amount of time in milliseconds" + }, + { + "input": [ + { + "name": "", + "type": "label" + } + ], + "attrs": { + "is_branch": true, + "is_keyword": true, + "is_segment": true + }, + "id": "0002", + "name": "GOTO", + "num_params": 1, + "short_desc": "Transfers the script execution to the label unconditionally" + }, + { + "input": [ + { + "name": "intensity", + "type": "int" + } + ], + "attrs": { + "is_static": true + }, + "class": "Camera", + "id": "0003", + "member": "Shake", + "name": "SHAKE_CAM", + "num_params": 1, + "short_desc": "Shakes the camera with the given intensity" + }, + { + "id": "0004", + "input": [ + { + "name": "", + "type": "int", + "source": "var_any" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "name": "SET_VAR_INT", + "num_params": 2, + "short_desc": "Sets the integer value of the VAR" + }, + { + "id": "0005", + "input": [ + { + "name": "", + "type": "float", + "source": "var_any" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "name": "SET_VAR_FLOAT", + "num_params": 2, + "short_desc": "Sets the float value of the VAR" + }, + { + "id": "0006", + "input": [ + { + "name": "", + "type": "int", + "source": "var_any" + }, + { + "name": "", + "type": "int", + "source": "literal" + } + ], + "name": "SET_VAR_TEXT_LABEL", + "num_params": 2, + "short_desc": "Stores a short string into a variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_any" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0031", + "name": "ADD_TIMED_VAL_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified value and adds the result to the specified variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_any" + }, + { + "name": "", + "type": "float", + "source": "var_any" + } + ], + "id": "0032", + "name": "ADD_TIMED_FLOAT_VAR_TO_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the float value of the variable and adds the result to another variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_any" + }, + { + "name": "", + "type": "float", + "source": "literal" + } + ], + "id": "0033", + "name": "SUB_TIMED_VAL_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the specified float value and subtracts the result from the specified variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_any" + }, + { + "name": "", + "type": "float", + "source": "var_any" + } + ], + "id": "0034", + "name": "SUB_TIMED_FLOAT_VAR_FROM_FLOAT_VAR", + "num_params": 2, + "short_desc": "Multiplies the delta time since the last frame by the value of the specified variable and subtracts the result from the specified variable" + }, + { + "input": [ + { + "name": "", + "type": "int", + "source": "var_any" + }, + { + "name": "", + "type": "float", + "source": "var_any" + } + ], + "id": "0038", + "name": "CSET_VAR_INT_TO_VAR_FLOAT", + "num_params": 2, + "short_desc": "Converts the float in the second variable to an integer (via flooring) and stores the result into the first variable" + }, + { + "input": [ + { + "name": "", + "type": "float", + "source": "var_any" + }, + { + "name": "", + "type": "int", + "source": "var_any" + } + ], + "id": "0039", + "name": "CSET_VAR_FLOAT_TO_VAR_INT", + "num_params": 2, + "short_desc": "Converts the integer value of the second variable to a float and stores the result in the first variable" + } + ] + } + ], + "classes": [] +} \ No newline at end of file From 060989211ae13e7e1c40f129d93fe03dea24f9e3 Mon Sep 17 00:00:00 2001 From: Seemann Date: Sat, 9 Sep 2023 18:17:23 -0400 Subject: [PATCH 6/6] add INCLUDE_ONCE directive --- compiler.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler.ini b/compiler.ini index 370a289..693dd12 100644 --- a/compiler.ini +++ b/compiler.ini @@ -75,6 +75,7 @@ 107={$OPCODE 107={$O 108={$USE +109={$INCLUDE_ONCE ;...................... ; END ;......................