# Setting up perk effects

```lua
RegisterNetEvent("fdsdev_gymscript:recieveData", function()
    
end)
```

In _**config.lua**_ you can find this event. This event is triggered when a perk's level XP is updated. You can use this to configure perk actions. Example:

```lua
RegisterNetEvent("fdsdev_gymscript:recieveData", function()
    if GetLivelloPerk("terzoperk") > 1 then
        -- action
    end
end)
```

Theese are the perk ids that you can use with `GetLivelloPerk` function:

* First perk: "**forza**"
* Second perk: "**resistenza**"
* Third perk: "**terzoperk**"
