Skip to content

misc ​

289 native definitions. Call through natives.misc or natives.MISC.
FunctionReturnsParametersNative hash
_0x0358B8A41916C613Anyp0: Any, p1: Any, p2: Any, p3: Any
_0x0730E518486DEEC3voidp0: Any
_0x082C043C7AFC3747voidcompositeId: int, p1: BOOL
_0x0A487CC74A517FB5voidp0: Any
_0x0D0AE5081F88CFE1Anyp0: Any
_0x1096603B519C905Fvoidname: const char*
_0x154340E87D8CC178voidp0: Any
_0x183672FE838A661Bvoidp0: Any
_0x243CEDE8F916B994void—
_0x2916B30DC6C41179voidweatherType: Hash
_0x33982467B1E349EFAnyp0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any, p6: Any
_0x35165C658077CD0BAny—
_0x36040772DF5E59A0BOOL—
_0x38C0C9CAE1544500voidp0: Any
_0x38C2BF94D15F464DAnyp0: Any
_0x3A87FDA8F1B6CDFBvoidp0: Any, p1: Any, p2: Any
_0x3C3C7B1B5EC08764void—
_0x4647842FE8F31C1Evoidp0: Any, p1: Any
_0x49C44FE78A135A1Dvoidp0: Any
_0x49F3241C28EBBFBCvoidp0: Any
_0x4B0501A468B749F8void—
_0x4B101DBCC9482F2DBOOLped: Ped
_0x4D5C9CC7E7E23E09void—
_0x553D67295DDD2309voidentity: Entity
_0x5801BE2DF2AF07ECvoidp0: Any
_0x5B4A8121A47D844DAnyp0: Any
_0x627B68D9CE6EE8DEAnyp0: Any
_0x68319452C5064ABAvoidp0: Any, p1: Any
_0x6BCF7B5CD338281Avoidp0: Any, p1: Any, p2: Any
_0x6BED40493A1AFDB8voidp0: Any*, p1: float
_0x6C7B68D3CE60E8DEAnyp0: Any
_0x6F02B5E50511721EAnyp0: Any
_0x745808BB01CEC6B9voidp0: float
_0x74ACA66484CEBAF0voidp0: Any
_0x7A76104CC2CC69E8Anyentity: Entity, p1: int, p2: int
_0x7CF96F1250EF3221Anyp0: Any
_0x7FA58CED69405F9Avoidp0: Any, p1: Any
_0x8314FC2013ECE2DAAnyp0: Any, p1: Any, p2: Any
_0x8BB99B85444544D9Anyp0: Any, p1: Any
_0x8C0F6A3D7236DEEBvoidp0: Any, p1: Any
_0x8DB104CCEBCD58C5Anyp0: Any, p1: Any
_0x94E8CA3DEE952789Anyp0: Any, p1: Any
_0x94FCADCF9F0C368Evoidp0: Any
_0x96282005C5C6801Fvoidp0: Any, p1: Any
_0x970339EFA4FDE518Anyp0: Any, p1: Any, p2: Any
_0x9A252AA23D7098F2void—
_0x9B47971234169990voidped: Ped, item: Any
_0x9BF2C0C568C61641voidp0: Any
_0xA08111B053D84B4Dvoidp0: Any
_0xA3A8926951471C82void—
_0xA9342743B634A462voidp0: Any
_0xAB26DEEE120FD3FDvoidp0: Any, p1: Any
_0xAD44856A1CD29635voidp0: Any, p1: Any, p2: Any
_0xAF3A84C7DE6A1DC5voidp0: Any, p1: Any
_0xAF530E56505D1BD6Anyp0: Any
_0xB08C4FA25BC29DB9voidp0: Any
_0xB1F6665AA54DCD5CAnyp0: Any
_0xB711EB4BC8D06013void—
_0xBB282CF5D2333FB8voidp0: Any, p1: Any
_0xBBE5B63EFFB08E68Anyp0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any, p6: Any
_0xCC1BAF72D571DB8DAnyp0: Any, p1: Any, p2: Any
_0xCC3EDC5614B03F61voidp0: int
_0xD3F943B88F55376AvoidweatherType: Hash
_0xDA4D8EB04E8E2928voidp0: Any
_0xDBDA48EC456ED908void—
_0xDC057B86FC157031Any—
_0xDC416CA762BC4F43Anyp0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any
_0xDE2C3B74D2B3705Cvoidp0: Any, p1: Any
_0xF18AF483DF70BBDEAnyp0: Any
_0xF569E33FB72ED28Evoid—
_0xF63FA29D4A9ACA86voidp0: Any, p1: Any
_0xF650DCF5D6F312C1voidp0: Any
_0xF81C53561D15F330const char*—
_0xFC6ECB9170145ECEvoid—
_0xFF252E2BAFB7330Fvoidp0: Any
_0xeb946b9e579729advoidped: Ped, p1: Any
_add_dispatch_spawn_blocking_areaAnyvolume: Volume
_add_pop_multiplier_volumeintvolume: Volume, pedDensity: float, vehicleDensity: float, p3: BOOL, p4: BOOL
_clear_all_bit_flagsvoidbitFlags: Any*
_clear_bit_flagvoidbitFlags: Any*, flag: int
_clear_volume_areavoidvolume: Volume, flag: int
_clear_weather_type_persist_overtimevoidmilliseconds: int
_clear_weather_variationvoidweatherType: const char*, p1: BOOL
_count_bit_flagsintbitFlags: Any*
_create_ai_memoryvoidargs: Any*, aiMemoryType: int
_create_color_stringconst char*rgb: int
_create_incident_with_entitiesBOOLdispatchService: int, x: float, y: float, z: float, itemSet: ItemSet, radius: float, outIncidentID: int*
_does_item_have_valid_baseBOOLitem: ScrHandle
_does_pop_multiplier_area_exist_for_volumeBOOLvolume: Volume
_does_string_exist_in_stringBOOLstring1: const char*, string2: const char*
_force_lightning_flash_at_coordsvoidx: float, y: float, z: float, p3: float
_game_framework_manager_get_modeHash—
_game_framework_manager_shutdownvoid—
_get_ai_ped_does_have_event_memoryBOOLargs: Any*, p1: int
_get_easing_curve_valuefloatt: float, b: float, d: float, easingCurveType: int
_get_entity_from_itemEntityitem: ScrHandle
_get_forced_weathervoidweather: Hash*, p1: Hash*
_get_game_timer_non_scaled_clippedint—
_get_item_typeinthandle: ScrHandle
_get_looting_event_has_firedBOOLped: Ped, eventName: const char*
_get_max_num_instructionsint—
_get_next_weather_type_hash_nameHash—
_get_number_of_instructionsint—
_get_object_from_indexed_itemObjectitem: ScrHandle
_get_ped_from_indexed_itemPeditem: ScrHandle
_get_prev_weather_type_hash_nameHash—
_get_random_weather_typeHash—
_get_random_weather_type_indexint—
_get_status_of_savegame_operationintp0: int
_get_string_from_boolconst char*value: BOOL
_get_string_from_floatconst char*value: float, digits: int
_get_string_from_vectorconst char*x: float, y: float, z: float
_get_temperature_at_coordsfloatx: float, y: float, z: float
_get_vehicle_from_indexed_itemVehicleitem: ScrHandle
_int_to_stringvoidvalue: int, format: const char*, buffer: char*
_is_any_bit_flag_setBOOLbitFlags: Any*
_is_base_a_cover_pointBOOLhandle: ScrHandle
_is_base_a_persistent_characterBOOLhandle: ScrHandle
_is_bit_flag_setBOOLbitFlags: Any*, flag: int
_is_global_block_validBOOLindex: int
_is_mission_creator_activeBOOL—
_is_ped_decomposedBOOLped: Ped
_loot_tables_get_infovoidped: Ped, p1: BOOL, p2: BOOL, lootTable: Hash, outInfo: Any*, p5: Any
_queue_savegame_operationBOOLp0: int
_read_int_as_floatfloatvalue: int
_remove_pop_multiplier_area_for_volumevoidvolume: Volume, p1: int
_reset_dispatch_max_spawn_distancevoid—
_reset_dispatch_min_spawn_distancevoid—
_set_ai_memory_reactions_enabledvoidenabled: BOOL
_set_bit_flagvoidbitFlags: Any*, flag: int
_set_dispatch_max_spawn_distancevoidmaxSpawnDistance: float
_set_dispatch_min_spawn_distancevoidminSpawnDistance: float
_set_game_logic_pausedvoid—
_set_global_block_is_loadedvoidindex: int, toggle: BOOL
_set_incident_unkvoidincidentId: int
_set_override_weathervoidweatherType: Hash
_set_snow_levelvoidlevel: float
_set_weather_type_2voidweatherType: Hash, p1: int, p2: int, p3: int, p4: BOOL
_set_weather_type_frozenvoidtoggle: BOOL
_set_weather_variationvoidweatherType: const char*, variation: const char*
_should_use_24_hour_clockBOOL—
_should_use_metric_measurements_2BOOL—
_should_use_metric_temperatureBOOL—
_should_use_metric_weightBOOL—
absffloatvalue: float
absiintvalue: int
acosfloatp0: float
action_manager_enable_actionvoidhash: Hash, enable: BOOL
action_manager_is_action_enabledBOOLhash: Hash
activity_feed_action_start_with_command_linevoidp0: const char*, p1: const char*
activity_feed_action_start_with_command_line_addvoidp0: const char*
activity_feed_add_substring_to_captionvoidp0: const char*
activity_feed_createvoidp0: const char*, p1: const char*
activity_feed_postvoid—
add_pop_multiplier_areaintx1: float, y1: float, z1: float, x2: float, y2: float, z2: float, pedDensity: float, trafficDensity: float, p8: BOOL, p9: BOOL
add_tactical_nav_mesh_pointvoidx: float, y: float, z: float, p3: int
are_strings_equalBOOLstring1: const char*, string2: const char*
asinfloatp0: float
atanfloatp0: float
atan2floatp0: float, p1: float
block_dispatch_service_resource_creationvoiddispatchService: int, toggle: BOOL
cancel_onscreen_keyboardvoid—
clear_angled_area_of_vehiclesvoidp0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any, p6: Any, p7: Any
clear_areavoidx: float, y: float, z: float, radius: float, flag: int
clear_bitvoidaddress: int*, offset: int
clear_override_weathervoid—
clear_tactical_nav_mesh_pointsvoid—
clear_weather_type_persistvoid—
compare_stringsintstr1: const char*, str2: const char*, matchCase: BOOL, maxLength: int
copy_script_structvoiddst: Any*, src: Any*, size: int
create_incidentBOOLdispatchService: int, x: float, y: float, z: float, numUnits: int, radius: float, outIncidentID: int*, p7: Any, p8: Any
delete_incidentvoidincidentId: int
disable_looting_composite_lootable_this_framevoidcompositeId: int, p1: BOOL
display_onscreen_keyboardvoidtextType: int, windowTitle: const char*, p2: const char*, defaultText: const char*, defaultConcat1: const char*, defaultConcat2: const char*, defaultConcat3: const char*, maxInputLength: int
does_pop_multiplier_area_existBOOLid: int
enable_dispatch_servicevoiddispatchService: int, toggle: BOOL
fire_single_bulletvoidargs: Any*
force_lightning_flashvoid—
game_framework_manager_initBOOLtransitionMode: Hash
get_angle_between_2d_vectorsfloatx1: float, y1: float, x2: float, y2: float
get_benchmark_iterationsint—
get_benchmark_passint—
get_bits_in_rangeintvar: int, rangeStart: int, rangeEnd: int
get_closest_point_on_lineVector3p0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: float, p8: float, p9: BOOL
get_coords_of_projectile_type_within_distanceBOOLped: Ped, weaponHash: Hash, distance: float, outCoords: Vector3*, p4: BOOL, mustBeOwnedByThisPed: BOOL
get_curr_weather_statevoidweatherType1: Hash*, weatherType2: Hash*, percentWeather2: float*
get_distance_between_coordsfloatx1: float, y1: float, z1: float, x2: float, y2: float, z2: float, useZ: BOOL
get_frame_countint—
get_frame_timefloat—
get_game_timerint—
get_ground_z_and_normal_for_3d_coordBOOLx: float, y: float, z: float, groundZ: float*, normal: Vector3*
get_ground_z_for_3d_coordBOOLx: float, y: float, z: float, groundZ: float*, p4: BOOL
get_hash_keyHashstring: const char*
get_heading_from_vector_2dfloatdx: float, dy: float
get_line_plane_intersectionBOOLp0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: float, p8: float, p9: float, p10: float, p11: float, p12: float*
get_mission_flagBOOL—
get_model_dimensionsvoidmodelHash: Hash, minimum: Vector3*, maximum: Vector3*
get_number_of_free_stacks_of_this_sizeintstackSize: int
get_number_of_microseconds_since_last_callint—
get_onscreen_keyboard_resultconst char*—
get_projectile_of_projectile_type_within_distanceBOOLped: Ped, weaponHash: Hash, distance: float, outCoords: Vector3*, outProjectile: Object*, p5: BOOL, mustBeOwnedByThisPed: BOOL
get_rain_levelfloat—
get_random_event_flagBOOL—
get_random_float_in_rangefloatstartRange: float, endRange: float
get_random_int_in_rangeintstartRange: int, endRange: int
get_real_world_timeint—
get_script_time_within_frame_in_microsecondsint—
get_snow_levelfloat—
get_system_timeint—
get_system_time_stepfloat—
get_wind_directionVector3—
get_wind_speedfloat—
has_bullet_impacted_in_areaBOOLx: float, y: float, z: float, p3: float, p4: BOOL, p5: BOOL
has_bullet_impacted_in_boxBOOLp0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: BOOL, p7: BOOL
ignore_next_restartvoidtoggle: BOOL
inform_code_of_content_id_of_current_ugc_missionvoidp0: const char*
is_bit_setBOOLaddress: int, offset: int
is_bullet_in_angled_areaBOOLp0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: BOOL
is_bullet_in_areaBOOLp0: float, p1: float, p2: float, p3: float, p4: BOOL
is_bullet_in_boxBOOLp0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: BOOL
is_durango_versionBOOL—
is_game_session_state_machine_idleBOOL—
is_incident_validBOOLincidentId: int
is_mag_demo_1_activeBOOL—
is_minigame_in_progressBOOL—
is_orbis_versionBOOL—
is_pc_versionBOOL—
is_position_occupiedBOOLx: float, y: float, z: float, range: float, p4: BOOL, p5: BOOL, p6: BOOL, p7: BOOL, p8: BOOL, p9: Any, p10: BOOL
is_projectile_in_areaBOOLx1: float, y1: float, z1: float, x2: float, y2: float, z2: float, ownedByPlayer: BOOL
is_projectile_type_in_angled_areaBOOLp0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: Any, p8: BOOL
is_projectile_type_in_areaBOOLx1: float, y1: float, z1: float, x2: float, y2: float, z2: float, type: int, p7: BOOL
is_projectile_type_within_distanceBOOLp0: float, p1: float, p2: float, p3: Any, p4: float, p5: BOOL
is_stadia_versionBOOL—
is_string_nullBOOLstring: const char*
is_string_null_or_emptyBOOLstring: const char*
is_string_null_or_empty_or_spacesBOOLstring: const char*
network_set_script_is_safe_for_network_gamevoid—
next_onscreen_keyboard_result_will_display_using_these_fontsvoidp0: int
override_save_houseBOOLp0: BOOL, p1: float, p2: float, p3: float, p4: float, p5: BOOL, p6: float, p7: float
pause_death_arrest_restartvoidtoggle: BOOL
populate_nowvoid—
register_interaction_lockon_promptBOOLentity: Entity, text: const char*, radius: float, p3: float, flag: int, p5: float, p6: float, prompt: Prompt, p8: BOOL, p9: int
remove_dispatch_spawn_blocking_areavoidp0: Any
remove_pop_multiplier_areavoidid: int, p1: BOOL
reset_dispatch_ideal_spawn_distancevoid—
reset_end_user_benchmarkvoid—
reset_script_time_within_framevoid—
reset_wanted_response_num_peds_to_spawnvoid—
save_end_user_benchmarkvoid—
script_race_get_player_split_timeBOOLp0: Any, p1: Any*, p2: Any*
script_race_initvoidnumCheckpoints: int, numLaps: int, numPlayers: int, p3: Any
script_race_player_hit_checkpointvoidpart: int, checkpoint: int, lap: int, time: int
script_race_shutdownvoid—
set_bitvoidaddress: int*, offset: int
set_bits_in_rangevoidvar: int*, rangeStart: int, rangeEnd: int, p3: int
set_cheat_activevoidcheatId: int
set_credits_activevoidtoggle: BOOL
set_curr_weather_statevoidweatherType1: Hash, weatherType2: Hash, percentWeather2: float, enabled: BOOL
set_dispatch_ideal_spawn_distancevoidfIdealSpawnDistance: float
set_fade_in_after_death_arrestvoidtoggle: BOOL
set_fade_in_after_loadvoidtoggle: BOOL
set_game_pausedvoidtoggle: BOOL
set_mission_flagvoidtoggle: BOOL
set_ped_decomposedvoidped: Ped, toggle: BOOL
set_rainvoidintensity: float
set_random_event_flagvoidtoggle: BOOL
set_random_seedvoidseed: int
set_random_weather_typevoidp0: BOOL, p1: BOOL
set_super_jump_this_framevoidplayer: Player
set_this_script_can_be_pausedvoidtoggle: BOOL
set_this_script_can_remove_blips_created_by_any_scriptvoidtoggle: BOOL
set_time_scalevoidtimeScale: float
set_weather_typevoidweatherType: Hash, p1: BOOL, p2: BOOL, transition: BOOL, transitionTime: float, p5: BOOL
set_wind_directionvoiddirection: float
set_wind_speedvoidspeed: float
shoot_single_bullet_between_coordsvoidx1: float, y1: float, z1: float, x2: float, y2: float, z2: float, damage: int, p7: BOOL, weaponHash: Hash, ownerPed: Ped, isAudible: BOOL, isInvisible: BOOL, speed: float, p13: BOOL
should_use_metric_measurementsBOOL—
start_end_user_benchmarkvoid—
stop_current_loading_progress_timervoid—
stop_end_user_benchmarkvoid—
string_to_intBOOLstring: const char*, outInteger: int*
tanfloatp0: float
ui_started_end_user_benchmarkBOOL—
unregister_interaction_lockon_promptBOOLentity: Entity
update_onscreen_keyboardint—
var_stringconst char*flags: int, args: Args...
var_string_textconst char*flags: int, type: const char*, text: const char*
water_override_set_oceanwavemaxamplitudevoidmaxAmplitude: float
water_override_set_shorewaveamplitudevoidamplitude: float

Generated declarations; individual native behaviour may be undocumented. See argument and result mapping before calling a native.