FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_MAX_NUM_NETWORK_VEHICLES
()
GET_NETWORK_TIME
()
GET_NETWORK_TIME_ACCURATE
()
GET_NUM_COMMERCE_ITEMS
()
GET_NUM_CREATED_MISSION_OBJECTS
(BOOL p0)
GET_NUM_CREATED_MISSION_PEDS
(BOOL p0)
GET_NUM_CREATED_MISSION_VEHICLES
(BOOL p0)
GET_NUM_RESERVED_MISSION_OBJECTS
(BOOL p0)
GET_NUM_RESERVED_MISSION_PEDS
(BOOL p0)
GET_NUM_RESERVED_MISSION_VEHICLES
(BOOL p0)
_GET_ONLINE_VERSION
()
GET_STATUS_OF_TEXTURE_DOWNLOAD
(int p0)
GET_TIME_AS_STRING
(int time)
GET_TIME_DIFFERENCE
(int timeA, int timeB)
GET_TIME_OFFSET
(int timeA, int timeB)
HAS_NETWORK_TIME_STARTED
()
IS_COMMERCE_DATA_VALID
()
IS_COMMERCE_STORE_OPEN
()
IS_DAMAGE_TRACKER_ACTIVE_ON_NETWORK_ID
(int netID)
_IS_DAMAGE_TRACKER_ACTIVE_ON_PLAYER
(Player player)
_IS_ENTITY_GHOSTED_TO_LOCAL_PLAYER
(Entity entity)
IS_NETWORK_ID_OWNED_BY_PARTICIPANT
(int netId)
IS_PLAYER_IN_CUTSCENE
(Player player)
IS_SPHERE_VISIBLE_TO_ANOTHER_MACHINE
(float p0, float p1, float p2, float p3)
IS_SPHERE_VISIBLE_TO_PLAYER
(Any p0, float p1, float p2, float p3, float p4)
IS_STORE_AVAILABLE_TO_USER
()
IS_TIME_EQUAL_TO
(int timeA, int timeB)
IS_TIME_LESS_THAN
(int timeA, int timeB)
IS_TIME_MORE_THAN
(int timeA, int timeB)
NET_TO_ENT
(int netHandle)
NET_TO_OBJ
(int netHandle)
NET_TO_PED
(int netHandle)
NET_TO_VEH
(int netHandle)
_NETWORK_ACCEPT_INVITE
()
NETWORK_ACCEPT_PRESENCE_INVITE
(Any p0)