π₯€ Vending Machine Script [ESX + ox_inventory + ox_target + ox_lib] β Thanila Script
Bring your city to life with immersive and interactive vending machines across the map. Whether itβs for snacks, drinks, or special items, this system offers a realistic and clean shopping experience for your players.
Perfect for public areas, hospitals, gyms, stations, or gang hideouts!
βοΈ Features:
π§ Interact with vending machines using ox_target
π₯οΈ Beautiful NUI interface to browse available items
π¦ Seamless integration with ox_inventory (items added after purchase)
ποΈ Animated purchase system (configurable animation + prop handling)
π Quantity selector + total price calculation
π Fully configurable vending machine models and item lists
π Optional job/gang restrictions for special machines
π§ Smart logic: no animation or charge if purchase fails
π§Ύ Optimized logs & Discord webhook support (optional)
π« Bonus Features:
Easy to add new vending machine locations via config
Fully translatable (EN/FR/IT/DE)
Supports both food and drink items
Performance-friendly β server & client optimized
π¦ Dependencies:
βοΈ ESX
βοΈ ox_inventory
βοΈ ox_target
βοΈ ox_lib
Offer your players a real-world shopping vibe with functional, animated vending machines placed anywhere you like.
Built by Thanila Script β clean, immersive, and made for RP.
SHOWCASE VIDEO : Β https://youtu.be/59BUctH5vCw