![[PAID] [ESX] Sport Betting 2.0 | MK-Services main image](https://forum-cfx-re.akamaized.net/optimized/4X/0/6/0/060df14582835902492f4bd050ce164d7950f7ef_2_690x388.jpeg)
![[PAID] [ESX] Sport Betting 2.0 | MK-Services thumbnail 1](https://forum-cfx-re.akamaized.net/optimized/4X/0/6/0/060df14582835902492f4bd050ce164d7950f7ef_2_690x388.jpeg)
![[PAID] [ESX] Sport Betting 2.0 | MK-Services thumbnail 2](https://forum-cfx-re.akamaized.net/optimized/4X/d/1/8/d18576c8f2a02db876ce3499842f9d87de196bb6_2_690x388.jpeg)
![[PAID] [ESX] Sport Betting 2.0 | MK-Services thumbnail 3](https://forum-cfx-re.akamaized.net/optimized/4X/1/d/8/1d8f6837c6e3f8b34f45d5f9f463f3b07fb37389_2_690x388.jpeg)
![[PAID] [ESX] Sport Betting 2.0 | MK-Services thumbnail 4](https://forum-cfx-re.akamaized.net/optimized/4X/b/4/8/b48ed16a7bdb5a53e5b2f26379e37e2c539b766c_2_690x388.jpeg)
![[PAID] [ESX] Sport Betting 2.0 | MK-Services thumbnail 5](https://forum-cfx-re.akamaized.net/optimized/4X/7/0/5/705397a2ae116e0c5875b04f244080e994e17811_2_690x388.jpeg)
Price
UnknownA script by Pain1435
Price
UnknownThis resource is compatible with ESX v1.1 / ESX 1.2 (v1 Final) / ESX Legacy (v1.3 - v1.9.5)/ Extendedmode.
This is an unique script for sportbetting with api automation. You can create sportgames with random results because a smart algorithm or manage goals manually
Updated Showcase 2.0: Click me
Old Showcase 1.1: Click me
Old Showcase: Click me
Buy on Tebex: Click me (Secured by FiveM Escrow System)
Config Snippets:
MK = MK or {}
-- By default 'en' and 'de' are supported.
-- You can modify or add new translations in the translations.lua file
MK.Language = 'en'
-- Using for debug reasons
MK.DebugMode = false
MK.UseNewESX = false
MK.ESXResourceName = 'es_extended'
MK.ESXSharedObject = 'esx:getSharedObject'
MK.ESXPlayerLoadedEvent = 'esx:playerLoaded'
-- Please set your local timezone
-- This is needed that the API datetimes get converted correctly
MK.Timezone = 'Europe/Berlin'
-- Maximum betting price (use -1 to disable it)
MK.MaxBetPrice = 500
-- Sets the maximum amount of bet tickets per player
MK.MaxTicketsPerPlayer = 5
MK.BaseTicketPrice = 300
-- How long a game will take in minutes
MK.GameTime = 20
-- Command to open the betting menu (use nil or '' to disable it)
MK.MenuCommand = ''
-- Hotkey to open the betting menu
MK.MenuHotkey = {
Description = 'Open the sport betting menu',
DefaultKey = '' -- default hotkey (use nil or '' to disable it)
}
MK.Locations = {
{
Position = { x = -255.8164, y = -1887.045, z = 27.755298, h = 319.88006 },
Blip = {
Enabled = true,
Sprite = 792,
Color = 1,
Size = 0.8
},
Marker = {
Enabled = false,
Type = 1,
Size = { x = 6.0, y = 6.0, z = 0.5 },
Color = { r = 255, g = 255, b = 255 }
},
Ped = {
Enabled = true,
Ped = 'cs_movpremmale'
},
Target = {
Enabled = false
--Ped needs to be true when using Target
}
}
}
MK.ShowHelpNotification = function(message)
ESX.ShowHelpNotification(message)
end
TargetFunction = function(ent)
exports.ox_target:addLocalEntity(ent,{
{
name = 'sportbetting',
event = 'mk_sportbetting:client:openUI',
icon = 'fa-solid fa-male',
label = 'Tipico öffnen',
canInteract = function(entity, distance, coords, name, bone)
return distance < 2
end
}
})
end
MK.Notify = function(type, message)
if type == 'success' then
TriggerEvent('esx:showNotification', message)
elseif type == 'warning' then
TriggerEvent('esx:showNotification', message)
elseif type == 'error' then
TriggerEvent('esx:showNotification', message)
elseif type == 'info' then
TriggerEvent('esx:showNotification', message)
end
end
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | LUA: ~3000 UI: ~1500 |
Support | Yes |
No approved reviews found for this script yet.