❔Common questions
Why It is not working at all ?
make sureto uncomment these lines in the fxmanifest.lua:
-- '@oxmysql/lib/MySQL.lua', -- only for ESX
-- '@es_extended/imports.lua', -- only for ESX
-- '@es_extended/locale.lua', -- only for ESX
How to add job for each restaurant ?
Just under the config.authorizedJobs, just write the respective job for each restaurant.
Config.authorizedJobs = {
["burgershot"] = "BurgerShot",
--["jobname"] = "Restaurant Name",
}
Can I use another notification for the order ?
Yes, you can in the config.lua
RegisterNetEvent("zat-deliveryapp:client:Notify", function()
-- You can add the duty as a condition if you need to...
TriggerServerEvent('qb-phone:server:sendNewMail', {
sender = "Foodie",
subject = "New Order",
message = "New Order Just arrived, Check the Foodie App for more details...",
button = {}
})
end)
Last updated