FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_GET_NAME_OF_THREAD
(int threadId)
GET_NO_LOADING_SCREEN
()
GET_NUMBER_OF_EVENTS
(int eventGroup)
_GET_NUMBER_OF_REFERENCES_OF_SCRIPT_WITH_NAME_HASH
(Hash scriptHash)
GET_THIS_SCRIPT_NAME
()
HAS_SCRIPT_LOADED
(char* scriptName)
HAS_SCRIPT_WITH_NAME_HASH_LOADED
(Hash scriptHash)
IS_THREAD_ACTIVE
(int threadId)
_LOCK_LOADING_SCREEN_BUTTONS
()
REQUEST_SCRIPT
(char* scriptName)
REQUEST_SCRIPT_WITH_NAME_HASH
(Hash scriptHash)
SCRIPT_THREAD_ITERATOR_GET_NEXT_THREAD_ID
()
SCRIPT_THREAD_ITERATOR_RESET
()
SET_NO_LOADING_SCREEN
(BOOL toggle)
SET_SCRIPT_AS_NO_LONGER_NEEDED
(char* scriptName)
SET_SCRIPT_WITH_NAME_HASH_AS_NO_LONGER_NEEDED
(Hash scriptHash)
SHUTDOWN_LOADING_SCREEN
()
TERMINATE_THIS_THREAD
()
TERMINATE_THREAD
(int threadId)
TRIGGER_SCRIPT_EVENT
(int eventGroup, int* eventData, int eventDataSize, int playerBits)
_TRIGGER_SCRIPT_EVENT_2
(int eventGroup, int* eventData, int eventDataSize, int playerBits)
0x0F6F1EBBC4E1D5E6
(int scriptIndex, char* p1)
0x22E21FBCFC88C149
(int scriptIndex, char* p1)
0x760910B49D2B98EA
()
0x829CD22E043A2577
(Hash p0)
0x836B62713E0534CA
()
Namespace:
SHAPETEST
GET_SHAPE_TEST_RESULT
(int shapeTestHandle, BOOL* hit, Vector3* endCoords, Vector3* surfaceNormal, Entity* entityHit)
GET_SHAPE_TEST_RESULT_INCLUDING_MATERIAL
(int shapeTestHandle, BOOL* hit, Vector3* endCoords, Vector3* surfaceNormal, Hash* materialHash, Entity* entityHit)
RELEASE_SCRIPT_GUID_FROM_ENTITY
(Entity entity)
START_EXPENSIVE_SYNCHRONOUS_SHAPE_TEST_LOS_PROBE
(float x1, float y1, float z1, float x2, float y2, float z2, int flags, Entity entity, int p8)
START_SHAPE_TEST_BOUND
(Entity entity, int flags1, int flags2)
START_SHAPE_TEST_BOUNDING_BOX
(Entity entity, int flags1, int flags2)
START_SHAPE_TEST_BOX
(float x, float y, float z, float x1, float y1, float z1, float rotX, float rotY, float rotZ, int p9, int flags, Entity entity, int p12)
START_SHAPE_TEST_CAPSULE
(float x1, float y1, float z1, float x2, float y2, float z2, float radius, int flags, Entity entity, int p9)