Hey guys i have some issues with drc_truckerjob, i didnt recieve keys when i get the truck. Interesting is that with their other scripts i have no issues but with this one something ain right.... ```function givekeys(vehicle)
local model = string.lower(GetDisplayNameFromVehicleModel(GetEntityModel(vehicle)))
local plate = GetVehicleNumberPlateText(vehicle)
if Config.KeySystem == 'qs' then
exports['qs-vehiclekeys']:GiveKeys(plate, model)
elseif Config.KeySystem == 'wasabi' then
exports.wasabi_carlock:GiveKey(plate)
elseif Config.KeySystem == 'fivecode' then
exports.fivecode_carkeys:GiveKey(vehicle, false, false)
elseif Config.KeySystem == 'qbcore' then
QBCore = exports["qb-core"]:GetCoreObject()
TriggerEvent("vehiclekeys:client:SetOwner", QBCore.Functions.GetPlate(vehicle))
end
endHere is the original function. I tried with that one cuz i have it in their farming job, but it doesnt workelseif Config.KeySystem == 'qbcore' then
QBCore = exports["qb-core"]:GetCoreObject()
TriggerEvent("vehiclekeys:client:SetOwner", QBCore.Functions.GetPlate(vehicle))
end
end```
p.s. I contact them, but they said that i need to ask here....