FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
START_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_SURROUNDING_COORDS
(Vector3* pVec1, Vector3* pVec2, int flag, Entity entity, int flag2)
START_SHAPE_TEST_SWEPT_SPHERE
(float x1, float y1, float z1, float x2, float y2, float z2, float radius, int flags, Entity entity, int p9)
Namespace:
SOCIALCLUB
_IS_ROCKSTAR_MESSAGE_READY_FOR_SCRIPT
()
_ROCKSTAR_MESSAGE_GET_STRING
()
SC_EMAIL_MESSAGE_CLEAR_RECIP_LIST
()
SC_EMAIL_MESSAGE_PUSH_GAMER_TO_RECIP_LIST
(int* networkHandle)
SC_GAMERDATA_GET_BOOL
(char* name)
SC_GAMERDATA_GET_FLOAT
(char* name, float* outValue)
SC_GAMERDATA_GET_INT
(char* name, int* outValue)
_SC_GET_HAS_ACHIEVEMENT_BEEN_PASSED
(int achievement)
_SC_GET_NICKNAME
()
_SC_INBOX_GET_EMAILS
(int offset, int limit)
SC_INBOX_GET_MESSAGE_IS_READ_AT_INDEX
(int msgIndex)
SC_INBOX_GET_MESSAGE_TYPE_AT_INDEX
(int msgIndex)
SC_INBOX_GET_TOTAL_NUM_MESSAGES
()