[ESX] NKN - Sport Betting

A script by NKN-Services

No reviews yet.
[ESX] NKN - Sport Betting main image

Full Description

Features:

Create new games ingame that players can bet on
As an admin you have a manager/admin board
You can set when a game should start (Hours, Minutes)
You can paste .png links for the pictures (team, league)
Logo can be changed (top left)
You can change the colors
Discord webhooks available

Config:

ESX Prefix
Who is allowed to use adminpanel?
minimum tip
Logs (webhook)
language
coords
Notify

Config = {
cl_config.esx = 'esx'
cl_config.getSharedObject = 'getSharedObject'

cl_config.coords = {
    vector3(-560, 284.3, 82.2),
}

cl_config.helpnotifymsg = "Drücke ~INPUT_CONTEXT~ um das Menü zu öffnen"

server = {}

server.esx = 'esx'
server.getSharedObject = 'getSharedObject'

server.allowed = {"superadmin", "admin"}    -- Groups Allowed to Create / End Games

server.notify = function(source, msg) 
    TriggerClientEvent("esx:showNotification", source, msg)
end

server.minimumTipps = 1 -- INT - How much Bets are Requied to Create.

server.logWebhooks = {
    ["TeamlerLogs"] = "https://discord.com/api/webhooks/985520125170053141/tsJho4nTDqnQ-7Dd1urzAqe37cfzAAie5odpkzh8tfrUwgGU1bN", -- Discordwebhook for Team. !!! BE CAREFULL, PLAYER IDENTIFERS ARE CONTAINS
    ["Publiclog"] = "https://discord.com/api/webhooks/985520125170053141/tsJho4nTDqnQ-7Dd1urzAqe37cfzAAie5odpkzh8tfrUwgGU1bN", -- Public Discordwebhook, For created games Message
     
    ["Settings"] = {
        footer = "shop.nkn-services.dev",
        color = 16315648, 
        serverlogo = "https://cdn.discordapp.com/attachments/969305384185626685/974694521298354277/Pre-comp_2104.png"
    }
}

server.language = {
    minimumtipps = "Du musst mindestens "..server.minimumTipps.." Spiele in einem Schein tippen.",
    nomoney = "Du hast nicht genügend Geld auf der Bank!",

}

server.debugPrints = function(msg)
    local a = "[^1NKN-SPORTSBET^0] "..msg
    print(a)
end

Preview

preview: NKN Betting Preview (LateNightV)

Purchase

Tebex: shop.nkn-services.dev

Code is accessible No
Subscription-based No
Lines (approximately) 1102
Requirements es_extended
Support Yes, 24/7