FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_CLEAR_GARAGE_AREA
(Hash garageHash, BOOL isNetwork)
CLEAR_OBJECTS_INSIDE_GARAGE
(Hash garageHash, BOOL vehicles, BOOL peds, BOOL objects, BOOL isNetwork)
CREATE_AMBIENT_PICKUP
(Hash pickupHash, float posX, float posY, float posZ, int flags, int value, Hash modelHash, BOOL returnHandle, BOOL p8)
CREATE_MONEY_PICKUPS
(float x, float y, float z, int value, int amount, Hash model)
_CREATE_NON_NETWORKED_AMBIENT_PICKUP
(Any pickupHash, float posX, float posY, float posZ, int flags, int value, Any modelHash, BOOL p7, BOOL p8)
CREATE_NON_NETWORKED_PORTABLE_PICKUP
(Hash pickupHash, float x, float y, float z, BOOL placeOnGround, Hash modelHash)
CREATE_OBJECT
(Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL netMissionEntity, BOOL doorFlag)
CREATE_OBJECT_NO_OFFSET
(Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL netMissionEntity, BOOL doorFlag)
CREATE_PICKUP
(Hash pickupHash, float posX, float posY, float posZ, int p4, int value, BOOL p6, Hash modelHash)
CREATE_PICKUP_ROTATE
(Hash pickupHash, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, int flag, int amount, Any p9, BOOL p10, Hash modelHash)
CREATE_PORTABLE_PICKUP
(Hash pickupHash, float x, float y, float z, BOOL placeOnGround, Hash modelHash)
DELETE_OBJECT
(Object* object)
DETACH_PORTABLE_PICKUP_FROM_PED
(Object pickupObject)
DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS
(float x, float y, float z, float radius, Hash hash, BOOL p5)
DOES_PICKUP_EXIST
(Pickup pickup)
DOES_PICKUP_OBJECT_EXIST
(Object pickupObject)
DOES_PICKUP_OF_TYPE_EXIST_IN_AREA
(Hash pickupHash, float x, float y, float z, float radius)
DOES_RAYFIRE_MAP_OBJECT_EXIST
(Object object)
_DOOR_CONTROL
(Hash modelHash, float x, float y, float z, BOOL locked, float xRotMult, float yRotMult, float zRotMult)
DOOR_SYSTEM_FIND_EXISTING_DOOR
(float x, float y, float z, Hash modelHash, Hash* doorOutPointer)
_DOOR_SYSTEM_GET_AUTOMATIC_DISTANCE
(Hash doorHash)
DOOR_SYSTEM_GET_DOOR_PENDING_STATE
(Hash doorHash)
DOOR_SYSTEM_GET_DOOR_STATE
(Hash doorHash)
DOOR_SYSTEM_GET_IS_PHYSICS_LOADED
(Hash doorHash)
DOOR_SYSTEM_GET_OPEN_RATIO
(Hash doorHash)
DOOR_SYSTEM_SET_AUTOMATIC_DISTANCE
(Hash doorHash, float distance, BOOL requestDoor, BOOL forceUpdate)
DOOR_SYSTEM_SET_AUTOMATIC_RATE
(Hash doorHash, float rate, BOOL requestDoor, BOOL forceUpdate)
DOOR_SYSTEM_SET_DOOR_STATE
(Hash doorHash, int state, BOOL requestDoor, BOOL forceUpdate)
DOOR_SYSTEM_SET_HOLD_OPEN
(Hash doorHash, BOOL toggle)
DOOR_SYSTEM_SET_OPEN_RATIO
(Hash doorHash, float ajar, BOOL requestDoor, BOOL forceUpdate)
DOOR_SYSTEM_SET_SPRING_REMOVED
(Hash doorHash, BOOL removed, BOOL requestDoor, BOOL forceUpdate)
ENABLE_SAVING_IN_GARAGE
(Hash garageHash, BOOL toggle)
FIX_OBJECT_FRAGMENT
(Object object)
_FORCE_PICKUP_REGENERATE
(Any p0)
GET_CLOSEST_OBJECT_OF_TYPE
(float x, float y, float z, float radius, Hash modelHash, BOOL isMission, BOOL p6, BOOL p7)