FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
STAT_DELETE_SLOT
(Any p0)
STAT_GET_BOOL
(Hash statHash, BOOL* outValue, Any p2)
STAT_GET_BOOL_MASKED
(Hash statName, int mask, int p2)
_STAT_GET_CANCEL_SAVE_MIGRATION_STATUS
()
STAT_GET_DATE
(Hash statHash, Any* p1, Any p2, Any p3)
STAT_GET_FLOAT
(Hash statHash, float* outValue, Any p2)
STAT_GET_INT
(Hash statHash, int* outValue, int p2)
STAT_GET_LICENSE_PLATE
(Hash statName)
STAT_GET_MASKED_INT
(Any p0, Any* p1, Any p2, Any p3, Any p4)
STAT_GET_NUMBER_OF_DAYS
(Hash statName)
STAT_GET_NUMBER_OF_HOURS
(Hash statName)
STAT_GET_NUMBER_OF_MINUTES
(Hash statName)
STAT_GET_NUMBER_OF_SECONDS
(Hash statName)
_STAT_GET_PACKED_BOOL_MASK
(int p0)
_STAT_GET_PACKED_INT_MASK
(int p0)
STAT_GET_POS
(Any p0, Any* p1, Any* p2, Any* p3, Any p4)
_STAT_GET_SAVE_MIGRATION_CONSUME_CONTENT_UNLOCK_STATUS
(int* p0)
STAT_GET_SAVE_MIGRATION_STATUS
(Any* data)
STAT_GET_STRING
(Hash statHash, int p1)
STAT_GET_USER_ID
(Any p0)
STAT_INCREMENT
(Hash statName, float value)
STAT_LOAD
(int p0)
STAT_LOAD_PENDING
(Any p0)
_STAT_MIGRATE_SAVE
(char* platformName)
STAT_SAVE
(int p0, BOOL p1, int p2)
_STAT_SAVE_MIGRATION_CANCEL
()
_STAT_SAVE_MIGRATION_CONSUME_CONTENT_UNLOCK
(Hash contentId, char* srcPlatform, char* srcGamerHandle)
STAT_SAVE_MIGRATION_STATUS_START
()
STAT_SAVE_PENDING
()
STAT_SAVE_PENDING_OR_REQUESTED
()
STAT_SET_BLOCK_SAVES
(BOOL toggle)
STAT_SET_BOOL
(Hash statName, BOOL value, BOOL save)
STAT_SET_BOOL_MASKED
(Hash statName, BOOL value, int mask, BOOL save)
STAT_SET_CHEAT_IS_ACTIVE
()
STAT_SET_CURRENT_POSIX_TIME
(Hash statName, BOOL p1)