FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
DRAW_MARKER
(int type, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ, int red, int green, int blue, int alpha, BOOL bobUpAndDown, BOOL faceCamera, int p19, BOOL rotate, char* textureDict, char* textureName, BOOL drawOnEnts)
_DRAW_MARKER_2
(int type, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ, int red, int green, int blue, int alpha, BOOL bobUpAndDown, BOOL faceCamera, int p19, BOOL rotate, char* textureDict, char* textureName, BOOL drawOnEnts, BOOL p24)
DRAW_POLY
(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, int red, int green, int blue, int alpha)
DRAW_RECT
(float x, float y, float width, float height, int r, int g, int b, int a)
DRAW_SCALEFORM_MOVIE
(int scaleformHandle, float x, float y, float width, float height, int red, int green, int blue, int alpha, int unk)
DRAW_SCALEFORM_MOVIE_3D
(int scaleform, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float p7, float sharpness, float p9, float scaleX, float scaleY, float scaleZ, Any p13)
DRAW_SCALEFORM_MOVIE_3D_SOLID
(int scaleform, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float p7, float p8, float p9, float scaleX, float scaleY, float scaleZ, Any p13)
DRAW_SCALEFORM_MOVIE_FULLSCREEN
(int scaleform, int red, int green, int blue, int alpha, int unk)
DRAW_SCALEFORM_MOVIE_FULLSCREEN_MASKED
(int scaleform1, int scaleform2, int red, int green, int blue, int alpha)
_DRAW_SHOWROOM
(char* p0, Ped ped, int p2, float posX, float posY, float posZ)