Git Product home page Git Product logo

rid_blackmarket's Introduction

Weapon Black Market Shop

MADE BY : Re-Ignited D3velopment Crew

Visit our Discord Server for direct help with our scripts and general ESX / Fivem Help ( https://discord.gg/akXEgcF )

Author: Deviljin112 Discord: D3v#0802 Github: ( https://github.com/Deviljin112 )

Co-Author: BTNGaming Discord: BTNGaming#0001 Github: ( https://github.com/BTNGaming )

Special thanks to : Crumble - Helped with some coding issues :)

Disclaimer

FEEL FREE TO EDIT THE CODE FOR PERSONAL USE!

DO NOT SHARE THE WORK AS YOUR OWN!

DO NOT SELL THIS WORK!

-= FOR PERSONAL USE ONLY =-

Description

This is a black market weapon shop that uses a stock system.
When stock runs out players are unable to purchase more weapons from this shop.
After 24hrs (at the specified time in config) there is a new delivery of stock.

Weapons are chosen at random from 3 categories; Pistols, Rifles and Snipers.
New weapons are only chosen when stock of the current weapon is 0.
So when there is still stock at the specified time the weapon will not be restocked or replaced.

There is also an option for a script restart refill.
Basically if the server or script is restarted you can have the 'stock' of weapons refilled to random values specified in Config file.
Again this will only occur to the weapons that have 0 stock at the time of the restart.

You can change what the weapons are changed to and everything about them, price, stock amounts etc.

Installation

  1. Place folder rid_blackmarket in you /resources/ folder
  2. Add rid_blackmarket in your server.cfg file
  3. Start your server and enjoy!

Discord

Release History

  • Version 1.1

    • ADD: Config option for police to use the blackmarket
    • ADD: Config option for police to see the blackmarket marker
  • Version 1.0

    • ADD: Refill stock on server restart
    • ADD: Random weapon delivery at specified time
    • ADD: Random amount of stock added
    • FIX: Multiple tables of data in the menu

TO DO

  • Specify whether Restock or Refill occurs at Server Restart
  • Specify whether Restock or Refill occurs at specified time
  • Random Chance notification for police when purchasing weapon from black market
  • Police to "shut down" black market sales for 24hrs (config specific)
  • Ability to add more weapons to config randomizer (currently max is 3 per category)
  • Ability to add varied amounts of weapons for each category (currently capped at 3 for all categories)

Dependancies

  • ESX

Inspired By

  • esx_weaponshop

MORE UPDATES IN THE FUTURE!

Please like/favorite on the FiveM Forums.

rid_blackmarket's People

Contributors

deviljin112 avatar majormarcin avatar

Watchers

James Cloos 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.