Hello. I’ve seen a lot of requests on this plugin combination and I decided to mix something up by edit a simple item plugin since I’m new to coding don’t be suprised if you find any bugs!
Credit goes to Github @ TanguyOrtegat release of esx_holdupbank. Editing of his Plugin.
Credit goes to Github @ johanwulf release of esx_cigarett. Used his plugin to make this Drill.
Feel free to make commits to the plugins!
You can cancel the drill animation at any time and still keep on robbing till the timer runs out.
Upload both to resources/[esx] folder.
Add these to server.cfg
start esx_borrmaskin start esx_holdupbank
Create “drill” in items table. ( You can change Borrmaskin to whatever name you like )
INSERT INTO `items` (`name`, `label`, `limit`) VALUES ('drill', 'Borrmaskin', 1) ;
If you want the Drill to be added to esx_shops insert this SQL Query into shops.
INSERT INTO `shops` (name, item, price) VALUES ('TwentyFourSeven','drill',1000), ('RobsLiquor','drill',1000), ('LTDgasoline','drill',1000) ;
To test it out ingame type /giveitem playerid drill 1.
Config.NumberOfCopsRequired = 1
Config.NumberOfCopsRequired = 0
in esx_holdupbank or you can just set yourself as a cop and do the robbery.