# Configuration

## Config.lua

```lua
Config.Framework    = "esx"
```

change to "qbcore" if you are going to use the QBCore framework.

```lua
Config.Currency = "$"
```

you can change it to **€ ,  £ ...**

```lua
Config.authorizedJobs   = {
    ["burgershot"] = "BurgerShot",
    ["hornys"]     = "Horny's",
}
```

add as many restaurants as wou want.

```lua
Config.Locations  = {
    [1] = { coords = vector3(-1190.93, -895.14, 13.8), restaurant = "BurgerShot"},
    [2] = { coords = vector3(-1189.37, -894.1, 13.8), restaurant = "BurgerShot"},
    [3] = { coords = vector3(-1187.87, -893.11, 13.8), restaurant = "BurgerShot"},
    [4] = { coords = vector3(-1194.7, -904.48, 13.8), restaurant = "BurgerShot"},

    [5] = { coords = vector3(1244.67, -358.8, 69.08), restaurant = "Horny's"},
    [6] = { coords = vector3(1243.65, -358.48, 69.08), restaurant = "Horny's"},
    [7] = { coords = vector3(1242.63, -358.21, 69.08), restaurant = "Horny's"},
    [8] = { coords = vector3(1247.81, -359.38, 69.08), restaurant = "Horny's"},
    [9] = { coords = vector3(1249.11, -359.75, 69.08), restaurant = "Horny's"},
    [10] = { coords = vector3(1250.58, -360.12, 69.08), restaurant = "Horny's"},
    [11] = { coords = vector3(1252.81, -358.09, 69.08), restaurant = "Horny's"},
}
```

Target Eye location for each restaurant.

```
Config.Restaurants = {
    [1] = {   
        meals = {
            [1] = {name  =  "Hamburger",             description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  20, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210687114580028/d963bdc17cb16a17aad89d7de71d8dac551c1f11-750x600.webp?ex=65ba7056&is=65a7fb56&hm=fe13ee1063368a4340c60b01e5997d3529f7f8768e17737b155dd1883549fd19&"}, 
            [2] = {name  =  "Cheese Burger",         description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  15, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210724880109568/6b0f6e1921e1b56c9bc2ae200ad3020f3fad1f5d-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=908f3e29eacedf5723e0d22171a99ee47e405cbe36143a57133e583d31509d77&"}, 
            [3] = {name  =  "Chili Cheese Burger",   description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210685235540080/480adeec6b1ff2317632d246f8f1dfbfc26156dd-750x600.webp?ex=65ba7056&is=65a7fb56&hm=7ff85d893af559a34c77e91badf691a7086dbb9c012842e79f00d1d9eaa53431&"}, 
            [4] = {name  =  "Double Cheese Burger",  description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210686783238284/ce184c820e788326bba6d5a6550fad5e7fd1ddbb-750x600.webp?ex=65ba7056&is=65a7fb56&hm=9d1c99c617854d1cffe5c8e8bf2790c400120b9881c0c13a6f7aa575f94c3564&"},
            [5] = {name  =  "Chicken Nugget Burger", description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210685986320525/a06b5b97ee590be9b521bfc8351400c814bf3c4a-750x600.webp?ex=65ba7056&is=65a7fb56&hm=67ceadbb2e9dd8a6f7cd3856b98c74d0b7c63717da1479697d96751d3289d557&"},
            [6] = {name  =  "Crispy Chicken Burger", description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210725123358750/6ee46a3192a980a19cfc1813e3dc01f2525226c9-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=7c16dfa0670753c296b63f4a9d9de6871f6c57668c4bd66c5e3ea6335c3dbdab&"},
        }, 
        sides  = {
            [1] = {name  =  "Dough Schoko",         description =  "write a description here", price =  25, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210724661989416/4c4d8bee5d228403085e8935f146fae8a3102aa3-870x570.webp?ex=65ba705f&is=65a7fb5f&hm=b6419ce448f9b7d90069eeb54af9912f6e2e35765592922e5e5f1898b5f656ad&"}, 
            [2] = {name  =  "Dough Erdbeere",       description =  "write a description here", price =  22, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210725567975494/7f9f951c4d5a89d496e8f8ac56c4753f23db0050-870x570.webp?ex=65ba7060&is=65a7fb60&hm=b3a2420145d2407c72e5fa3898a7435bacc388062f260fcfa22c3fa4dd0fdd36&"}, 
            [3] = {name  =  "Dough Karamell",       description =  "write a description here", price =  24, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210685445247006/21962c396dd45aa83718185be34f62ff39488c4a-870x570.webp?ex=65ba7056&is=65a7fb56&hm=2e8de4e98bfa32c8daa06b30a64201612d53c94696b487d821e3a681fbfb2f32&"}, 
        },
        snacks  =  {
            [1] = {name  =  "French Fries",         description =  "write a description here", price =  45, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197347186556538940/c2a31c9a12f47bd90c4084ed9855ec48cf937317-750x600.webp?ex=65baef76&is=65a87a76&hm=b5f7e0173b2a7f452cf2cbadf7a1262109feb437b4bb8a6fea8f6b9ae59a3258&"}, 
            [2] = {name  =  "Onion Rings",          description =  "write a description here", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210685659152584/2393415df2bf8c624f59b7c3daf7a61684447272-750x600.webp?ex=65ba7056&is=65a7fb56&hm=bd8e30997307051410dc917f781fbdea272c7581566e0c5fed48a3e20151aae8&"}, 
            [3] = {name  =  "Nuggets",              description =  "write a description here", price =  24, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210724196438207/2bb4f57a2be0bb94e9a45f829c64ace9221963d4-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=9914f31f089c889e6a0bfdf4f4f69650f2906759ad8261fbe632b25a1802e1c9&"}, 
            [4] = {name  =  "Cheese Nuggets",       description =  "write a description here", price =  24, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210686292496404/bbc42159145433d4a1c54d7fc34633054b33fe3f-750x600.webp?ex=65ba7056&is=65a7fb56&hm=63e1d47f2331f14b4d19b995a68a1112df129c187e02c189b0edbfc9b5b8f500&"}, 
            [5] = {name  =  "Country Potatoes",     description =  "write a description here", price =  24, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210686535761930/c6286bd7b3b527a61f829813c9233490fe023c45-750x600.webp?ex=65ba7056&is=65a7fb56&hm=e432058cee35a4e86307789c60b262880fd90089a551f067b2bcc6a30c87118f&"}, 
        },
        drinks =  {
            [1] = {name  =  "C-Cola",               description =  "write a description here", price =  12, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210725811224616/8a2080d9e34d7f4bd9678835681568ab8fb2dad5-750x600.webp?ex=65ba7060&is=65a7fb60&hm=462926d52e8523ef5d5486d478cd2bf849eff9a12b7447be0d33dd3967d86e03&"}, 
            [2] = {name  =  "C-cola Light",         description =  "write a description here", price =  14, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210725349855394/6fe8d243eb76b9459a505443902ad32577ecd308-750x600.webp?ex=65ba7060&is=65a7fb60&hm=0719181ef6035f1736d7b5763e9edaa85b5d67a73e80e4b693f79bee558ea548&"}, 
            [3] = {name  =  "C-Cola Zero",          description =  "write a description here", price =  15, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210688280592465/f029a603cb172c65254ee359b0f10f2aaee90c58-750x600.webp?ex=65ba7057&is=65a7fb57&hm=8da7aee1f3548d640cc45fc0b17f2eccbfdf7df12b7cb6cba71e286bfec41504&"}, 
            [4] = {name  =  "F-anta",               description =  "write a description here", price =  15, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210724435492974/2fb1b3ba6b42b5cc6dd669a2e6143b1b0cd6c512-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=02d82d377244656eaa1f4b98de7bfaaf7ce68d2a3ec6be1c998a89049c47acb3&"}, 
            [5] = {name  =  "S-prite",              description =  "write a description here", price =  15, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210723978317976/40a27c220cdca77f0f57b06472f389b6fb1700d9-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=c51baa7e0935946c0ccb4a29ff73e44cda032d5c5a0837230a0c6bdec7b52caa&"}, 
        },
        id = 1,
        name =  "BurgerShot",   
        wallpaper = "https://cdn.discordapp.com/attachments/1191667448194277508/1199848734591295518/wallpaperflare.com_wallpaper_4.png?ex=65c40936&is=65b19436&hm=dd559a59fdb3f73d50b1b61d8698f1178e5466ae1464e44c34564ec56ced396f&",
        image =   "https://cdn.discordapp.com/attachments/1191667448194277508/1197197998917161041/BurgerShot.png?ex=65ba6485&is=65a7ef85&hm=1c6a7c3f3e23b208845db25909f89638ab34f94fd28bfe5cb30134cbe03566ab&",
        ticket = 0,
    },
    [2] = {   
        meals = {
            [1] = {name  =  "Hamburger",             description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  20, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210687114580028/d963bdc17cb16a17aad89d7de71d8dac551c1f11-750x600.webp?ex=65ba7056&is=65a7fb56&hm=fe13ee1063368a4340c60b01e5997d3529f7f8768e17737b155dd1883549fd19&"}, 
            [2] = {name  =  "Cheese Burger",         description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  15, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210724880109568/6b0f6e1921e1b56c9bc2ae200ad3020f3fad1f5d-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=908f3e29eacedf5723e0d22171a99ee47e405cbe36143a57133e583d31509d77&"}, 
            [3] = {name  =  "Chili Cheese Burger",   description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210685235540080/480adeec6b1ff2317632d246f8f1dfbfc26156dd-750x600.webp?ex=65ba7056&is=65a7fb56&hm=7ff85d893af559a34c77e91badf691a7086dbb9c012842e79f00d1d9eaa53431&"}, 
            [4] = {name  =  "Double Cheese Burger",  description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210686783238284/ce184c820e788326bba6d5a6550fad5e7fd1ddbb-750x600.webp?ex=65ba7056&is=65a7fb56&hm=9d1c99c617854d1cffe5c8e8bf2790c400120b9881c0c13a6f7aa575f94c3564&"},
            [5] = {name  =  "Chicken Nugget Burger", description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210685986320525/a06b5b97ee590be9b521bfc8351400c814bf3c4a-750x600.webp?ex=65ba7056&is=65a7fb56&hm=67ceadbb2e9dd8a6f7cd3856b98c74d0b7c63717da1479697d96751d3289d557&"},
            [6] = {name  =  "Crispy Chicken Burger", description =  "You can’t go wrong with our cheeseburger, a signature flame-grilled beef patty topped with a simple layer of melted American cheese, crinkle cut pickles, yellow mustard, and ketchup on a toasted sesame seed bun.", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210725123358750/6ee46a3192a980a19cfc1813e3dc01f2525226c9-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=7c16dfa0670753c296b63f4a9d9de6871f6c57668c4bd66c5e3ea6335c3dbdab&"},
        }, 
        sides  = {
            [1] = {name  =  "Dough Schoko",         description =  "write a description here", price =  25, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210724661989416/4c4d8bee5d228403085e8935f146fae8a3102aa3-870x570.webp?ex=65ba705f&is=65a7fb5f&hm=b6419ce448f9b7d90069eeb54af9912f6e2e35765592922e5e5f1898b5f656ad&"}, 
            [2] = {name  =  "Dough Erdbeere",       description =  "write a description here", price =  22, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210725567975494/7f9f951c4d5a89d496e8f8ac56c4753f23db0050-870x570.webp?ex=65ba7060&is=65a7fb60&hm=b3a2420145d2407c72e5fa3898a7435bacc388062f260fcfa22c3fa4dd0fdd36&"}, 
            [3] = {name  =  "Dough Karamell",       description =  "write a description here", price =  24, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210685445247006/21962c396dd45aa83718185be34f62ff39488c4a-870x570.webp?ex=65ba7056&is=65a7fb56&hm=2e8de4e98bfa32c8daa06b30a64201612d53c94696b487d821e3a681fbfb2f32&"}, 
        },
        snacks  =  {
            [1] = {name  =  "French Fries",         description =  "write a description here", price =  45, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197347186556538940/c2a31c9a12f47bd90c4084ed9855ec48cf937317-750x600.webp?ex=65baef76&is=65a87a76&hm=b5f7e0173b2a7f452cf2cbadf7a1262109feb437b4bb8a6fea8f6b9ae59a3258&"}, 
            [2] = {name  =  "Onion Rings",          description =  "write a description here", price =  35, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210685659152584/2393415df2bf8c624f59b7c3daf7a61684447272-750x600.webp?ex=65ba7056&is=65a7fb56&hm=bd8e30997307051410dc917f781fbdea272c7581566e0c5fed48a3e20151aae8&"}, 
            [3] = {name  =  "Nuggets",              description =  "write a description here", price =  24, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210724196438207/2bb4f57a2be0bb94e9a45f829c64ace9221963d4-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=9914f31f089c889e6a0bfdf4f4f69650f2906759ad8261fbe632b25a1802e1c9&"}, 
            [4] = {name  =  "Cheese Nuggets",       description =  "write a description here", price =  24, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210686292496404/bbc42159145433d4a1c54d7fc34633054b33fe3f-750x600.webp?ex=65ba7056&is=65a7fb56&hm=63e1d47f2331f14b4d19b995a68a1112df129c187e02c189b0edbfc9b5b8f500&"}, 
            [5] = {name  =  "Country Potatoes",     description =  "write a description here", price =  24, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210686535761930/c6286bd7b3b527a61f829813c9233490fe023c45-750x600.webp?ex=65ba7056&is=65a7fb56&hm=e432058cee35a4e86307789c60b262880fd90089a551f067b2bcc6a30c87118f&"}, 
        },
        drinks =  {
            [1] = {name  =  "C-Cola",               description =  "write a description here", price =  12, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210725811224616/8a2080d9e34d7f4bd9678835681568ab8fb2dad5-750x600.webp?ex=65ba7060&is=65a7fb60&hm=462926d52e8523ef5d5486d478cd2bf849eff9a12b7447be0d33dd3967d86e03&"}, 
            [2] = {name  =  "C-cola Light",         description =  "write a description here", price =  14, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210725349855394/6fe8d243eb76b9459a505443902ad32577ecd308-750x600.webp?ex=65ba7060&is=65a7fb60&hm=0719181ef6035f1736d7b5763e9edaa85b5d67a73e80e4b693f79bee558ea548&"}, 
            [3] = {name  =  "C-Cola Zero",          description =  "write a description here", price =  15, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210688280592465/f029a603cb172c65254ee359b0f10f2aaee90c58-750x600.webp?ex=65ba7057&is=65a7fb57&hm=8da7aee1f3548d640cc45fc0b17f2eccbfdf7df12b7cb6cba71e286bfec41504&"}, 
            [4] = {name  =  "F-anta",               description =  "write a description here", price =  15, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210724435492974/2fb1b3ba6b42b5cc6dd669a2e6143b1b0cd6c512-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=02d82d377244656eaa1f4b98de7bfaaf7ce68d2a3ec6be1c998a89049c47acb3&"}, 
            [5] = {name  =  "S-prite",              description =  "write a description here", price =  15, image =  "https://cdn.discordapp.com/attachments/1191667448194277508/1197210723978317976/40a27c220cdca77f0f57b06472f389b6fb1700d9-750x600.webp?ex=65ba705f&is=65a7fb5f&hm=c51baa7e0935946c0ccb4a29ff73e44cda032d5c5a0837230a0c6bdec7b52caa&"}, 
        },
        id = 2,
        name =  "Horny's",    
        wallpaper = "https://cdn.discordapp.com/attachments/1191667448194277508/1200488188515455006/wallpaperflare.com_wallpaper_4.png?ex=65c65cc0&is=65b3e7c0&hm=c95200a2bb2cae335130d356239e477e38c0fe23fc7dbd7707aed10433f90c49&",
        image =   "https://cdn.discordapp.com/attachments/1191667448194277508/1197197999479193671/HornyBurger.png?ex=65ba6485&is=65a7ef85&hm=fcffb12dd37bb17d7cadbac5f7c83cd120ab61be21bafab7743181a22058780b&",
        ticket = 0,
    },
}
```

You can add as many restaurants as you want ! For each restaurant you have to add its name, default status (open or close), image link , and foods.<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zat-scripts.gitbook.io/zat-scripts/esx/tap-to-order/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
