Summary
this script provides players to open up a menu from anywhere and order foods like shopping, at the end they pay the money via bank account and an AI driver will arrives to deliver the order

(open the image in new tab for original size)
Video
Purpose
usually players in many servers go to shops and buy their foods and that's kind of boring, also they need to always go to the shops, no matter the situation that they are in, maybe they don't have vehicle, maybe they are far away from the shop or even worst when they are dying because of hunger
so we can make it easy for players that they order foods by a menu and let AI handle the delivery, so easy and satisfying
How it Works
1. player goes on street (somewhere that is accessible for AI)
2. opens up the menu by a command like "/uberfood"
3. can see the categories like burgers, sandwiches and drinks
4. selects the items
5. sets the count of each item at cart

(open the image in new tab for original size)
6. pays the money by bank account
7. waits until AI driver arrives
AI Behaviour
AI cannot be killed, dragged out of car or any other stuffs, so players cannot troll the AI in order to sabotage. the AI vehicle will get repaired automatically every 5 seconds also vehicle is locked so players cannot get inside it
Possible Cases
1. player orders from inside a mlo or somewhere that is not accessible
since we set a maximum arrival time of AI (configurable at config.lua) if the AI does not reach the position that player ordered from it in that time then Ai will cancel the order with a percentage of penalty (for example 30% penalty) and returns the rest of money to player bank account, also player cannot order again for a certain (cooldown for noob players) also cooldown is configurable at config.lua
2. player does not take the order after AI arrives
at this case player has a timer (configurable at config.lua) after the AI arrives, it also shows that how much time player have to take order, if he doesn't the AI will cancel the order with a percentage of penalty and not letting player to order again for a certain time
a Video About Not Taking The Order
3. player gets dc
if player disconnect while he is waiting for the delivery, the delivery gets canceled and the AI ped will be deleted, also the whole money returns to player bank account
Features
- easy to configure everything
- fully open source
- you can add and define categories and foods
- you can do any changes to AI
- can be added to phone scripts too (there is guide file about it)
- works well in every situation and no bug at all
- considered any case of scenarios, so prevents any bug and interrupts
- you set your own commands for ordering and canceling the order
- easy to change translations
- very cool and realistic UI
- good performance 0.01 ms (passive) and 0.02 - 0.03 ms (while ordering)
- very unique and new idea (no one did this before)
Requirements
- ESX or QB
- even for those not using ESX or QB is usable with a little changes
if you have any questions or problem you can contact me on discord :
Amin1992#8211
my discord shop :
