alt.setStat
Sets a stat to a specific numerical value.
Stat Names
flying_ability
lung_capacity
shooting_ability
stamina
stealth_ability
strength
wheelie_ability
Declaration
alt.setStat(statName: StatName, value: number): void
Usage
alt.setStat('stamina', 100);
Real World Example
alt.setStat('stamina', 100);
These examples assume you have imported alt
from alt-client
.