> For the complete documentation index, see [llms.txt](https://docs.ak4y.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ak4y.com/scripts/ak4y-multicharacter-v2/events-export-list.md).

# Events / Export List

### Give XP (server-sided)

```lua
local success = exports['ak4y-multicharacter-v2']:GiveXp(source, amount) --return true of false
```

| Parameter | Type   | Description                |
| --------- | ------ | -------------------------- |
| source    | number | The player id              |
| amount    | number | The amount you want to add |

### Get Level (server-sided)

```lua
local playerLevel = exports['ak4y-multicharacter-v2']:GetLevel(source)
```

| Parameter | Type   | Description   |
| --------- | ------ | ------------- |
| source    | number | The player id |
