FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
DISABLE_MOON_CYCLE_OVERRIDE
()
DISABLE_OCCLUSION_THIS_FRAME
()
DISABLE_SCREENBLUR_FADE
()
_DISABLE_SCRIPT_AMBIENT_EFFECTS
(Any p0)
DISABLE_VEHICLE_DISTANTLIGHTS
(BOOL toggle)
DOES_LATEST_BRIEF_STRING_EXIST
(int briefValue)
DOES_PARTICLE_FX_LOOPED_EXIST
(int ptfxHandle)
DOES_VEHICLE_HAVE_CREW_EMBLEM
(Vehicle vehicle, int p1)
DONT_RENDER_IN_GAME_UI
(BOOL p0)
_DRAW_BINK_MOVIE
(int binkMovie, float posX, float posY, float scaleX, float scaleY, float rotation, int r, int g, int b, int a)
DRAW_BOX
(float x1, float y1, float z1, float x2, float y2, float z2, int red, int green, int blue, int alpha)
DRAW_DEBUG_BOX
(float x1, float y1, float z1, float x2, float y2, float z2, int r, int g, int b, int a)
DRAW_DEBUG_CROSS
(float x, float y, float z, float size, int red, int green, int blue, int alpha)
DRAW_DEBUG_LINE
(float x1, float y1, float z1, float x2, float y2, float z2, int r, int g, int b, int a)
DRAW_DEBUG_LINE_WITH_TWO_COLOURS
(float x1, float y1, float z1, float x2, float y2, float z2, int r1, int g1, int b1, int r2, int g2, int b2, int alpha1, int alpha2)
DRAW_DEBUG_SPHERE
(float x, float y, float z, float radius, int red, int green, int blue, int alpha)
DRAW_DEBUG_TEXT
(char* text, float x, float y, float z, int red, int green, int blue, int alpha)
DRAW_DEBUG_TEXT_2D
(char* text, float x, float y, float z, int red, int green, int blue, int alpha)
_DRAW_INTERACTIVE_SPRITE
(char* textureDict, char* textureName, float screenX, float screenY, float width, float height, float heading, int red, int green, int blue, int alpha)
DRAW_LIGHT_WITH_RANGE
(float posX, float posY, float posZ, int colorR, int colorG, int colorB, float range, float intensity)
_DRAW_LIGHT_WITH_RANGE_AND_SHADOW
(float x, float y, float z, int r, int g, int b, float range, float intensity, float shadow)
DRAW_LINE
(float x1, float y1, float z1, float x2, float y2, float z2, int red, int green, int blue, int alpha)
DRAW_LOW_QUALITY_PHOTO_TO_PHONE
(BOOL p0, BOOL p1)