# Server Exports

### Add Player Statistic

Use following export to Add Player Statistic

```lua
local playerId = 2
local stat = 'strength'
local amount = 3.0

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

### Remove Player Statistic

Use following export to Remove Player Statistic

```lua
local playerId = 10
local stat = 'strength'
local amount = 1.0

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

### Set Player Statistic

Use following export to Set Player Statistic

```lua
local playerId = 10
local stat = 'strength'
local amount = 50.0

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