A vending machine script for FiveM that turns the vending machines already in the map into working shops. It hooks into the native prop_vend_soda_02 prop, so a single install gives you coverage across the whole city — and players holding the vendingmachine item can deploy their own machine anywhere they like.
Interacting opens a custom animated NUI with the drink list, prices and a grab animation on purchase.
• Works on existing GTA vending machine props — no prop placement needed
• Deployable machine via inventory item, repackable by any player
• Two interaction modes: ox_target / qb-target, or proximity and the E key with no target script at all
• Configurable drinks — add, remove, rename and price each item individually
• Smart payment: checks cash first, then bank, and validates inventory weight before the purchase
• Prop placement mode with keyboard move and rotate after deployment