Pogue Store Docs
Buy Me a CoffeeTebex StoreDiscord Community
  • Welcome to Pogue's World!
  • Scripts
    • ⛏️ Pogue Collector Script for RedM
    • 👨‍🎓 Pogue Redipedia Script for RedM
    • 🎲 Pogue Liar's Game For RedM
    • 📒 Pogue Notepad Script For RedM
    • 📬 Pogue Telegram Script For RedM
    • 👔 Pogue Bossmenu Script For RedM
    • 🛡️ Pogue Bodyguard Script For RedM
    • 📈 Pogue StockMarket Script For RedM
    • 📈 Pogue StockMarket V2 Script For RedM
    • 💰 Pogue Robbery Script for RedM
Powered by GitBook
On this page
  • 💬 Support
  • 📜 Overview
  • ✨ Features
  • 🔧 Installation Instructions
  • 🛠️ Requirements
  • 🎮 How It Works
  • 📋 Special Considerations
  1. Scripts

💰 Pogue Robbery Script for RedM

The Pogue Robbery Script introduces immersive robbery mechanics for your RedM server, enabling players to engage in dynamic heists at banks and general stores.

Previous📈 Pogue StockMarket V2 Script For RedM

Last updated 5 months ago

💬 Support

  • 🌐

  • 🛒


📜 Overview

This script allows players to perform store and bank robberies by interacting with NPCs at designated locations. Each robbery scenario is governed by specific mechanics such as required items, police presence checks, and cooldowns to maintain balance and immersion.


✨ Features

🏦 Bank Robbery

  • Players can initiate bank robberies by interacting with NPCs at bank locations.

  • Requirements: Players need a dynamite in their inventory (added via SQL to the items table).

  • Execution: After meeting the police presence requirement, players can detonate the vault and receive configurable rewards.

🛒 Store Robbery

  • Players can rob general stores by interacting with NPCs stationed at store locations.

  • Requirements: Players need a lockpick in their inventory (added via SQL to the items table).

  • Cooldown System: A configurable cooldown prevents repeated robberies at the same location.

🚓 Police Checks

  • Configurable minimum police presence:

    • Stores: Requires at least one police player (Config.MinPolice).

    • Banks: Requires at least one police player (Config.MinBankPolice).

  • If the requirements are not met, the robbery cannot proceed, and players receive a notification.

📢 Alert Notifications

  • Police are notified when a robbery is initiated, including details and coordinates.

  • Configurable alert timers ensure timely police responses (Config.Policealert).

🎁 Rewards

  • Rewards are customizable for both store and bank robberies:

    • Store Rewards: Defined in Config.StoreItems.

    • Bank Rewards: Defined in Config.BankItems.

🕒 Cooldowns

  • Prevent abuse with configurable cooldown timers for each robbery type (Config.robberyCooldown).


🔧 Installation Instructions

1. Add the Script to Your Server

  1. Place the Pogue_Robbery folder into your server's resources directory.

  2. Add the script to your server.cfg file:

    ensure pogue_robbery

2. Set Up the Database

Run the following SQL commands to add the required items to the items table:

dynamite , lockpick

3. Configure Settings

Edit the config.lua file to customize the following options:

  • NPC Locations:

    Config.NPCS = {
        { coords = vector4(-1786.1436, -397.5865, 155.6201, 51.1322), model = 'A_M_M_UniGunslinger_01', outfit = false }
    }
  • Cooldown Timers:

    Config.robberyCooldown = 120000 -- Cooldown for store/bank robberies (in milliseconds)
  • Rewards:

    Config.StoreItems = {
        { itemName = "goldbar", amount = 1 },
        { itemName = "diamond", amount = 1 }
    }
    Config.BankItems = {
        { itemName = "diamond", amount = 5 },
        { itemName = "goldbar", amount = 3 }
    }
  • Police Requirements:

    Config.MinPolice = 1
    Config.MinBankPolice = 1

4. Add Images to VORP Inventory

Copy the images for lockpick and dynamite into your vorp_inventory/html/img/items directory.

🛠️ Requirements

  • VORP Core Framework: Ensure vorp_core is installed and functional.

  • VORP Inventory: Required for inventory management.

  • oxmysql: Required for database integration.


🎮 How It Works

1. Store Robberies

  • Players approach a general store NPC and initiate a robbery.

  • Requirement: A lockpick is required in the player's inventory.

  • Reward: Configured items (e.g., goldbar or diamond) are added to the player's inventory upon success.

2. Bank Robberies

  • Players initiate a bank robbery by interacting with a bank location.

  • Requirement: A dynamite is required to blow open the vault.

  • Reward: Larger rewards, such as multiple goldbars or diamonds, are provided.

3. Police Interaction

  • Robberies cannot proceed without the minimum required police presence.

  • Notifications are sent to all police players when a robbery begins, ensuring timely responses.

4. Cooldowns

  • Robbery cooldowns prevent spamming. Players must wait until the timer resets to attempt another robbery.


📋 Special Considerations

  1. Customization:

    • Adjust NPC locations, rewards, cooldowns, and more in the config.lua file.

  2. Inventory Setup:

    • Ensure that lockpick and dynamite items are added to your inventory system.

  3. Realism:

    • Police presence requirements enhance roleplay and ensure balanced gameplay.


Enjoy the Pogue Robbery Script and bring thrilling heist scenarios to your RedM server! 💰

For additional support or resources, join our or visit our .

Join the Community on Discord
Explore More Scripts on Tebex
Discord
Tebex store