Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 813 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 813 Bytes

mt-karting

Simple karting tickets system for QBCore

Preivew:

image

Installation:

Add to qb-core/server/events.lua:

RegisterNetEvent('QBCore:Server:RemoveMoney', function(acount, amount)
    local src = source
    local Player = QBCore.Functions.GetPlayer(src)
    if not Player then return end
    Player.Functions.RemoveMoney(acount, amount)
end)

RegisterNetEvent('QBCore:Server:AddMoney', function(acount, amount)
    local src = source
    local Player = QBCore.Functions.GetPlayer(src)
    if not Player then return end
    Player.Functions.AddMoney(acount, amount)
end)

Map credits link: