# Advanced Scoreboard

{% embed url="<https://www.youtube.com/watch?v=PvFkBE__xR4>" %}

{% hint style="success" %}
This script is compatible only  with **ESX**
{% endhint %}

### Script

{% embed url="<https://forum.cfx.re/t/esx-advanced-scoreboard/5256420>" %}

### Installation

{% tabs %}
{% tab title="ESX" %}

1. Download from [keymaster](https://keymaster.fivem.net/login?return_url=/asset-grants) and **unzip** the `Advanced Scoreboard`. Move `nv_advanced_scoreboard` in your server's resource folder.
2. Add the resource to your server start config: `ensure nv_advanced_scoreboard`, the name of the folder must not be changed or the resource will not function correctly. **Ensure the script is the latest one.**

{% code title="server.cfg" %}

```tsconfig
# ...
# All the other resources
ensure nv_advanced_scoreboard
```

{% endcode %}

3. Open the **config.lua** and configure it correctly, paying attention to all the variables!
4. Restart server or type `ensure nv_advanced_scoreboard` in **console.**
   {% endtab %}
   {% endtabs %}

### Code

{% tabs %}
{% tab title="config.lua" %}

```lua
config = {}

config.openScoreboardKey = "F9"
config.notifyName = "Nevera"
config.notifyDesc = "Admin Action (0)" -- 0 = Action Name (kick/ban/kill)
config.notifyIcon = "CHAR_MP_FM_CONTACT"

-- 0 = Admin FiveM Name
-- 1 = Target Identity Name
-- 2 = Reason (this is only for kick)
config.healTargetMessage = "You have been healed by admin: 0"
config.healAdminMessage = "You have healed 1"

config.killTargetMessage = "You have been killed by admin: 0"
config.killAdminMessage = "You have killed 1"

config.kickAdminMessage = "You have kicked 1\nReason: 2"

config.bringTargetMessage = "You have been teleported by admin 0"
config.bringAdminMessage = "You have teleported 1 to yourself"

config.gotoTargetMessage = "Admin 0 has been teleported to you"
config.gotoAdminMessage = "You have teleported to 1"


-- Action names
config.actionHeal = "Heal"
config.actionKick = "Kick"
config.actionKill = "Kill"
config.actionBring = "Bring"
config.actionGoto = "GoTo"

-- Theme
config.theme = {255,255,0} -- This is RGB code for color theme
```

{% endtab %}
{% endtabs %}

### Support

{% hint style="info" %}
If you have any problems or need help, contact us on [Discord!](https://discord.gg/NeveraDev/tw28AqrgWU)
{% endhint %}
