StatSetInt
Docslocal retval = StatSetInt(statName, value, save)Parameters
| Name | Type | Description |
|---|---|---|
statName | Hash | — |
value | int | — |
save | BOOL | — |
Returns
BOOLReturns TRUE (1) or FALSE (0).
Examples
Official
StatSetInt(`MPPLY_KILLS_PLAYERS`, 1337, true)
StatSetInt(`MP0_SHOOTING_ABILITY`, 100, true)
StatSetInt(`MP0_SHOOTING_ABILITY`, 100, true)
StatSetInt(`MP0_STEALTH_ABILITY`, 10, true)
StatSetInt(`MP0_FLYING_ABILITY`, 5, true)
StatSetInt(`MP0_WHEELIE_ABILITY`, 25, true)
StatSetInt(`MP0_LUNG_CAPACITY`, 35, true)
StatSetInt(`MP0_STRENGTH`, 15, true)
StatSetInt(`MP0_STAMINA`, 25, true)