FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
ANIMPOSTFX_IS_RUNNING
(char* effectName)
ANIMPOSTFX_PLAY
(char* effectName, int duration, BOOL looped)
ANIMPOSTFX_STOP
(char* effectName)
ANIMPOSTFX_STOP_ALL
()
_ANIMPOSTFX_STOP_AND_DO_UNK
(char* effectName)
ATTACH_TV_AUDIO_TO_ENTITY
(Entity entity)
BEGIN_SCALEFORM_MOVIE_METHOD
(int scaleform, char* methodName)
BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND
(char* functionName)
BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND_HEADER
(char* functionName)
BEGIN_SCALEFORM_SCRIPT_HUD_MOVIE_METHOD
(int hudComponent, char* methodName)
BEGIN_TAKE_HIGH_QUALITY_PHOTO
()
BEGIN_TAKE_MISSION_CREATOR_PHOTO
()
BEGIN_TEXT_COMMAND_SCALEFORM_STRING
(char* textLabel)
CALL_SCALEFORM_MOVIE_METHOD
(int scaleform, char* method)
CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER
(int scaleform, char* methodName, float param1, float param2, float param3, float param4, float param5)
CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER_AND_STRING
(int scaleform, char* methodName, float floatParam1, float floatParam2, float floatParam3, float floatParam4, float floatParam5, char* stringParam1, char* stringParam2, char* stringParam3, char* stringParam4, char* stringParam5)
CALL_SCALEFORM_MOVIE_METHOD_WITH_STRING
(int scaleform, char* methodName, char* param1, char* param2, char* param3, char* param4, char* param5)
_CASCADE_SHADOWS_CLEAR_SHADOW_SAMPLE_TYPE
()
CASCADE_SHADOWS_ENABLE_ENTITY_TRACKER
(BOOL toggle)
CASCADE_SHADOWS_INIT_SESSION
()
CASCADE_SHADOWS_SET_AIRCRAFT_MODE
(BOOL p0)
CASCADE_SHADOWS_SET_CASCADE_BOUNDS
(Any p0, BOOL p1, float p2, float p3, float p4, float p5, BOOL p6, float p7)
CASCADE_SHADOWS_SET_CASCADE_BOUNDS_SCALE
(float p0)
CASCADE_SHADOWS_SET_DYNAMIC_DEPTH_MODE
(BOOL p0)
CASCADE_SHADOWS_SET_DYNAMIC_DEPTH_VALUE
(float p0)
CASCADE_SHADOWS_SET_ENTITY_TRACKER_SCALE
(float p0)
CASCADE_SHADOWS_SET_SHADOW_SAMPLE_TYPE
(char* type)
CLEAR_DRAW_ORIGIN
()
_CLEAR_EXTRA_TIMECYCLE_MODIFIER
()
CLEAR_TIMECYCLE_MODIFIER
()
CLEAR_TV_CHANNEL_PLAYLIST
(int tvChannel)
CREATE_CHECKPOINT
(int type, float posX1, float posY1, float posZ1, float posX2, float posY2, float posZ2, float diameter, int red, int green, int blue, int alpha, int reserved)
CREATE_TRACKED_POINT
()
DELETE_CHECKPOINT
(int checkpoint)
DESTROY_TRACKED_POINT
(int point)