ESX-KR-ADVANCED-SHOPS and ROBBERY INCLUDED
History
If you liked this project make sure to give it some love for more future updates and scripts._
Purpose
To celebrate that i’ve being a member for a year (couple of days a go) in this forum and in the FiveM community. Also to celebrate the good response of the last scripts i’ve published.
Updates
Version 1.0
Future updates
- I might add a NUI when you’re buying the shop.
- I will add so you can give your shop to a player (incl. NUI).
- I might add a proper translation, if anyone want to do it feel free to do so.
Features
- You can buy and operate your own shop.
- You can put and remove items from your shop.
- You can put your own prices on the items you’re selling.
- It has it’s own shiping system.
- It’s configurable.
- You can rob other shops and get 10% of the shops worth (configurable).
- If the robber runs too far away the robbery automaticly cancels.
- You have to physically brake the vault to succeed the robbery.
- It has a beatiful NUI.
- You can toggle all the shop blips on/off on the shopcenter.
- You can sell your shop
- You can name your shop, the shop name and shop icon is showing on the map.
- It’s own boss system.
- And much much more.
TO-DO (IMPORTANT)
- If you want any more items in your shipment menu you’ll HAVE to add it ON Config.Items
EXAMPLE:
[3] = {label = "Telephone", item = "phone", price = 1000},
You’ll have to add up the highest number (default 2) so it becomes 3. If you already have a 3 you’ll have to add an 4 and so on.
-
The shop 16 is actually Bahama Mamas Club and MUST be used with: [Release] Bahama Mamas with working doors
If you don’t want the Bahama Mamas Club remove 16 from the database ROW. -
If you wish to add other icons to your shop you first have to add a new row in your table (Config.Images), with src as in the image name and format and where it is located. Then you’ll have to start it in
__resource.lua
. But if you don’t have a icon do not worry, i’ve provided you with a default box which goes in by default if the program doesn’t find any other icon with the matching name. -
You will have to configure the prices so it matches your server’s economy.
Watch screenshot: Screenshot - 405a47991651d5de6d6c4469830c7c8b - Gyazo
Change delivery price by changing price and set it equal to whatever the price you want it to cost. -
You also will have to configure the shops price so it matches your server’s economy.
Watch screenshot: Screenshot - bed56f2e03b9f1c797ccc61f5db3d901 - Gyazo
It’s all the values ShopValue to change the price of the shop.
Download
You can download the script here
Installation
- Download the files and insert them into your resouce folder.
- Write esx-kr-advanced-shops in your server.cfg.
- If you have any other shop script i stronly suggest you to turn them of.
- If you are using esx_shops, please remove the old table shops from your database.
- Insert the SQL.
- Enjoy the script.
Video
2019-03-14 16-53-11