Stats - SwitchNetwork/fivem-wiki GitHub Wiki
Lua Example
StatSetInt('MP0_SHOOTING_ABILITY', 100, true) -- Set MP0 shooting modifier to 100
Player
Code Name |
Player |
SP0 |
Michael |
SP1 |
Franklin |
SP2 |
Trevor |
MP0 |
Multiplayer Character |
Stats/Modifiers
Code Name |
Purpose |
DEFAULT_STATS_SET |
MP Char 0 - Shop Data |
SPECIAL_ABILITY |
Special ability |
STAMINA |
Stamina modifier |
STRENGTH |
Strength modifier |
LUNG_CAPACITY |
Lung capacity modifier |
WHEELIE_ABILITY |
Bike skill modifier |
FLYING_ABILITY |
Flying modifier |
SHOOTING_ABILITY |
Shooting modifier |
STEALTH_ABILITY |
Stealth modifier |
= |
= |
BANK_BALANCE |
Player bank balance |
MP0_WALLET_BALANCE |
Online player cash balance |