[ESX] Scoreboard

This system allows you to see the amount of players online, the amount of paramedics online and shows if players can perform a certain specific illegal action / robbery.

Resource Discription

  • Scoreboard for the ESX framework.
  • System based on qb-scoreboard.

Features

  • [Configurable] Support multiple jobs.
  • [Configurable] Minimum number of online police to carry out illegal actions.
  • Displays the number of paramedics online.
  • Shows whether or not it is possible to perform an illegal action.
  • And more configuration options (check config.lua preview)

DOWNLOAD RESOURCE
Download Tebex | 1€ + VAT

JOIN MY DISCORD
Handled Discord

Configuration

Config = Config or {}

-- Open scoreboard key
Config.OpenKey = Keys["F10"]

-- Image Link 
Config.ScoreboardHeaderImage = "https://images7.alphacoders.com/587/587535.jpg"


-- Max Server Players
Config.MaxPlayers = GetConvarInt('sv_maxclients', 200) -- It returnes 64 if it cant find the Convar Int

-- Jobs names

Config.policejob1 = 'police'
Config.policejob2 = 'sheriff'
Config.ambulancejob = 'ambulance'

-- Minimum Police for Actions
Config.IllegalActions = {
    ["storerobbery"] = {
        minimum = 1,
        busy = false,
    },
    ["bankrobbery"] = {
        minimum = 5,
        busy = false,
    },
    ["jewellery"] = {
        minimum = 5,
        busy = false,
    },
    ["pacific"] = {
        minimum = 6,
        busy = false,
    },
}

-- Minimum Paramedics 
Config.INEM = {
    {
        job = Config.ambulancejob,
        minimum = 1 -- minimum number of online paramedics to show the check icon
    },
    
}

-- Current Cops Online
Config.CurrentCops = 0

Config.CurrentINEM = 0

Controls = {
    Activator = { 
        Name = "INPUT_MP_TEXT_CHAT_TEAM", 
        Key = 213, -- home
    },
}```
3 Likes

I’m starting my fivem script store on tebex, if you can and want to help I would greatly appreciate it. Just joining my discord is already helping me a lot.

1 Like