[PAID] JP-StreetRobbery — Hold-Up System for RedM / VORP

Overview

JP-StreetRobbery lets players hold up NPC pedestrians on the street. Aim a firearm at a nearby ped and the robbery begins — no zone to enter, no prompt to find, no menu to open. The server rolls the outcome, issues the reward, and tracks everything. Players can’t cheat the reward by spamming — a sliding economy window scales down payouts as they earn more.

After a configurable number of successful robberies, the alert loop fires: online officers get a map blip and notification, a Discord embed posts to your webhook, and if nobody is on duty, NPC lawmen spawn to respond instead.


Features

  • Aim to rob — point a gun at any nearby NPC ped to trigger a hold-up. No zones, no menus
  • Optional disguise requirement — configure whether players must use a thief clothes item first, or if gun aiming alone is enough
  • Server-authoritative outcomes — comply, fight back, or nothing worth taking. All rolls happen server-side
  • Cash and item rewards — weighted loot table with per-item quantity ranges. Add as many items as you want
  • Economy soft cap — rewards scale down within a rolling time window as a player earns more, discouraging farming without a hard cutoff
  • Police alert loop — rob X NPCs → alert fires → counter resets → repeats. Fully configurable threshold
  • Job-based fanout — alert goes to online players by VORP job name with a map blip and notification
  • Discord webhook — embed posts on each alert with town name (resolved from configurable zones) and officer count
  • NPC lawmen — spawn automatically when the alert fires and no officers are on duty. Uses your configured ped model
  • Dead cop control — configure whether downed lawmen despawn or stay where they fell
  • Pacing controls — global cooldown, per-ped cooldown, authorization window, control lock on robbery start
  • Config-driven — nearly every value is tunable in config.lua, which remains unencrypted for your convenience

Requirements


Installation

  1. Drop jp-streetrobbery into your resources folder
  2. Add ensure jp-streetrobbery to server.cfg
  3. Open config.lua and set your job names, item names, and tuning values
  4. Restart or start the resource

Configuration Highlights

Config.RequireThiefClothes = true       -- require disguise item, or just aim a gun
Config.ThiefClothesItem    = "thieves_clothes"
Config.RobsBeforeAlert     = 5          -- robberies before law alert loop fires
Config.PoliceJobs          = {"sheriff_d1", "sheriff_d2"}
Config.CopNPCsToSpawn      = 0          -- > 0 to spawn lawmen when no officers online
Config.DiscordWebhookUrl   = ""         -- Discord embed on each alert
Config.MoneyMin            = 10
Config.MoneyMax            = 30
Config.ReactionFightChance   = 15       -- % chance ped fights back
Config.ReactionNothingChance = 15       -- % chance ped has nothing

Full config reference is in the README.md included with the resource.


Preview

  • coming soon


[Purchase on Tebex]

Code is accessible No
Subscription-based No
Lines (approximately) 1900~
Requirements vorp_core, vorp_inventory, /assetpacks
Support Yes
2 Likes