FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
DOES_PLAYER_OWN_SKU_EXT
(char* playerSrc, int skuId)
DOES_TIMECYCLE_MODIFIER_HAS_VAR
(char* modifierName, char* varName)
DOES_VEHICLE_USE_FUEL
(Vehicle vehicle)
DOOR_SYSTEM_GET_ACTIVE
()
DOOR_SYSTEM_GET_SIZE
()
DRAW_GIZMO
(long matrixPtr, char* id)
DRAW_GLOW_SPHERE
(float posX, float posY, float posZ, float radius, int colorR, int colorG, int colorB, float intensity, BOOL invert, BOOL marker)
DRAW_LINE_2D
(float x1, float y1, float x2, float y2, float width, int r, int g, int b, int a)
DRAW_RECT_ROTATED
(float x, float y, float width, float height, float rotation, int r, int g, int b, int a)
DROP_PLAYER
(char* playerSrc, char* reason)
DUPLICATE_FUNCTION_REFERENCE
(char* referenceIdentity)
ENABLE_EDITOR_RUNTIME
()
ENABLE_ENHANCED_HOST_SUPPORT
(BOOL enabled)
END_FIND_KVP
(int handle)
END_FIND_OBJECT
(int findHandle)
END_FIND_PED
(int findHandle)
END_FIND_PICKUP
(int findHandle)
END_FIND_VEHICLE
(int findHandle)
ENSURE_ENTITY_STATE_BAG
(Entity entity)
ENTER_CURSOR_MODE
()
EXECUTE_COMMAND
(char* commandString)
EXPERIMENTAL_LOAD_CLONE_CREATE
(char* data, int objectId, char* tree)
EXPERIMENTAL_LOAD_CLONE_SYNC
(Entity entity, char* data)
EXPERIMENTAL_SAVE_CLONE_CREATE
(Entity entity)
EXPERIMENTAL_SAVE_CLONE_SYNC
(Entity entity)
FIND_FIRST_OBJECT
(Entity* outEntity)
FIND_FIRST_PED
(Entity* outEntity)
FIND_FIRST_PICKUP
(Entity* outEntity)
FIND_FIRST_VEHICLE
(Entity* outEntity)
FIND_KVP
(int handle)
FIND_NEXT_OBJECT
(int findHandle, Entity* outEntity)
FIND_NEXT_PED
(int findHandle, Entity* outEntity)
FIND_NEXT_PICKUP
(int findHandle, Entity* outEntity)
FIND_NEXT_VEHICLE
(int findHandle, Entity* outEntity)
FLAG_SERVER_AS_PRIVATE
(BOOL private_)