Street sales
Street sales with Eleven Comercios for FiveM: food carts, the food truck as a mobile stand and business vending with takings, robberies and concessions.
The Street sales section takes the business outside its premises. It has three tabs: Food trucks, Carts and Vending. Only the owner (highest isboss grade) manages them, and each one needs its own license.
| Tab | License | Can be bought from |
|---|---|---|
| Carts | Street sales (venta_ambulante) | Level 1 |
| Food trucks | Street sales, plus the food truck level | Level 2 |
| Vending | Vending machines (expendedoras) | Level 1 |
Licenses are bought under Business → Management → Licenses with the business account. Prices, duration and levels are in Street, wifi and vending.
Carts
Fixed stands (hot dogs, burgers, kiosk, juice, barbecue, fruit) the owner places on the street.
- In Carts, pick the model and place it with the gizmo. Up to 2 carts per business by default.
- Fill its inventory: each cart has its own stock, separate from the storage.
- Choose which products it sells and at what price.
Customers buy at the cart with cash or bank, and the money goes to the business account. When a cart is removed, any leftover stock goes back to the storage.
Food truck
A fleet vehicle that turns into a full stand when parked: a kitchen with its own oven, a mini storage, a till and a card terminal.
- Buy the truck under Purchases & fleet → Vehicles (the
tacomodel by default, one per business). An admin needs to have it in the fleet catalog. - Take it out of the garage and drive it to the spot.
- Park, get out and choose Set up stand on the truck (you need to be on duty).
If the truck moves more than Config.FoodTruck.MaxMoveDistance meters, goes back to the garage or disappears, the stand packs itself up. The storage and the till travel with it. The food truck has its own power: a blackout at the premises doesn't stop it.
Business vending machines
Machines the business buys and places on the street, with its own products and prices. They take card only.
Placing a machine
In Vending, pick the model and place it next to you with the gizmo. The server checks it isn't:
- near police stations, hospitals or city hall (
NoPlaceZones), - near another business's points,
- near another business vending machine.
One machine per business by default. Only food and drink can be sold (items with hunger or thirst in ox_inventory), plus anything you add to ExtraItems.
Restocking and collecting cash
- To restock, an on-duty employee has to go to the machine with the goods.
- With
CashInMachine = true(default), sales stay inside the machine until an on-duty employee collects them and pays them into the business account. When the machine is full (CashCap) it stops selling.
Robberies
Anyone outside the business can force a machine that holds cash:
- They need a lockpick (
lockpick), which can break. - It takes several rounds of mini-game and struggling; failing one ends the robbery.
- When it starts, the police and the business are alerted. The alert goes to
eleven-policeif it's running, and always fires theeleven-comercios:vendingRobberyAlertevent so you can hook any dispatch (see Street, wifi and vending). - A minimum number of on-duty police (
PoliceJob) is required, with cooldowns per machine and per player. - The thief takes a percentage of the cash as money.
Every value lives in Config.VendingOwned.Robbery.
Concessions
The owner can take over a public machine on the map: walk up, choose Request concession and pay the fee from the business account. It counts towards the machine cap and stops being public. If removed, it becomes public again and the fee isn't refunded.
Public vending machines
On top of that, the vending machines on the map (Config.Vending.Models) sell to anyone, with no owner or stock:
- One price per product and card only.
- Each player gets one unit of each product every 15 minutes. If they try sooner, the machine jams, charges them and gives nothing: the character kicks it.
- The first time a character jams it, the kick drops the product anyway.