FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_FLOATING_HELP_TEXT_STYLE
(int hudIndex, int style, int hudColor, int alpha, int arrowPosition, int boxOffset)
SET_FLOATING_HELP_TEXT_TO_ENTITY
(int hudIndex, Entity entity, float offsetX, float offsetY)
SET_FLOATING_HELP_TEXT_WORLD_POSITION
(int hudIndex, float x, float y, float z)
SET_FRONTEND_ACTIVE
(BOOL active)
SET_GPS_CUSTOM_ROUTE_RENDER
(BOOL toggle, int radarThickness, int mapThickness)
SET_GPS_FLAGS
(int p0, float p1)
SET_GPS_FLASHES
(BOOL toggle)
SET_GPS_MULTI_ROUTE_RENDER
(BOOL toggle)
SET_HEALTH_HUD_DISPLAY_VALUES
(int health, int capacity, BOOL wasAdded)
_SET_HELP_MESSAGE_TEXT_STYLE
(int style, int hudColor, int alpha, int p3, int p4)
SET_HUD_COMPONENT_POSITION
(int id, float x, float y)
_SET_INTERIOR_ZOOM_LEVEL_DECREASED
(BOOL toggle)
_SET_INTERIOR_ZOOM_LEVEL_INCREASED
(BOOL toggle)
_SET_MAIN_PLAYER_BLIP_COLOUR
(int color)
SET_MAX_ARMOUR_HUD_DISPLAY
(int maximumValue)
SET_MAX_HEALTH_HUD_DISPLAY
(int maximumValue)
_SET_MINIMAP_ALTITUDE_INDICATOR_LEVEL
(float altitude, BOOL p1)
SET_MINIMAP_BLOCK_WAYPOINT
(BOOL toggle)
SET_MINIMAP_COMPONENT
(int componentID, BOOL toggle, int hudColor)
SET_MINIMAP_FOW_REVEAL_COORDINATE
(float x, float y, float z)
SET_MINIMAP_GOLF_COURSE
(int hole)
SET_MINIMAP_GOLF_COURSE_OFF
()
SET_MINIMAP_HIDE_FOW
(BOOL toggle)
SET_MINIMAP_IN_PROLOGUE
(BOOL toggle)
SET_MINIMAP_IN_SPECTATOR_MODE
(BOOL toggle, Ped ped)
SET_MINIMAP_SONAR_SWEEP
(BOOL toggle)
SET_MISSION_NAME
(BOOL p0, char* name)
_SET_MISSION_NAME_2
(BOOL p0, char* name)
_SET_MOUSE_CURSOR_ACTIVE_THIS_FRAME
()
_SET_MOUSE_CURSOR_SPRITE
(int spriteId)
_SET_MOUSE_CURSOR_VISIBLE_IN_MENUS
(BOOL enable)
SET_MP_GAMER_TAG_ALPHA
(int gamerTagId, int component, int alpha)
SET_MP_GAMER_TAG_BIG_TEXT
(int gamerTagId, char* string)
SET_MP_GAMER_TAG_COLOUR
(int gamerTagId, int component, int hudColorIndex)
_SET_MP_GAMER_TAG_DISABLE_PLAYER_HEALTH_SYNC
(int gamerTagId, BOOL toggle)