Integration
This is an entire page on what you can integrate with
WARNING: ONLY MESS WITH THESE IF YOU KNOW WHAT
YOU ARE DOING!!!!
Notify System
```lua
function Notify(text, type, time)
if Config.Notify == "qbcore" then
local QBCore = exports['qb-core']:GetCoreObject()
QBCore.Functions.Notify(text, type, time)
elseif Config.Notify == "ox_lib" then
lib.notify({
title = text,
type = type,
duration = time
})
elseif Config.Notify == "custom" then
-- Custom Notify System Here
else
print("No Notify System Selected")
end
end
```
Phone System
function MailNotify(msg)
--For QB-Phone
TriggerServerEvent('qb-phone:server:sendNewMail', {
sender = "JV",
subject = "Car Details",
message = msg,
button = {}
})
end
Fuel System
function SetFuel(vehicle, fuel)
if Config.FuelScript == "none" then
return
else
exports[Config.FuelScript]:SetFuel(vehicle, fuel)
end
end
Last updated