Setter Functions

set(player: Player, name: string, value: any)

Sets the given Player's value of name to the specified value

Example

Ezstatz:set(player, "Cash", 10) -- Changes the player's cash to 10

incrementValue(player: Player, name: string, delta: number)

Increases the Player's provied stat name by the provided delta number.

Example

Ezstatz:incrementValue(player, "Cash", 5)

decrementValue(player: Player, name: string, delta: number)

Similar to incrementValue(), except it decreases.

Example

Ezstatz:decrementValue(player, "Cash", 10)

Last updated