Giter Site home page Giter Site logo

esx-kr-advanced-shops's Introduction

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 Today is actually my birthday, lol. Also to celebrate that i've being a member for a year (couple of days a go) in this forum and in the FiveM community. Aslo 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 valut 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: https://forum.fivem.net/t/release-bahama-mamas-with-working-doors/140195 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 table shops from your database.
  5. Insert the SQL.
  6. Enjoy the script.

Video https://streamable.com/0yhd1

https://streamable.com/0yhd1

esx-kr-advanced-shops's People

Contributors

krille123 avatar oldarorn avatar kwinno avatar perpgamer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.