FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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_SCALEFORM_STRING_2
()
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_ACTIVE_SCREEN_RESOLUTION
(int* x, int* y)
_GET_ASPECT_RATIO
(BOOL b)
_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)
GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_STRING
(int method_return)
GET_SCREEN_COORD_FROM_WORLD_COORD
(float worldX, float worldY, float worldZ, float* screenX, float* screenY)
GET_SCREEN_RESOLUTION
(int* x, int* y)