Page cover image

mad-vendrob v1

FiveM QB-Core mini-heist. Break into Vending Machines all over the island, grab cash and whatever else might fall out.

This free version of mad-vendrob lets you rob vending machines for quick cash, but the updated version takes things to a whole new level!

πŸš€ Upgrade to mad-vendrob v2 for:

  • πŸ’» Seamless Compatibility - Automatically detects and works with your resources: framework, inventory, police dispatch, target (third-eye), notifications, mini-games, progress-bars and language - no manual setup required!

  • πŸ”₯ Dynamic Consequences – Machines can fall apart, zap you, trap your hand, or even explode if you're unlucky!

  • πŸ’ͺ Improved & Upgraded – Countless refinements and optimisations make gameplay more dynamic, immersive, and seamless on your server.

  • βœ… Fully Customisable & Optimised – Easily tweak everything to match your server’s style and economy.

  • πŸ” Completely Secure - Not even the most determined script kiddy can exploit this. All critical logic runs server-side, with the client handling only minor tasks, making it fully secure and tamper-proof.

πŸ”₯ Want more depth, compatibility, performance, and excitement? Grab mad-vendrob v2 now!

πŸ’°mad-vendrob v2
https://github.com/ThatMadCap/mad-vendrob

Introduction

Immerse your players in the thrill of petty crime as they take on the challenge of robbing soda vending machines scattered across the map. With a variety of configurable options, this resource offers a dynamic experience tailored to your server's preferences.

Preview

Preview Video

Installation

Dependencies

Steps

  • Download ZIP

  • Drag and drop resource into your server files

  • Rename folder to "mad-vendrob"

  • Start resource through server.cfg

ps-dispatch

Add this to your ps-dispatch\shared\config.lua

-- MadCap Vending Robbery
['VendingMachineRobbery'] = {
    radius = 120,
    sprite = 66,
    color = 5,
    scale = 1.5,
    length = 2,
    sound = 'Lose_1st',
    sound2 = 'GTAO_FM_Events_Soundset',
    offset = false,
    flash = false
},
  • Add this to your ps-dispatch\client\alerts.lua

-- MadCap Vending Robbery
local function VendingMachineRobbery(camId)
    local coords = GetEntityCoords(cache.ped)
    local dispatchData = {
        message = "Suspicious Activity Reported",
        codeName = 'VendingMachineRobbery',
        code = 'S13P',
        icon = 'fas fa-question',
        priority = 2,
        coords = coords,
        gender = GetPlayerGender(),
        street = GetStreetAndZone(coords),
        camId = camId,
        jobs = { 'leo' }
    }
    TriggerServerEvent('ps-dispatch:server:notify', dispatchData)
end
exports('VendingMachineRobbery', VendingMachineRobbery)

ps-ui

  • (Optional) Add this to your ps-ui\html\style.css.warning {

  background-color: rgba(236, 176, 11, 0.85);
  color: #333333;
}

Configuration

You can adjust the resource to your server's needs in config.lua.

Last updated