Common questions

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