FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_CLOSEST_OBJECT_OF_TYPE
(float x, float y, float z, float radius, Hash modelHash, BOOL isMission, BOOL p6, BOOL p7)
GET_COORDS_AND_ROTATION_OF_CLOSEST_OBJECT_OF_TYPE
(float x, float y, float z, float radius, Hash modelHash, Vector3* outPosition, Vector3* outRotation, int rotationOrder)
_GET_IS_ARENA_PROP_PHYSICS_DISABLED
(Object entity, Any p1)
GET_OBJECT_FRAGMENT_DAMAGE_HEALTH
(Any p0, BOOL p1)
_GET_OBJECT_TEXTURE_VARIATION
(Object object)
GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS
(float xPos, float yPos, float zPos, float heading, float xOffset, float yOffset, float zOffset)
GET_PICKUP_COORDS
(Pickup pickup)
_GET_PICKUP_GENERATION_RANGE_MULTIPLIER
()
_GET_PICKUP_HASH
(Hash pickupHash)
_GET_PICKUP_HASH_FROM_WEAPON
(Hash weapon)
GET_PICKUP_OBJECT
(Pickup pickup)
GET_RAYFIRE_MAP_OBJECT
(float x, float y, float z, float radius, char* name)
GET_RAYFIRE_MAP_OBJECT_ANIM_PHASE
(Object object)
GET_SAFE_PICKUP_COORDS
(float x, float y, float z, float p3, float p4)
GET_STATE_OF_CLOSEST_DOOR_OF_TYPE
(Hash type, float x, float y, float z, BOOL* locked, float* heading)
GET_STATE_OF_RAYFIRE_MAP_OBJECT
(Object object)
GET_WEAPON_TYPE_FROM_PICKUP_TYPE
(Hash pickupHash)
HAS_CLOSEST_OBJECT_OF_TYPE_BEEN_BROKEN
(float p0, float p1, float p2, float p3, Hash modelHash, Any p5)
HAS_CLOSEST_OBJECT_OF_TYPE_BEEN_COMPLETELY_DESTROYED
(float x, float y, float z, float radius, Hash modelHash, BOOL p5)
HAS_OBJECT_BEEN_BROKEN
(Object object)
HAS_PICKUP_BEEN_COLLECTED
(Pickup pickup)
HIDE_PORTABLE_PICKUP_WHEN_DETACHED
(Pickup pickup, BOOL toggle)
IS_ANY_ENTITY_ENTIRELY_INSIDE_GARAGE
(Hash garageHash, BOOL p1, BOOL p2, BOOL p3, Any p4)
IS_ANY_OBJECT_NEAR_POINT
(float x, float y, float z, float range, BOOL p4)
IS_DOOR_CLOSED
(Hash doorHash)
IS_DOOR_REGISTERED_WITH_SYSTEM
(Hash doorHash)
IS_GARAGE_EMPTY
(Hash garageHash, BOOL p1, int p2)
IS_OBJECT_A_PICKUP
(Object object)
IS_OBJECT_A_PORTABLE_PICKUP
(Object object)
IS_OBJECT_ENTIRELY_INSIDE_GARAGE
(Hash garageHash, Entity entity, float p2, int p3)
IS_OBJECT_NEAR_POINT
(Hash objectHash, float x, float y, float z, float range)
IS_OBJECT_PARTIALLY_INSIDE_GARAGE
(Hash garageHash, Entity entity, int p2)
IS_OBJECT_VISIBLE
(Object object)
IS_PICKUP_WEAPON_OBJECT_VALID
(Object object)
IS_PLAYER_ENTIRELY_INSIDE_GARAGE
(Hash garageHash, Player player, float p2, int p3)