Enables reduced time scale while menus such as weapon wheel and satchel are open.
function native . hud . _enable_reduced_menu_time_scale () : void
Disables reduced time scale while menus such as weapon wheel and satchel are open.
function native . hud . _disable_reduced_menu_time_scale () : void
function native . hud . _enable_hud_context_this_frame ( component : int ) : void
function native . hud . _enable_hud_context ( component : int ) : void
Old name: _DISPLAY_HUD_COMPONENT
function native . hud . _disable_hud_context ( component : int ) : void
function native . hud . _0x7ec0d68233e391ac ( p0 : int ) : int
function native . hud . _busyspinner_set_text ( text : string ) : void
Removes the loading prompt at the bottom right of the screen.
function native . hud . busyspinner_off () : void
function native . hud . busyspinner_is_on () : bool
Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
Old name: _GET_TEXT_SUBSTRING
function native . hud . get_character_from_audio_conversation_filename ( text : string , position : int , length : int ) : string
Gets a string literal from a label name.
Old name: _GET_LABEL_TEXT
function native . hud . get_filename_for_audio_conversation ( label_name : string ) : string
function native . hud . clear_all_help_messages () : void
function native . hud . text_block_is_loaded ( text_block : string ) : bool
function native . hud . _text_block_is_streamed ( text_block : string ) : bool
function native . hud . text_block_request ( text_block : string ) : void
function native . hud . _text_block_delete ( text_block : string ) : void
function native . hud . _does_text_block_exist ( text_database : string ) : bool
Checks if the passed gxt name exists in the game files.
function native . hud . does_text_label_exist ( label : string ) : bool
function native . hud . _get_label_text_2 ( label : string ) : string
Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
function native . hud . _get_text_substring_2 ( text : string , length : int ) : string
function native . hud . _0x806862e5d266cf38 ( p0 : int , p1 : int , p2 : int ) : int
Returns the length of the string passed (much like strlen).
function native . hud . get_length_of_literal_string ( string : string ) : int
function native . hud . get_length_of_literal_string_in_bytes ( string : string ) : int
Returns the label text given the hash.
Old name: _GET_LABEL_TEXT_BY_HASH
function native . hud . get_string_from_hash_key ( label_hash : int ) : string
function native . hud . is_radar_preference_switched_on () : bool
function native . hud . is_subtitle_preference_switched_on () : bool
If Hud should be displayed
function native . hud . display_hud ( toggle : bool ) : void
function native . hud . is_hud_hidden () : bool
function native . hud . is_radar_hidden () : bool
function native . hud . is_radar_hidden_by_script () : bool
function native . hud . _get_color_from_name ( color_name_hash : int , red : ptr int , green : ptr int , blue : ptr int , alpha : ptr int ) : void
nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT (0x16794E044C9EFB58) instead.
function native . hud . _display_text ( text : string , x_pos : float , y_pos : float ) : void
This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.
function native . hud . _set_text_color ( r : int , g : int , b : int , a : int ) : void
function native . hud . set_text_render_id ( render_id : int ) : void
function native . hud . register_named_rendertarget ( name : string , p1 : bool ) : bool
function native . hud . is_named_rendertarget_registered ( name : string ) : bool
function native . hud . release_named_rendertarget ( name : string ) : bool
function native . hud . link_named_rendertarget ( model_hash : int ) : void
function native . hud . get_named_rendertarget_render_id ( name : string ) : int
function native . hud . is_named_rendertarget_linked ( model_hash : int ) : bool
function native . hud . _0x9d37eb5003e0f2cf ( p0 : int , p1 : int ) : void
function native . hud . hide_loading_on_fade_this_frame () : void
function native . hud . _0x052d4ac0922af91a ( p0 : int , p1 : int ) : void
function native . hud . hide_hud_and_radar_this_frame () : void
function native . hud . _0x8a59d44189af2bc5 ( p0 : int , p1 : int ) : void
function native . hud . _0x160825dadf1b04b3 () : void
function native . hud . _0x9c409bbc492cb5b1 () : int
function native . hud . _0x0501d52d24ea8934 ( p0 : int ) : int
function native . hud . _0x100157d6d7fe32ca ( p0 : int , p1 : int ) : int
function native . hud . _0x28ae29d909c8fdce ( p0 : int ) : int
nullsub, doesn't do anything
function native . hud . _0x2f7bb105144acf30 () : void
nullsub, doesn't do anything
function native . hud . _0xbfff81e12a745a5f () : void
function native . hud . set_mission_name ( p0 : bool , name : string ) : void
function native . hud . set_mission_name_for_ugc_mission ( p0 : bool , name : string ) : void
function native . hud . _0xce0d2f5586627cce ( p0 : int , p1 : int , p2 : int , p3 : int , p4 : int ) : void
function native . hud . get_hud_screen_position_from_world_position ( world_x : float , world_y : float , world_z : float , screen_x : ptr int , screen_y : ptr int ) : int
function native . hud . _hide_hud_this_frame () : void
function native . hud . disable_frontend_this_frame () : void
function native . hud . _0x5651516d947abc53 () : void
Old name: _ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME
function native . hud . allow_pause_when_not_in_state_of_play_this_frame () : void
function native . hud . set_frontend_active ( active : bool ) : void
Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
function native . hud . is_pause_menu_active () : bool
function native . hud . _show_player_cores ( state : bool ) : void
function native . hud . _show_horse_cores ( state : bool ) : void
function native . hud . _0x3fe4fb41ef7d2196 ( p0 : int ) : void
function native . hud . _journal_write_entry ( p0 : int ) : void
function native . hud . _journal_can_write_entry ( p0 : int ) : int
function native . hud . _journal_get_entry_count () : int
function native . hud . _journal_get_entry_at_index ( p0 : int ) : int
function native . hud . _journal_get_grime_at_index ( p0 : int ) : int
function native . hud . _journal_get_entry_info ( p0 : int , p1 : int ) : int
function native . hud . _journal_get_texture_with_layout ( p0 : int , p1 : int , p2 : int ) : int
function native . hud . _journal_mark_read ( p0 : int ) : void
function native . hud . _journal_clear_all_progress () : void
function native . hud . ui_request_scene ( p0 : int , p1 : int ) : int
function native . hud . _0xf1e6979c0b779985 ( uiscene : int ) : void
function native . hud . ui_get_scene_uiobject ( p0 : int ) : int
function native . hud . ui_movieview_set_render_target ( p0 : int , p1 : int ) : void
function native . hud . _ui_prompt_create ( input_hash : int , label_name : string , p2 : int , p3 : int , p4 : int , p5 : int ) : int
function native . hud . _ui_prompt_register_begin () : int
function native . hud . _ui_prompt_register_end ( prompt : int ) : void
function native . hud . _ui_prompt_set_priority ( prompt : int , priority : int ) : void
function native . hud . _ui_prompt_set_control_action ( prompt : int , action : int ) : int
function native . hud . _ui_prompt_set_allowed_action ( prompt : int , action : int ) : void
function native . hud . _ui_prompt_set_standard_mode ( prompt : int , release_mode : bool ) : void
function native . hud . _ui_prompt_has_standard_mode_completed ( prompt : int , p1 : int ) : bool
function native . hud . _ui_prompt_set_pressed_timed_mode ( prompt : int , depletion_time_ms : int ) : void
function native . hud . _ui_prompt_has_pressed_timed_mode_completed ( prompt : int ) : bool
function native . hud . _ui_prompt_has_pressed_timed_mode_failed ( prompt : int ) : bool
Params: p2 is 304000 in R* SP Script coachrobberies
function native . hud . _ui_prompt_set_hold_mode ( prompt : int , hold_time_ms : int ) : void
Hashes: SHORT_TIMED_EVENT_MP, SHORT_TIMED_EVENT, MEDIUM_TIMED_EVENT, LONG_TIMED_EVENT, RUSTLING_CALM_TIMING, PLAYER_FOCUS_TIMING, PLAYER_REACTION_TIMING
function native . hud . _ui_prompt_set_standardized_hold_mode ( prompt : int , timed_event_hash : int ) : void
function native . hud . _ui_prompt_set_hold_indefinitely_mode ( prompt : int ) : void
function native . hud . _ui_prompt_set_hold_auto_fill_mode ( prompt : int , auto_fill_time_ms : int , hold_time_ms : int ) : void
function native . hud . _ui_prompt_set_hold_auto_fill_with_decay_mode ( prompt : int , auto_fill_time_ms : int , hold_time_ms : int ) : void
function native . hud . _ui_prompt_has_hold_auto_fill_mode ( prompt : int ) : bool
function native . hud . _ui_prompt_has_hold_mode ( prompt : int ) : bool
function native . hud . _ui_prompt_is_hold_mode_running ( prompt : int ) : bool
function native . hud . _ui_prompt_has_hold_mode_completed ( prompt : int ) : bool
function native . hud . _ui_prompt_get_progress ( prompt : int ) : float
function native . hud . _ui_prompt_set_mash_mode ( prompt : int , mashes : int ) : void
function native . hud . _ui_prompt_set_mash_indefinitely_mode ( prompt : int ) : void
function native . hud . _ui_prompt_set_mash_with_resistance_mode ( prompt : int , mashes : int , p2 : float , p3 : float ) : void
function native . hud . _ui_prompt_set_mash_with_resistance_can_fail_mode ( prompt : int , mashes : int , p2 : float , p3 : float ) : void
function native . hud . _ui_prompt_set_mash_auto_fill_mode ( prompt : int , auto_fill_time_ms : int , mashes : int ) : void
function native . hud . _ui_prompt_set_mash_manual_mode ( prompt : int , p1 : float , p2 : float , p3 : float , p4 : int ) : void
function native . hud . _ui_prompt_set_mash_manual_can_fail_mode ( prompt : int , p1 : float , p2 : float , p3 : float , p4 : int ) : void
function native . hud . _ui_prompt_has_manual_mash_mode ( prompt : int ) : bool
function native . hud . _ui_prompt_has_mash_mode ( prompt : int ) : bool
function native . hud . _0xb0e8599243b3f568 ( p0 : int ) : int
function native . hud . _ui_prompt_has_mash_mode_completed ( prompt : int ) : bool
function native . hud . _ui_prompt_has_mash_mode_failed ( prompt : int ) : bool
function native . hud . _ui_prompt_get_mash_mode_progress ( prompt : int ) : float
standard (prompt not held) rate: (1f / 128f)
fast (prompt held) rate: (1f / 64f)
punitive (been hit) rate: (1f / 128f)
function native . hud . _ui_prompt_set_mash_manual_mode_increase_per_press ( prompt : int , rate : float ) : void
standard (prompt not held) rate: 0.035f
fast (prompt held) rate: 0.015f
punitive (been hit) rate: 0.14f
function native . hud . _ui_prompt_set_mash_manual_mode_decay_speed ( prompt : int , speed : float ) : void
function native . hud . _ui_prompt_set_mash_manual_mode_pressed_growth_speed ( prompt : int , speed : float ) : void
function native . hud . _ui_prompt_set_rotate_mode ( prompt : int , p1 : float , counterclockwise : bool ) : void
function native . hud . _ui_prompt_set_target_mode ( prompt : int , p1 : float , p2 : float , p3 : int ) : void
function native . hud . _ui_prompt_set_target_mode_target ( prompt : int , p1 : float , p2 : float ) : void
function native . hud . _ui_prompt_set_target_mode_progress ( prompt : int , progress : float ) : void
function native . hud . _ui_prompt_set_beat_mode ( prompt : int , toggle : bool ) : void
function native . hud . _ui_prompt_was_beat_mode_pressed_in_time_window ( prompt : int ) : bool
function native . hud . _ui_prompt_set_beat_mode_grayed_out ( prompt : int , p1 : int ) : void
function native . hud . _ui_prompt_restart_modes ( prompt : int ) : void
function native . hud . _ui_prompt_set_spinner_speed ( prompt : int , p1 : int ) : void
function native . hud . _ui_prompt_set_spinner_position ( prompt : int , p1 : int ) : void
function native . hud . _ui_prompt_set_urgent_pulsing_enabled ( prompt : int , toggle : bool ) : void
function native . hud . _ui_prompt_get_urgent_pulsing_enabled ( prompt : int ) : bool
function native . hud . _ui_prompt_set_tag ( prompt : int , p1 : int ) : void
function native . hud . _ui_prompt_get_group_id_for_target_entity ( entity : int ) : int
function native . hud . _ui_prompt_get_group_id_for_scenario_point ( p0 : int , p1 : int ) : int
tabIndex: specifies tab of prompt
function native . hud . _ui_prompt_set_group ( prompt : int , group_id : int , tab_index : int ) : void
function native . hud . _ui_prompt_remove_group ( prompt : int , p1 : int ) : void
Note: you must use VAR_STRING for p1 if string is not part of text database
tabAmount: specifies number of tabs in prompt group
tabDefaultIndex: specifies starting index
p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount
function native . hud . _ui_prompt_set_active_group_this_frame ( hash : int , name : string , tab_amount : int , tab_default_index : int , p4 : int , prompt : int ) : int
function native . hud . _ui_prompt_get_group_active_page ( hash : int ) : int
function native . hud . _ui_prompt_set_ambient_group_this_frame ( entity : int , p1 : float , p2 : int , p3 : int , p4 : int , name : string , p6 : int ) : int
function native . hud . _0x8b55b324a9123f6b ( group_id : int , volume : int , p2 : string , p3 : int , p4 : int , p5 : int ) : int
function native . hud . _ui_prompt_does_ambient_group_exist ( hash : int ) : bool
function native . hud . _ui_prompt_add_group_link ( p0 : int , prompt : int , p2 : int ) : void
function native . hud . _ui_prompt_add_group_return_link ( p0 : int , prompt : int ) : void
TM_ANY = 0,
TM_ON_FOOT,
TM_IN_VEHICLE
function native . hud . _ui_prompt_set_transport_mode ( prompt : int , mode : int ) : void
function native . hud . _ui_prompt_disable_prompts_this_frame () : void
function native . hud . _ui_prompt_delete ( prompt : int ) : void
function native . hud . _ui_prompt_is_valid ( prompt : int ) : bool
function native . hud . _ui_prompt_is_active ( prompt : int ) : bool
function native . hud . _ui_prompt_set_visible ( prompt : int , toggle : bool ) : void
function native . hud . _ui_prompt_set_enabled ( prompt : int , toggle : bool ) : void
function native . hud . _ui_prompt_set_text ( prompt : int , text : string ) : void
function native . hud . _ui_prompt_set_attribute ( prompt : int , attribute : int , enabled : bool ) : void
Params: type = mostly 0, 6 (net_mission_intro_story_gvo), 7 (fm_mission_controller), 14 (net_ugc_end_flow_transition_online), 15 (net_main_tlg_ offline)
function native . hud . _ui_prompt_set_type ( prompt : int , type : int ) : void
function native . hud . _0x53ce46c01a089da1 ( prompt : int , p1 : bool ) : void
function native . hud . _ui_prompt_set_manual_resolved ( prompt : int , p1 : int ) : void
function native . hud . _ui_prompt_context_set_volume ( prompt : int , volume : int ) : void
function native . hud . _ui_prompt_context_set_point ( prompt : int , x : float , y : float , z : float ) : void
function native . hud . _ui_prompt_context_set_radius ( prompt : int , radius : float ) : void
function native . hud . _ui_prompt_is_pressed ( prompt : int ) : bool
function native . hud . _ui_prompt_is_just_pressed ( prompt : int ) : bool
function native . hud . _ui_prompt_is_just_released ( prompt : int ) : bool
function native . hud . _ui_prompt_is_released ( prompt : int ) : bool
function native . hud . _ui_prompt_enable_prompt_type_this_frame ( p0 : int ) : void
function native . hud . _ui_prompt_disable_prompt_type_this_frame ( p0 : int ) : void
function native . hud . _ui_prompt_filter_clear () : void
function native . hud . _ui_prompt_set_prompt_priority_preference ( ped : int ) : void
function native . hud . _ui_prompt_clear_prompt_priority_preference () : void
function native . hud . _ui_prompt_is_enabled ( prompt : int ) : bool
function native . hud . ui_prompt_is_control_action_active ( control_action : int ) : bool
function native . hud . _0xd6bd313cfa41e57a ( p0 : int ) : int
This returns an id that can be used with 0x6095358C4142932A.
function native . hud . _ui_prompt_set_register_horizontal_orientation () : int
id is the return value from 0xD9459157EB22C895.
function native . hud . _ui_prompt_clear_horizontal_orientation ( id : int ) : void
function native . hud . _ui_prompt_set_ordering_as_input_type ( prompt : int , p1 : int ) : void
function native . hud . _0x066725a9d52b3641 () : int
function native . hud . _0x958278b97c4affd8 ( p0 : int , p1 : int ) : void
function native . hud . _create_mp_gamer_tag ( player : int , username : string , pointed_clan_tag : bool , is_rockstar_clan : bool , clan_tag : string , clan_flag : int ) : int
function native . hud . create_fake_mp_gamer_tag ( ped : int , username : string , pointed_clan_tag : bool , is_rockstar_clan : bool , clan_tag : string , clan_flag : int ) : int
function native . hud . _create_mp_gamer_tag_on_entity ( entity : int , text : string ) : int
function native . hud . remove_mp_gamer_tag ( gamer_tag_id : int ) : void
function native . hud . is_mp_gamer_tag_active ( gamer_tag_id : int ) : bool
function native . hud . _is_mp_gamer_tag_active_on_entity ( gamer_tag_id : int , entity : int ) : bool
visibility:
enum eUIGamertagVisibility
{
UIGAMERTAGVISIBILITY_NONE,
UIGAMERTAGVISIBILITY_ICON,
UIGAMERTAGVISIBILITY_SIMPLE,
UIGAMERTAGVISIBILITY_COMPLEX
};
function native . hud . _set_mp_gamer_tag_visibility ( gamer_tag_id : int , visibility : int ) : void
Found types: GENERIC_PLAYER, DEADDROP, HOTPROPERTY, MINIGAMES
function native . hud . _set_mp_gamer_tag_type ( gamer_tag_id : int , type : int ) : void
function native . hud . _set_mp_gamer_tag_colour ( gamer_tag_id : int , colour : int ) : void
nullsub, doesn't do anything
function native . hud . _set_mp_gamer_tag_unk_allow_localized ( gamer_tag_id : int , allow : bool ) : void
function native . hud . set_mp_gamer_tag_name ( gamer_tag_id : int , string : string ) : void
function native . hud . _set_mp_gamer_tag_name_posse ( gamer_tag_id : int , text : string ) : void
function native . hud . set_mp_gamer_tag_big_text ( gamer_tag_id : int , string : string ) : void
function native . hud . _set_mp_gamer_tag_top_icon ( gamer_tag_id : int , icon : int ) : void
Found icons: SPEAKER, THROPY
function native . hud . _set_mp_gamer_tag_secondary_icon ( gamer_tag_id : int , icon : int ) : void
function native . hud . _mp_gamer_tag_enable_revive_top_icon ( gamer_tag_id : int ) : void
function native . hud . _mp_gamer_tag_disable_revive_top_icon ( gamer_tag_id : int ) : void