Server

This page lists all the available server-side events and export

Exports

AddStatistic

Adds a specific amount to a player's stat

exports['xnr-gym']:AddStatistic(playerId, statName, amount)

Example of Usage

exports['xnr-gym']:AddStatistic(1, 'strength', 20)

RemoveStatistic

Removes a specific amount from a player's stat

exports['xnr-gym']:RemoveStatistic(playerId, statName, amount)

SetStatistic

Sets a specific stat to an exact value for the player.

exports['xnr-gym']:SetStatistic(playerId, statName, amount)

Last updated