hud¶
_enable_reduced_menu_time_scale¶
void native.hud._enable_reduced_menu_time_scale()
_disable_reduced_menu_time_scale¶
void native.hud._disable_reduced_menu_time_scale()
_enable_hud_context_this_frame¶
void native.hud._enable_hud_context_this_frame(int component)
_enable_hud_context¶
void native.hud._enable_hud_context(int component)
https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/hud_presets
Old name: _HIDE_HUD_COMPONENT
_disable_hud_context¶
void native.hud._disable_hud_context(int component)
_0x7ec0d68233e391ac¶
int native.hud._0x7ec0d68233e391ac(int p0)
_busyspinner_set_text¶
void native.hud._busyspinner_set_text(string text)
busyspinner_off¶
void native.hud.busyspinner_off()
busyspinner_is_on¶
bool native.hud.busyspinner_is_on()
get_character_from_audio_conversation_filename¶
string native.hud.get_character_from_audio_conversation_filename(string text, int position, int length)
Note: you must use VAR_STRING. Byte code very similar to TEXT_COMMAND_DISPLAY_TEXT in V
Old name: _GET_TEXT_SUBSTRING
get_filename_for_audio_conversation¶
string native.hud.get_filename_for_audio_conversation(string label_name)
clear_all_help_messages¶
void native.hud.clear_all_help_messages()
text_block_is_loaded¶
bool native.hud.text_block_is_loaded(string text_block)
_text_block_is_streamed¶
bool native.hud._text_block_is_streamed(string text_block)
text_block_request¶
void native.hud.text_block_request(string text_block)
_text_block_delete¶
void native.hud._text_block_delete(string text_block)
_does_text_block_exist¶
bool native.hud._does_text_block_exist(string text_database)
does_text_label_exist¶
bool native.hud.does_text_label_exist(string label)
_get_label_text_2¶
string native.hud._get_label_text_2(string label)
_get_text_substring_2¶
string native.hud._get_text_substring_2(string text, int length)
_0x806862e5d266cf38¶
int native.hud._0x806862e5d266cf38(int p0, int p1, int p2)
get_length_of_literal_string¶
int native.hud.get_length_of_literal_string(string string)
get_length_of_literal_string_in_bytes¶
int native.hud.get_length_of_literal_string_in_bytes(string string)
get_string_from_hash_key¶
string native.hud.get_string_from_hash_key(int label_hash)
is_radar_preference_switched_on¶
bool native.hud.is_radar_preference_switched_on()
is_subtitle_preference_switched_on¶
bool native.hud.is_subtitle_preference_switched_on()
display_hud¶
void native.hud.display_hud(bool toggle)
is_hud_hidden¶
bool native.hud.is_hud_hidden()
is_radar_hidden¶
bool native.hud.is_radar_hidden()
is_radar_hidden_by_script¶
bool native.hud.is_radar_hidden_by_script()
_get_color_from_name¶
void native.hud._get_color_from_name(int color_name_hash, ptr int red, ptr int green, ptr int blue, ptr int alpha)
_display_text¶
void native.hud._display_text(string text, float x_pos, float y_pos)
nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT (0x16794E044C9EFB58) instead.
_set_text_color¶
void native.hud._set_text_color(int r, int g, int b, int a)
set_text_render_id¶
void native.hud.set_text_render_id(int render_id)
register_named_rendertarget¶
bool native.hud.register_named_rendertarget(string name, bool p1)
is_named_rendertarget_registered¶
bool native.hud.is_named_rendertarget_registered(string name)
release_named_rendertarget¶
bool native.hud.release_named_rendertarget(string name)
link_named_rendertarget¶
void native.hud.link_named_rendertarget(int model_hash)
get_named_rendertarget_render_id¶
int native.hud.get_named_rendertarget_render_id(string name)
is_named_rendertarget_linked¶
bool native.hud.is_named_rendertarget_linked(int model_hash)
_0x9d37eb5003e0f2cf¶
void native.hud._0x9d37eb5003e0f2cf(int p0, int p1)
hide_loading_on_fade_this_frame¶
void native.hud.hide_loading_on_fade_this_frame()
_0x052d4ac0922af91a¶
void native.hud._0x052d4ac0922af91a(int p0, int p1)
hide_hud_and_radar_this_frame¶
void native.hud.hide_hud_and_radar_this_frame()
_0x8a59d44189af2bc5¶
void native.hud._0x8a59d44189af2bc5(int p0, int p1)
_0x160825dadf1b04b3¶
void native.hud._0x160825dadf1b04b3()
_0x9c409bbc492cb5b1¶
int native.hud._0x9c409bbc492cb5b1()
_0x0501d52d24ea8934¶
int native.hud._0x0501d52d24ea8934(int p0)
_0x100157d6d7fe32ca¶
int native.hud._0x100157d6d7fe32ca(int p0, int p1)
_0x28ae29d909c8fdce¶
int native.hud._0x28ae29d909c8fdce(int p0)
_0x2f7bb105144acf30¶
void native.hud._0x2f7bb105144acf30()
_0xbfff81e12a745a5f¶
void native.hud._0xbfff81e12a745a5f()
set_mission_name¶
void native.hud.set_mission_name(bool p0, string name)
set_mission_name_for_ugc_mission¶
void native.hud.set_mission_name_for_ugc_mission(bool p0, string name)
_0xce0d2f5586627cce¶
void native.hud._0xce0d2f5586627cce(int p0, int p1, int p2, int p3, int p4)
get_hud_screen_position_from_world_position¶
int native.hud.get_hud_screen_position_from_world_position(float world_x, float world_y, float world_z, ptr int screen_x, ptr int screen_y)
_hide_hud_this_frame¶
void native.hud._hide_hud_this_frame()
disable_frontend_this_frame¶
void native.hud.disable_frontend_this_frame()
_0x5651516d947abc53¶
void native.hud._0x5651516d947abc53()
allow_pause_when_not_in_state_of_play_this_frame¶
void native.hud.allow_pause_when_not_in_state_of_play_this_frame()
set_frontend_active¶
void native.hud.set_frontend_active(bool active)
is_pause_menu_active¶
bool native.hud.is_pause_menu_active()
Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
_show_player_cores¶
void native.hud._show_player_cores(bool state)
_show_horse_cores¶
void native.hud._show_horse_cores(bool state)
_0x3fe4fb41ef7d2196¶
void native.hud._0x3fe4fb41ef7d2196(int p0)
_journal_write_entry¶
void native.hud._journal_write_entry(int p0)
_journal_can_write_entry¶
int native.hud._journal_can_write_entry(int p0)
_journal_get_entry_count¶
int native.hud._journal_get_entry_count()
_journal_get_entry_at_index¶
int native.hud._journal_get_entry_at_index(int p0)
_journal_get_grime_at_index¶
int native.hud._journal_get_grime_at_index(int p0)
_journal_get_entry_info¶
int native.hud._journal_get_entry_info(int p0, int p1)
_journal_get_texture_with_layout¶
int native.hud._journal_get_texture_with_layout(int p0, int p1, int p2)
_journal_mark_read¶
void native.hud._journal_mark_read(int p0)
_journal_clear_all_progress¶
void native.hud._journal_clear_all_progress()
ui_request_scene¶
int native.hud.ui_request_scene(int p0, int p1)
_0xf1e6979c0b779985¶
void native.hud._0xf1e6979c0b779985(int uiscene)
ui_get_scene_uiobject¶
int native.hud.ui_get_scene_uiobject(int p0)
ui_movieview_set_render_target¶
void native.hud.ui_movieview_set_render_target(int p0, int p1)
_ui_prompt_create¶
int native.hud._ui_prompt_create(int input_hash, string label_name, int p2, int p3, int p4, int p5)
_ui_prompt_register_begin¶
int native.hud._ui_prompt_register_begin()
_ui_prompt_register_end¶
void native.hud._ui_prompt_register_end(int prompt)
_ui_prompt_set_priority¶
void native.hud._ui_prompt_set_priority(int prompt, int priority)
_ui_prompt_set_control_action¶
int native.hud._ui_prompt_set_control_action(int prompt, int action)
_ui_prompt_set_allowed_action¶
void native.hud._ui_prompt_set_allowed_action(int prompt, int action)
_ui_prompt_set_standard_mode¶
void native.hud._ui_prompt_set_standard_mode(int prompt, bool release_mode)
_ui_prompt_has_standard_mode_completed¶
bool native.hud._ui_prompt_has_standard_mode_completed(int prompt, int p1)
_ui_prompt_set_pressed_timed_mode¶
void native.hud._ui_prompt_set_pressed_timed_mode(int prompt, int depletion_time_ms)
_ui_prompt_has_pressed_timed_mode_completed¶
bool native.hud._ui_prompt_has_pressed_timed_mode_completed(int prompt)
_ui_prompt_has_pressed_timed_mode_failed¶
bool native.hud._ui_prompt_has_pressed_timed_mode_failed(int prompt)
_ui_prompt_set_hold_mode¶
void native.hud._ui_prompt_set_hold_mode(int prompt, int hold_time_ms)
_ui_prompt_set_standardized_hold_mode¶
void native.hud._ui_prompt_set_standardized_hold_mode(int prompt, int timed_event_hash)
Hashes: SHORT_TIMED_EVENT_MP, SHORT_TIMED_EVENT, MEDIUM_TIMED_EVENT, LONG_TIMED_EVENT, RUSTLING_CALM_TIMING, PLAYER_FOCUS_TIMING, PLAYER_REACTION_TIMING
_ui_prompt_set_hold_indefinitely_mode¶
void native.hud._ui_prompt_set_hold_indefinitely_mode(int prompt)
_ui_prompt_set_hold_auto_fill_mode¶
void native.hud._ui_prompt_set_hold_auto_fill_mode(int prompt, int auto_fill_time_ms, int hold_time_ms)
_ui_prompt_set_hold_auto_fill_with_decay_mode¶
void native.hud._ui_prompt_set_hold_auto_fill_with_decay_mode(int prompt, int auto_fill_time_ms, int hold_time_ms)
_ui_prompt_has_hold_auto_fill_mode¶
bool native.hud._ui_prompt_has_hold_auto_fill_mode(int prompt)
_ui_prompt_has_hold_mode¶
bool native.hud._ui_prompt_has_hold_mode(int prompt)
_ui_prompt_is_hold_mode_running¶
bool native.hud._ui_prompt_is_hold_mode_running(int prompt)
_ui_prompt_has_hold_mode_completed¶
bool native.hud._ui_prompt_has_hold_mode_completed(int prompt)
_ui_prompt_get_progress¶
float native.hud._ui_prompt_get_progress(int prompt)
_ui_prompt_set_mash_mode¶
void native.hud._ui_prompt_set_mash_mode(int prompt, int mashes)
_ui_prompt_set_mash_indefinitely_mode¶
void native.hud._ui_prompt_set_mash_indefinitely_mode(int prompt)
_ui_prompt_set_mash_with_resistance_mode¶
void native.hud._ui_prompt_set_mash_with_resistance_mode(int prompt, int mashes, float p2, float p3)
_ui_prompt_set_mash_with_resistance_can_fail_mode¶
void native.hud._ui_prompt_set_mash_with_resistance_can_fail_mode(int prompt, int mashes, float p2, float p3)
_ui_prompt_set_mash_auto_fill_mode¶
void native.hud._ui_prompt_set_mash_auto_fill_mode(int prompt, int auto_fill_time_ms, int mashes)
_ui_prompt_set_mash_manual_mode¶
void native.hud._ui_prompt_set_mash_manual_mode(int prompt, float p1, float p2, float p3, int p4)
_ui_prompt_set_mash_manual_can_fail_mode¶
void native.hud._ui_prompt_set_mash_manual_can_fail_mode(int prompt, float p1, float p2, float p3, int p4)
_ui_prompt_has_manual_mash_mode¶
bool native.hud._ui_prompt_has_manual_mash_mode(int prompt)
_ui_prompt_has_mash_mode¶
bool native.hud._ui_prompt_has_mash_mode(int prompt)
_0xb0e8599243b3f568¶
int native.hud._0xb0e8599243b3f568(int p0)
_ui_prompt_has_mash_mode_completed¶
bool native.hud._ui_prompt_has_mash_mode_completed(int prompt)
_ui_prompt_has_mash_mode_failed¶
bool native.hud._ui_prompt_has_mash_mode_failed(int prompt)
_ui_prompt_get_mash_mode_progress¶
float native.hud._ui_prompt_get_mash_mode_progress(int prompt)
_ui_prompt_set_mash_manual_mode_increase_per_press¶
void native.hud._ui_prompt_set_mash_manual_mode_increase_per_press(int prompt, float rate)
standard (prompt not held) rate: (1f / 128f)
fast (prompt held) rate: (1f / 64f)
punitive (been hit) rate: (1f / 128f)
_ui_prompt_set_mash_manual_mode_decay_speed¶
void native.hud._ui_prompt_set_mash_manual_mode_decay_speed(int prompt, float speed)
standard (prompt not held) rate: 0.035f
fast (prompt held) rate: 0.015f
punitive (been hit) rate: 0.14f
_ui_prompt_set_mash_manual_mode_pressed_growth_speed¶
void native.hud._ui_prompt_set_mash_manual_mode_pressed_growth_speed(int prompt, float speed)
_ui_prompt_set_rotate_mode¶
void native.hud._ui_prompt_set_rotate_mode(int prompt, float p1, bool counterclockwise)
_ui_prompt_set_target_mode¶
void native.hud._ui_prompt_set_target_mode(int prompt, float p1, float p2, int p3)
_ui_prompt_set_target_mode_target¶
void native.hud._ui_prompt_set_target_mode_target(int prompt, float p1, float p2)
_ui_prompt_set_target_mode_progress¶
void native.hud._ui_prompt_set_target_mode_progress(int prompt, float progress)
_ui_prompt_set_beat_mode¶
void native.hud._ui_prompt_set_beat_mode(int prompt, bool toggle)
_ui_prompt_was_beat_mode_pressed_in_time_window¶
bool native.hud._ui_prompt_was_beat_mode_pressed_in_time_window(int prompt)
_ui_prompt_set_beat_mode_grayed_out¶
void native.hud._ui_prompt_set_beat_mode_grayed_out(int prompt, int p1)
_ui_prompt_restart_modes¶
void native.hud._ui_prompt_restart_modes(int prompt)
_ui_prompt_set_spinner_speed¶
void native.hud._ui_prompt_set_spinner_speed(int prompt, int p1)
_ui_prompt_set_spinner_position¶
void native.hud._ui_prompt_set_spinner_position(int prompt, int p1)
_ui_prompt_set_urgent_pulsing_enabled¶
void native.hud._ui_prompt_set_urgent_pulsing_enabled(int prompt, bool toggle)
_ui_prompt_get_urgent_pulsing_enabled¶
bool native.hud._ui_prompt_get_urgent_pulsing_enabled(int prompt)
_ui_prompt_set_tag¶
void native.hud._ui_prompt_set_tag(int prompt, int p1)
_ui_prompt_get_group_id_for_target_entity¶
int native.hud._ui_prompt_get_group_id_for_target_entity(int entity)
_ui_prompt_get_group_id_for_scenario_point¶
int native.hud._ui_prompt_get_group_id_for_scenario_point(int p0, int p1)
_ui_prompt_set_group¶
void native.hud._ui_prompt_set_group(int prompt, int group_id, int tab_index)
_ui_prompt_remove_group¶
void native.hud._ui_prompt_remove_group(int prompt, int p1)
_ui_prompt_set_active_group_this_frame¶
int native.hud._ui_prompt_set_active_group_this_frame(int hash, string name, int tab_amount, int tab_default_index, int p4, int prompt)
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
_ui_prompt_get_group_active_page¶
int native.hud._ui_prompt_get_group_active_page(int hash)
_ui_prompt_set_ambient_group_this_frame¶
int native.hud._ui_prompt_set_ambient_group_this_frame(int entity, float p1, int p2, int p3, int p4, string name, int p6)
_0x8b55b324a9123f6b¶
int native.hud._0x8b55b324a9123f6b(int group_id, int volume, string p2, int p3, int p4, int p5)
_ui_prompt_does_ambient_group_exist¶
bool native.hud._ui_prompt_does_ambient_group_exist(int hash)
_ui_prompt_add_group_link¶
void native.hud._ui_prompt_add_group_link(int p0, int prompt, int p2)
_ui_prompt_add_group_return_link¶
void native.hud._ui_prompt_add_group_return_link(int p0, int prompt)
_ui_prompt_set_transport_mode¶
void native.hud._ui_prompt_set_transport_mode(int prompt, int mode)
_ui_prompt_disable_prompts_this_frame¶
void native.hud._ui_prompt_disable_prompts_this_frame()
_ui_prompt_delete¶
void native.hud._ui_prompt_delete(int prompt)
_ui_prompt_is_valid¶
bool native.hud._ui_prompt_is_valid(int prompt)
_ui_prompt_is_active¶
bool native.hud._ui_prompt_is_active(int prompt)
_ui_prompt_set_visible¶
void native.hud._ui_prompt_set_visible(int prompt, bool toggle)
_ui_prompt_set_enabled¶
void native.hud._ui_prompt_set_enabled(int prompt, bool toggle)
_ui_prompt_set_text¶
void native.hud._ui_prompt_set_text(int prompt, string text)
_ui_prompt_set_attribute¶
void native.hud._ui_prompt_set_attribute(int prompt, int attribute, bool enabled)
_ui_prompt_set_type¶
void native.hud._ui_prompt_set_type(int prompt, int type)
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)
_0x53ce46c01a089da1¶
void native.hud._0x53ce46c01a089da1(int prompt, bool p1)
_ui_prompt_set_manual_resolved¶
void native.hud._ui_prompt_set_manual_resolved(int prompt, int p1)
_ui_prompt_context_set_volume¶
void native.hud._ui_prompt_context_set_volume(int prompt, int volume)
_ui_prompt_context_set_point¶
void native.hud._ui_prompt_context_set_point(int prompt, float x, float y, float z)
_ui_prompt_context_set_radius¶
void native.hud._ui_prompt_context_set_radius(int prompt, float radius)
_ui_prompt_is_pressed¶
bool native.hud._ui_prompt_is_pressed(int prompt)
_ui_prompt_is_just_pressed¶
bool native.hud._ui_prompt_is_just_pressed(int prompt)
_ui_prompt_is_just_released¶
bool native.hud._ui_prompt_is_just_released(int prompt)
_ui_prompt_is_released¶
bool native.hud._ui_prompt_is_released(int prompt)
_ui_prompt_enable_prompt_type_this_frame¶
void native.hud._ui_prompt_enable_prompt_type_this_frame(int p0)
_ui_prompt_disable_prompt_type_this_frame¶
void native.hud._ui_prompt_disable_prompt_type_this_frame(int p0)
_ui_prompt_filter_clear¶
void native.hud._ui_prompt_filter_clear()
_ui_prompt_set_prompt_priority_preference¶
void native.hud._ui_prompt_set_prompt_priority_preference(int ped)
_ui_prompt_clear_prompt_priority_preference¶
void native.hud._ui_prompt_clear_prompt_priority_preference()
_ui_prompt_is_enabled¶
bool native.hud._ui_prompt_is_enabled(int prompt)
ui_prompt_is_control_action_active¶
bool native.hud.ui_prompt_is_control_action_active(int control_action)
_0xd6bd313cfa41e57a¶
int native.hud._0xd6bd313cfa41e57a(int p0)
_ui_prompt_set_register_horizontal_orientation¶
int native.hud._ui_prompt_set_register_horizontal_orientation()
_ui_prompt_clear_horizontal_orientation¶
void native.hud._ui_prompt_clear_horizontal_orientation(int id)
_ui_prompt_set_ordering_as_input_type¶
void native.hud._ui_prompt_set_ordering_as_input_type(int prompt, int p1)
_0x066725a9d52b3641¶
int native.hud._0x066725a9d52b3641()
_0x958278b97c4affd8¶
void native.hud._0x958278b97c4affd8(int p0, int p1)
_create_mp_gamer_tag¶
int native.hud._create_mp_gamer_tag(int player, string username, bool pointed_clan_tag, bool is_rockstar_clan, string clan_tag, int clan_flag)
create_fake_mp_gamer_tag¶
int native.hud.create_fake_mp_gamer_tag(int ped, string username, bool pointed_clan_tag, bool is_rockstar_clan, string clan_tag, int clan_flag)
_create_mp_gamer_tag_on_entity¶
int native.hud._create_mp_gamer_tag_on_entity(int entity, string text)
remove_mp_gamer_tag¶
void native.hud.remove_mp_gamer_tag(int gamer_tag_id)
is_mp_gamer_tag_active¶
bool native.hud.is_mp_gamer_tag_active(int gamer_tag_id)
_is_mp_gamer_tag_active_on_entity¶
bool native.hud._is_mp_gamer_tag_active_on_entity(int gamer_tag_id, int entity)
_set_mp_gamer_tag_visibility¶
void native.hud._set_mp_gamer_tag_visibility(int gamer_tag_id, int visibility)
visibility:
enum eUIGamertagVisibility
{
UIGAMERTAGVISIBILITY_NONE,
UIGAMERTAGVISIBILITY_ICON,
UIGAMERTAGVISIBILITY_SIMPLE,
UIGAMERTAGVISIBILITY_COMPLEX
};
_set_mp_gamer_tag_type¶
void native.hud._set_mp_gamer_tag_type(int gamer_tag_id, int type)
_set_mp_gamer_tag_colour¶
void native.hud._set_mp_gamer_tag_colour(int gamer_tag_id, int colour)
_set_mp_gamer_tag_unk_allow_localized¶
void native.hud._set_mp_gamer_tag_unk_allow_localized(int gamer_tag_id, bool allow)
set_mp_gamer_tag_name¶
void native.hud.set_mp_gamer_tag_name(int gamer_tag_id, string string)
_set_mp_gamer_tag_name_posse¶
void native.hud._set_mp_gamer_tag_name_posse(int gamer_tag_id, string text)
set_mp_gamer_tag_big_text¶
void native.hud.set_mp_gamer_tag_big_text(int gamer_tag_id, string string)
_set_mp_gamer_tag_top_icon¶
void native.hud._set_mp_gamer_tag_top_icon(int gamer_tag_id, int icon)
_set_mp_gamer_tag_secondary_icon¶
void native.hud._set_mp_gamer_tag_secondary_icon(int gamer_tag_id, int icon)
_mp_gamer_tag_enable_revive_top_icon¶
void native.hud._mp_gamer_tag_enable_revive_top_icon(int gamer_tag_id)
_mp_gamer_tag_disable_revive_top_icon¶
void native.hud._mp_gamer_tag_disable_revive_top_icon(int gamer_tag_id)