Lua Documentation
  • Practical Information
  • Lua Documentation
    • API Reference
      • Classes
        • vec2
        • vec3
      • g_lua
        • register
        • unregister
        • load_lua
      • g_memory
        • get_base_address
        • scan_pattern
        • rip
        • allocate
        • free
        • write_byte
        • write_short
        • write_int
        • write_long_long
        • write_float
        • write_double
        • write_string
        • read_byte
        • read_short
        • read_int
        • read_long_long
        • read_float
        • read_double
        • read_string
      • g_logger
        • log_info
      • g_gui
        • is_open
        • open
        • close
        • toggle
        • add_toast
        • add_button
        • add_toggle
        • add_input_int
        • add_input_float
        • add_input_string
      • g_hooking
        • register_D3D_hook
        • register_wndproc_hook
        • register_scripted_game_event_hook
        • unregister_hook
      • g_math
        • sin
        • cos
        • tan
      • g_util
        • yield
        • is_session_started
        • get_selected_player
        • trigger_script_event
        • get_menu_version
        • joaat
        • play_wav_file
      • g_imgui
        • Globals
        • get_display_size
        • set_next_window_size
        • set_next_window_pos
        • get_window_size
        • get_window_pos
        • push_style_var
        • pop_style_var
        • begin_window
        • end_window
        • begin_child
        • end_child
        • same_line
        • new_line
        • separator
        • columns
        • next_column
        • set_column_offset
        • is_item_hovered
        • add_line
        • add_circle
        • add_circle_filled
        • add_rect
        • add_rect_filled
        • set_next_item_width
        • get_content_region_avail
        • add_button
        • add_checkbox
        • add_input_string
        • add_input_string_with_hint
        • add_text
        • add_triangle
        • add_triangle_filled
        • begin_main_menu_bar
        • end_main_menu_bar
        • begin_menu
        • end_menu
        • menu_item
        • begin_tab_bar
        • end_tab_bar
        • begin_tab_item
        • end_tab_item
        • open_popup
        • close_current_popup
        • is_popup_open
        • begin_popup
        • end_popup
      • g_os
        • time
        • time_ms
        • finger_print
      • NATIVES
        • POOL
        • PLAYER
        • SYSTEM
        • CAM
        • DECORATOR
        • WORLDPROBE
        • STATS
        • CLOCK
        • FIRE
        • STREAMING
        • CUTSCENE
        • WATER
        • AUDIO
        • INTERIOR
        • TASK
        • CONTROL
        • NETWORK
        • OBJECT
        • ENTITY
        • VEHICLE
        • WEAPON
        • SCRIPT
        • PED
        • MISC
        • GAMEPLAY
        • UI
        • GRAPHICS
        • MOBILE
Powered by GitBook
On this page
  1. Lua Documentation
  2. API Reference
  3. NATIVES

UI

int GET_WAYPOINT_BLIP_ENUM_ID()
Blip GET_FIRST_BLIP_INFO_ID(int blipSprite)
bool DOES_BLIP_EXIST(Blip blip)
Blip GET_NEXT_BLIP_INFO_ID(int blipSprite)
int GET_BLIP_INFO_ID_TYPE(Blip blip)
vec3 GET_BLIP_INFO_ID_COORD(Blip blip)
void BEGIN_TEXT_COMMAND_DISPLAY_TEXT(string text)
void ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(string text)
void END_TEXT_COMMAND_DISPLAY_TEXT(float x, float y, int p2)
void DRAW_TEXT(string text, float x, float y, float width, float height, int red, int green, int blue, int alpha, int font, bool centered, bool rightAligned, bool outline)
Blip GET_BLIP_FROM_ENTITY(Entity entity)
Blip ADD_BLIP_FOR_ENTITY(Entity entity)
void SET_BLIP_SPRITE(Blip blip, int spriteId)
void SET_BLIP_COLOUR(Blip blip, int color)
void HIDE_HUD_COMPONENT_THIS_FRAME(int id)
void HIDE_HUD_AND_RADAR_THIS_FRAME()
string GET_LABEL_TEXT(string labelName)
void DRAW_RECT(float x, float y, float width, float height, int r, int g, int b, int a, bool p8)
void DRAW_LINE(float x1, float y1, float z1, float x2, float y2, float z2, int red, int green, int blue, int alpha)
void SET_TEXT_SCALE(float scale, float size)
void SET_TEXT_COLOUR(int red, int green, int blue, int alpha)
void SET_TEXT_FONT(int fontType)
void SET_TEXT_WRAP(float start, float end)
void SET_TEXT_OUTLINE()
void SET_TEXT_CENTRE(bool align)
void SET_TEXT_RIGHT_JUSTIFY(bool toggle)
void SET_TEXT_JUSTIFICATION(int justifyType)
void SET_NEW_WAYPOINT(float x, float y)
bool IS_HUD_COMPONENT_ACTIVE(int id)
void SHOW_HUD_COMPONENT_THIS_FRAME(int id)
void SET_WAYPOINT_OFF()
void SET_BLIP_AS_MISSION_CREATOR_BLIP(Blip blip, bool toggle)
bool IS_MISSION_CREATOR_BLIP(Blip blip)
Blip ADD_BLIP_FOR_RADIUS(float posX, float posY, float posZ, float radius)
Blip ADD_BLIP_FOR_PICKUP(Pickup pickup)
Blip ADD_BLIP_FOR_COORD(float x, float y, float z)
void SET_BLIP_COORD(Blip blip, float posX, float posY, float posZ)
vec3 GET_BLIP_COORDS(Blip blip)
void REMOVE_BLIP(Blip blip)
void SET_BLIP_ROUTE(Blip blip, bool enabled)
void SET_BLIP_ROUTE_COLOUR(Blip blip, int colour)
int GET_WAYPOINT_BLIP_ENUM_ID()
Blip GET_FIRST_BLIP_INFO_ID(int blipSprite)
BOOL DOES_BLIP_EXIST(Blip blip)
Blip GET_NEXT_BLIP_INFO_ID(int blipSprite)
int GET_BLIP_INFO_ID_TYPE(Blip blip)
vec3 GET_BLIP_INFO_ID_COORD(Blip blip)
PreviousGAMEPLAYNextGRAPHICS

Last updated 3 years ago