Advanced Pharmacy Robbery

pharmacy_robbery

Script allows players to rob four different pharmacies around the map.


Features
  • Front doors are open during the day and close at night or when the alarm is triggered
  • Each pharmacy has a breakable window that can be shattered using one of the weapons from the weapon table
  • Hackable alarm panel that sets off a synced alarm sound when broken into
  • Police can disable the alarms from the alarm panel
  • Closed storage door with a keypad that can be unlocked by hacking
  • Searchable medicine cabinets with a configurable minigame
  • Crackable safe with its own minigame
  • Minimum required number of officers on duty can be set
  • Automatic refresh interval after breaking in
  • Everything is synced across all players
  • Logs that monitor players receiving loot, opening doors, or attempting exploits
  • Highly customizable, extensive configs and many editable files (dispatch, inventory, minigames, notifies, progressbars, framework & logs)
  • Secure and optimized code that guarantees a smooth experience
Requirements
  • Map (Helnius Dollar Pills MLO)
  • Inventory (esx / ox_inventory / qb-inventory / qs-inventory / custom)
  • Framework (esx / qb / qbx / custom)
  • Dispatch script (cd_dispatch / aty_dispatch / tk_dispatch / qs-dispatch / ps-dispatch / rcore_dispatch / custom)
Config files
Screenshots
Other releases

Try before you buy: Access all escrowed scripts for one week at only €1!

Preview YouTube
Purchase Escrowed Tebex 14.99€
Purchase Source Code Tebex 34.99€
My Discord Server

Code is accessible No
Subscription-based No
Lines (approximately) +2000
Requirements ox_lib, ox_target
Support Yes
1 Like

UPDATE - VERSION 1.0.3

  • Added an option for police to disable the alarms
  • Fixed random window disappearing when stealing medicine from cabinets
  • Better error handling and safer events

Edited files: src/client/data/alarmpanel.lua src/client/main.lua src/client/utils/functions.lua src/server/main.lua

UPDATE - VERSION 1.0.4

  • Fixed alarm panels hacking minigame error
  • Cleaned some code

Edited files: src/client/main.lua src/client/utils/functions.lua src/server/main.lua

UPDATE - VERSION 1.0.5

  • Improved window syncing, now it actually breaks instead of just disappearing
  • Alarms now sync perfectly with all players, sound customization moved from alarmpanel.lua to shared.lua
  • Added openHours option to each pharmacy location
  • Police disabling alarms will now reset the entire robbery
  • Fixed cooldowns not working correctly
  • Added missing temporary stash locale

Edited files: All

UPDATE - VERSION 1.0.6

Edited files: All

UPDATE - 1.0.7

  • Fixed bugs with police disabling alarms
  • Improved window syncing

Edited files: src/client/main.lua, src/client/utils/functions.lua, src/server/main.lua

Try before you buy: Access all escrowed scripts for one week at only €1! https://www.0-scripts.com/category/subscriptions

UPDATE - VERSION 1.0.9

  • Fixed few errors
  • Added support for qb-target, ox_target, and custom target scripts
  • Moved shared configuration to src/shared/config.lua and added a new target option
  • Changed loot and safe lootpool structures
  • New command available in debug mode: pharmacy_robbery:convertItems loot / safe converts old item formats to the new structure
-- Old format
['item_name'] = {amount = {0, 10}, chance = 50.00}

-- New format
{name = 'item_name', amount = {5, 10}, chance = 50.00}

Note: The old loot pool format for cabinets and safes is still supported, but it’s recommended to convert to the new format.
Edited files: All

1x Giveaway at my discord :tada: