[Release] esx-kr-advanced-shops - Next generation shop script (Robbery inculded) (NUI)


#1

ESX-KR-ADVANCED-SHOPS and ROBBERY INCLUDED

History
Long time project, some of the coding is old, if you find any bugs please contact me on discord at: KRILLE#2428
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)

  1. 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.

  1. 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.

  2. 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.

  3. You will have to configure the prices so it matches your server’s economy.
    Watch screenshot: https://gyazo.com/405a47991651d5de6d6c4469830c7c8b
    Change delivery price by changing price and set it equal to whatever the price you want it to cost.

  4. You also will have to configure the shops price so it matches your server’s economy.
    Watch screenshot: https://gyazo.com/bed56f2e03b9f1c797ccc61f5db3d901
    It’s all the values ShopValue to change the price of the shop.

Download
You can download the script here

Installation

  1. Download the files and insert them into your resouce folder.
  2. Write esx-kr-advanced-shops in your server.cfg.
  3. If you have any other shop script i stronly suggest you to turn them of.
  4. If you are using esx_shops, please remove the old table shops from your database.
  5. Insert the SQL.
  6. Enjoy the script.

Video
https://streamable.com/0yhd1


#2

Nice release


#3

Good job :+1:


#4

@KRILLE You keep up the great work man :slight_smile: if you every need assistance hit me up man :slight_smile: Would love to work with you.


#5

For sure :smiley: .


#6

well done


#7

Dude, you’re a legend.

Awesome work.


#8
Today is actually my birthday
```   HAPPY BIRTHDAY DUDE  <3

#9

Thanks mate. <3


#10

This is really good and this gives me some inspiration for future projects, so thanks for that!

Will have to test it out to see if I can find some bugs tho, but it looks great!
Also, congratz on your birthday! Mind telling your age? :wink:


#11

16 and thanks <3


#12

Well done! Happy birthday and I hope you get a good day and get some nice birthday presents! :gift::gift::gift:


#13

Thanks.


#14

Much appreciated


#15

Happy birthday, congratulations for the work that has been creating and sharing with the community.


#16

Thanks! <3


#17

Holly Molly, this is future!!


#18

I can not get the sale, the icons do not appear


#19

put item on sale does not work


#20

Have you installed the sql correct?