FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_RESET_EDITOR_VALUES
()
0x5AD3932DAEB1E5D3
()
0x7E2BD3EF6C205F09
(char* p0, BOOL p1)
0xE058175F8EAFE79A
(BOOL p0)
Namespace:
SAVEMIGRATION
0x690B76BD2763E068
()
0x84B418E93894AC1C
()
0xE5E9746A66359F9D
()
Namespace:
SCRIPT
BG_END_CONTEXT
(char* contextName)
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)