FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
REMOVE_IPL
(char* iplName)
REMOVE_MODEL_FROM_CREATOR_BUDGET
(Hash modelHash)
REMOVE_NAMED_PTFX_ASSET
(char* fxName)
REMOVE_PTFX_ASSET
()
REQUEST_ADDITIONAL_COLLISION_AT_COORD
(float x, float y, float z)
REQUEST_ANIM_DICT
(char* animDict)
REQUEST_ANIM_SET
(char* animSet)
REQUEST_CLIP_SET
(char* clipSet)
REQUEST_COLLISION_AT_COORD
(float x, float y, float z)
REQUEST_COLLISION_FOR_MODEL
(Hash model)
REQUEST_IPL
(char* iplName)
REQUEST_MENU_PED_MODEL
(Hash model)
REQUEST_MODEL
(Hash model)
REQUEST_MODELS_IN_ROOM
(int interior, char* roomName)
REQUEST_NAMED_PTFX_ASSET
(char* fxName)
REQUEST_PTFX_ASSET
()
SET_DITCH_POLICE_MODELS
(BOOL toggle)
SET_FOCUS_ENTITY
(Entity entity)
SET_FOCUS_POS_AND_VEL
(float x, float y, float z, float offsetX, float offsetY, float offsetZ)
SET_GAME_PAUSES_FOR_STREAMING
(BOOL toggle)
SET_HD_AREA
(float x, float y, float z, float radius)
SET_INTERIOR_ACTIVE
(int interiorID, BOOL toggle)
SET_ISLAND_ENABLED
(char* islandName, BOOL toggle)
SET_MAPDATACULLBOX_ENABLED
(char* name, BOOL toggle)
SET_MODEL_AS_NO_LONGER_NEEDED
(Hash model)
SET_PED_POPULATION_BUDGET
(int budgetLevel)
SET_PLAYER_SHORT_SWITCH_STYLE
(int style)
SET_PLAYER_SWITCH_ESTABLISHING_SHOT
(char* name)
SET_PLAYER_SWITCH_OUTRO
(float cameraCoordX, float cameraCoordY, float cameraCoordZ, float camRotationX, float camRotationY, float camRotationZ, float camFov, float camFarClip, int rotationOrder)
SET_REDUCE_PED_MODEL_BUDGET
(BOOL toggle)
SET_REDUCE_VEHICLE_MODEL_BUDGET
(BOOL toggle)
SET_RENDER_HD_ONLY
(BOOL toggle)
SET_SRL_TIME
(float p0)
SET_STREAMING
(BOOL toggle)
SET_VEHICLE_POPULATION_BUDGET
(int p0)