⚙️Configuration
Configuration guide of Contract System.
Config File
Config = {}
Config.Framework = "auto" -- Determines which framework to use: auto, esx, or qb
Config.Locales = {}
Config.Language = "en" -- en, de, fr, es, pt, ja, ar, zh
Config.Item = "contract"
function giveKey(vehicle, plate)
if GetResourceState('qb-vehiclekeys') == 'started' then
TriggerEvent("vehiclekeys:client:SetOwner", plate)
else
-- your code here
end
end
Config.Command = {
active = true,
needItem = true,
command = "contract"
}
Last updated