FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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
()
SC_INBOX_MESSAGE_DO_APPLY
(int p0)
_SC_INBOX_MESSAGE_GET_BOUNTY_DATA
(int index, int* outData)
_SC_INBOX_MESSAGE_GET_DATA_BOOL
(int p0, char* p1)
SC_INBOX_MESSAGE_GET_DATA_INT
(int p0, char* context, int* out)
SC_INBOX_MESSAGE_GET_DATA_STRING
(int p0, char* context, char* out)
_SC_INBOX_MESSAGE_GET_STRING
(int p0)
SC_INBOX_MESSAGE_GET_UGCDATA
(Any p0, Any* p1)
_SC_INBOX_MESSAGE_POP
(int p0)
_SC_INBOX_MESSAGE_PUSH_GAMER_TO_EVENT_RECIP_LIST
(int* networkHandle)
_SC_INBOX_MESSAGE_SEND_BOUNTY_PRESENCE_EVENT
(char* data)
_SC_INBOX_MESSAGE_SEND_UGC_STAT_UPDATE_EVENT
(char* data)
SC_LICENSEPLATE_ADD
(char* plateText, char* plateData, int* tokenOut)
SC_LICENSEPLATE_GET_ADD_IS_PENDING
(int token)
SC_LICENSEPLATE_GET_ADD_STATUS
(int token)
SC_LICENSEPLATE_GET_COUNT
(int token)
SC_LICENSEPLATE_GET_ISVALID_IS_PENDING
(int token)
SC_LICENSEPLATE_GET_ISVALID_STATUS
(int token)
SC_LICENSEPLATE_GET_PLATE
(int token, int plateIndex)
SC_LICENSEPLATE_GET_PLATE_DATA
(int token, int plateIndex)
SC_LICENSEPLATE_ISVALID
(char* plateText, int* tokenOut)
SC_LICENSEPLATE_SET_PLATE_DATA
(char* oldPlateText, char* newPlateText, char* plateData)
SC_PRESENCE_ATTR_SET_FLOAT
()
SC_PRESENCE_ATTR_SET_INT
(Hash attrHash, int value)
SC_PRESENCE_ATTR_SET_STRING
(Hash attrHash, char* value)
SC_PROFANITY_CHECK_STRING
(char* string, int* token)
_SC_PROFANITY_CHECK_UGC_STRING
(char* string, int* token)
SC_PROFANITY_GET_CHECK_IS_PENDING
(int token)