FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_DRAW_SPRITE_POLY_2
(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float red1, float green1, float blue1, int alpha1, float red2, float green2, float blue2, int alpha2, float red3, float green3, float blue3, int alpha3, char* textureDict, char* textureName, float u1, float v1, float w1, float u2, float v2, float w2, float u3, float v3, float w3)
_DRAW_SPRITE_UV
(char* textureDict, char* textureName, float x, float y, float width, float height, float u1, float v1, float u2, float v2, float heading, int red, int green, int blue, int alpha)
DRAW_TEXTURED_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, char* textureDict, char* textureName, float u1, float v1, float w1, float u2, float v2, float w2, float u3, float v3, float w3)
DRAW_TV_CHANNEL
(float xPos, float yPos, float xScale, float yScale, float rotation, int red, int green, int blue, int alpha)
ENABLE_ALIEN_BLOOD_VFX
(BOOL toggle)
ENABLE_CLOWN_BLOOD_VFX
(BOOL toggle)
ENABLE_MOON_CYCLE_OVERRIDE
(float phase)
ENABLE_MOVIE_KEYFRAME_WAIT
(BOOL toggle)
ENABLE_MOVIE_SUBTITLES
(BOOL toggle)
END_PETROL_TRAIL_DECALS
()
END_SCALEFORM_MOVIE_METHOD
()
END_SCALEFORM_MOVIE_METHOD_RETURN_VALUE
()
END_TEXT_COMMAND_SCALEFORM_STRING
()
END_TEXT_COMMAND_UNPARSED_SCALEFORM_STRING
()
FADE_DECALS_IN_RANGE
(float x, float y, float z, float radius, float duration)
FADE_UP_PED_LIGHT
(float p0)
FORCE_RENDER_IN_GAME_UI
(BOOL toggle)
FREE_MEMORY_FOR_HIGH_QUALITY_PHOTO
()
FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
()
FREE_MEMORY_FOR_MISSION_CREATOR_PHOTO
()
GET_ACTUAL_SCREEN_RESOLUTION
(int* x, int* y)
GET_ASPECT_RATIO
(BOOL physicalAspect)
_GET_BINK_MOVIE_TIME
(int binkMovie)
GET_CURRENT_NUMBER_OF_CLOUD_PHOTOS
()
GET_DECAL_WASH_LEVEL
(int decal)
_GET_EXTRA_TIMECYCLE_MODIFIER_INDEX
()
GET_IS_HIDEF
()
GET_IS_PETROL_DECAL_IN_RANGE
(float xCoord, float yCoord, float zCoord, float radius)
GET_IS_WIDESCREEN
()
GET_MAXIMUM_NUMBER_OF_CLOUD_PHOTOS
()
GET_MAXIMUM_NUMBER_OF_PHOTOS
()
GET_REQUESTINGNIGHTVISION
()
GET_SAFE_ZONE_SIZE
()
GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL
(int methodReturn)
GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_INT
(int method_return)