Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

Crime & Gang Mods

Shop Robbery

Inside Shop Robbery

Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
File size
9.5 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Inside Shop Robbery is a store robbery job for ESX. A player takes the job from an NPC, tracks down a drunk store manager for the documents, gets one of 19 stores at random, holds up the shopkeeper at gunpoint and waits while he opens the safe.

Features

  • Job start at a contact NPC, with a minimum number of police online (Config.Police) and a cooldown between robberies (Config.SecBetwNextRob)
  • A wandering, drunk manager NPC with a blip; taking his documents reveals the target store
  • 19 stores in config.lua, each with shopkeeper position and model, safe position, one or two cash registers, safe time and safe payout
  • Aiming a weapon at the shopkeeper makes him surrender and walk to the safe; after the timer (360 seconds by default) a cash case appears to collect
  • Safe payouts between 6,032 and 15,232 by default; each cash register gives a random 1 to 300 (Config.CassetteMin, Config.CassetteMax)
  • Police with the police job get a notification with the street name and a blip for 60 seconds
  • The robbery is cancelled if the player moves more than 15 m from the store, or if it is not started within 20 minutes (Config.TimeToEnd)

Requirements

  • ESX (loaded through the esx:getSharedObject event)
  • pNotify and rprogress

Installation

  • Copy inside-shoprobbery into your resources.
  • Add ensure inside-shoprobbery to your server.cfg after ESX, pNotify and rprogress.
  • Set NPC positions, stores, police count and payouts in config.lua.

Notes

  • The server pays the safe amount sent by the client without checking the robbery state; add server-side validation in server/server.lua before using it on a live server.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • FiveM Torture System
    • ESX
    • QBCore
    Not for your framework

    FiveM Torture System

    Danzo Scripts

    $24.00$16.80
  • Boss Menu
    • ESX
    • QBCore
    Not for your framework

    Advanced Boss Menu

    Eyes Store

    $5.00$3.50
  • Drugs Creator FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Drugs Creator

    Jaksam

    $50.00$35.00
  • Gang War
    • ESX
    • QBCore
    Not for your framework

    Wasabi Gang War Phone (ESX/QB)

    Wasabi Scripts

    $26.00$18.20
  • Home Robbery Script FiveM resource preview
    • ESX
    Not for your framework

    Home Robbery Script

    $25.99$18.19
  • Prison
    • ESX
    • Standalone, QBCore, Qbox

    Prison all-in-one system

    rcore

    $32.00$22.40
  • Home Robbery
    • ESX
    Not for your framework

    FiveM Home Robbery

    $7.99$5.59
  • FiveM Drug FX
    • ESX
    Not for your framework

    DrugFX by ModFreakz

    ModFreakz

    $18.99$13.29