FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
STAT_SLOT_IS_LOADED
(Any p0)
0x0077F15613D36993
(Any p0, Any p1, Any p2, Any p3)
0x015B03EE1C43E6EC
(Any p0)
0x03C2EEBB04B3FB72
(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6)
0x06EAF70AE066441E
(Any p0)
0x0A9C7F36E5D7B683
(Any p0)
0x0B565B0AAE56A0E8
(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6)
0x0B8B7F74BF061C6D
()
0x0D01D20616FC73FB
(Any p0, Any p1)
0x14E0B2D1AD1044E0
(Any* p0, Any* p1, Any* p2, Any* p3)