FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
STAT_SET_DATE
(Hash statName, Any* value, int numFields, BOOL save)
STAT_SET_FLOAT
(Hash statName, float value, BOOL save)
STAT_SET_GXT_LABEL
(Hash statName, char* value, BOOL save)
STAT_SET_INT
(Hash statName, int value, BOOL save)
STAT_SET_LICENSE_PLATE
(Hash statName, char* str)
STAT_SET_MASKED_INT
(Hash statName, Any p1, Any p2, int p3, BOOL save)
STAT_SET_POS
(Hash statName, float x, float y, float z, BOOL save)
STAT_SET_PROFILE_SETTING_VALUE
(int profileSetting, int value)
STAT_SET_STRING
(Hash statName, char* value, BOOL save)
STAT_SET_USER_ID
(Hash statName, char* value, BOOL save)