[ESX] esx_tk_shoprobbery - Advanced Shop Robbery

esx_tk_shoprobbery

About

This script adds 4 different ways to rob stores in the map. You can lockpick safes and registers, rob the cashier and shoplift from the shelves. Script has been tested with ESX V1 Final, but should work with all ESX versions. If not, you can always contact me!

Features

  • Well-optimized
    • 0.01 ms | Idle
    • 0.05 ms - 0.10 ms | In usage
  • Uses FiveM Asset Escrow system, but if there is anything you would like to get changed or added to the editable file, contact me and I can probably change it!
  • Highly customizable
    • Change settings of blips easily in the config file
    • Change chances for alerts & chance for the cashier to attack you
    • Change durations for events
    • Change cops needed and the name of the police job
    • & much more
  • How does it work? (watch video above for a good understanding)
    • Registers
      • You can lockpick all the cash registers in stores
      • When completed you’ll get money and police will get an alert
      • Small chance for the cashier to attack you
    • Safes
      • You can lockpick all the safes in stores
      • When completed you’ll get money and police will get an alert
      • You can disable alarms to lower (or completely disable) the chances of police alerts
    • Shoplifting
      • You can shoplift from the shelves of the shops
      • Add as many items as you wan’t as reward
      • Police will get an alert and high chance of the cashier attacking you
    • Robbing the cashier
      • Aim your gun at the cashier
      • Cashier will start collecting money in a bag and give it to you
      • When completed you’ll get money and police will get an alert
      • Small chance for the cashier to attack you
Screenshots



9

11

Config






6

Requirements

  • es_extended
  • mythic_progbar (Optional; you can edit or remove progress bar in editable client file if you want to)
  • mythic_notify (Optional; notification type can be changed in the config)
  • mhacking (Optional; you can change the minigame)
  • pd-safe (Optional; you can change the minigame)

Purchase (12.99€ + VAT)


My other work

Code accessible [No]
Subscription based [No]
Lines (approximately) [800]
Requirements [es_extended, mythic_progbar, mythic_notify, mhacking, pd-safe]
Support [Yes]
3 Likes

Update 1.1.0

  • Reworked the way NPC spawning is handled - it should now be a lot more consistant and for example you shouldn’t be getting duplicate NPCs anymore
  • Minor bug fixes
  • Finnish locale

Update 1.1.1

  • Fixed NPC stuck in ground on first restart
  • Fixed player sometimes getting stuck in the progress bar animation

Update 1.1.2

  • Added new config option Config.RobberiesToEnable which allows you to disable or enable different robberies (for example disable lockpicking registers)

Update 1.1.3

  • Fixed mugshot showing wrong player ped image

Update 1.1.5

  • Added a new event into the editable client file that is always called when a robbery is successfully completed

Update 1.1.6

  • New config option Config.MeleeOnly, should you be able to rob with melee weapons only

Update 1.1.7

  • Added server side event esx_tk_shoprobbery:robberyStarted(type) that is triggered when any robbery is started
  • Fixed cooldown for robberies not functioning properly

Update 1.1.8

  • You can now add items as rewards in safes also

Update 1.2.0

  • Improvements to NPC spawning and deleting
  • New config options for enabling cooldown when failing a robbery
  • New config option Config.InteractionKey
  • Added webhook to Discord

Update 1.2.3

  • Added separate config options for item needed to rob safes and registers

Update 1.2.4

  • Fixed alarm disabling not working as intended

Update 1.2.5

  • Added new config options that allow you to modify the chance to lose lockpicks
  • Cleaned up config file

Update 1.2.6

  • Moved alarm disabling minigame to editable client file

Update 1.2.7

  • Minor improvements

Update 1.2.8

  • New config option Config.UserCooldown

Update 1.2.9

  • Fixed bug caused by previous update

Update 1.3.0

  • Added a new config option Config.AllowPoliceToRob

Update 1.3.1

  • Added a new config option Config.UseOxInventory

Can I move the trigger event to call the police as soon as a player tries to rob the store?

Hey! Apologies for the late reply. There are separate config options for the alert chance at the start and at the end of the robbery so: yes, you’ll be able to do that.