FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
BG_END_CONTEXT_HASH
(Hash contextHash)
BG_START_CONTEXT
(char* contextName)
BG_START_CONTEXT_HASH
(Hash contextHash)
DOES_SCRIPT_EXIST
(char* scriptName)
DOES_SCRIPT_WITH_NAME_HASH_EXIST
(Hash scriptHash)
GET_EVENT_AT_INDEX
(int eventGroup, int eventIndex)
GET_EVENT_DATA
(int eventGroup, int eventIndex, int* eventData, int eventDataSize)
GET_EVENT_EXISTS
(int eventGroup, int eventIndex)
GET_HASH_OF_THIS_SCRIPT_NAME
()
GET_ID_OF_THIS_THREAD
()
_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)