This is the most advanced and realistic drug dealer script in Fivem!
How It Works
use the illegal tablet or a drug connection guy to open the world wide drug trade panel
choose the product
choose the drug group to make a deal with
look for a public phone so they will call you
get the signal location and go there
wait for the signal
after you received the signal go to the coordinates and wait
drug dealers arrive and you start negotiate with them
you show your product to them
after its done get your money and leave the area immediately



Family Types
small : 2 peds with a vehicle or bike
street: 4 peds with a vehicle
convoy: 4 peds with two vehicles or bikes
airborne: 4 peds with a helicopter
heavy: 5-8 peds with two vehicles




Family Behaviors
aggressive:
if police arrives or a combat happens that was not from the player who started the deal then the player becomes rat and dealers will shoot him too
if the amount of drugs are not same as player set inside the drug trade panel then he gets shot
normal: they don't act like the aggressive families unless player starts to shoot to the dealers
Reputation System
Reputation system helps the drug selling RP to be more realistic and harder, it makes players to act carefully and wise while dealing.
it also limits the amount of selling to the dealers meaning the more reputation a player have the more drug amount he can sell and also the less reputation he gets the less amount of drugs being able to sell
reputation point gets decreased at these situations:
when player shoots/troll/hit the dealers
even if another player does that!
police arrives to the location (player becomes rat)
if the amount of drugs are wrong
not being on location on time
dying while or before negotiation
if a deal gets finished successfully without any problem the player earns respect and reputation
Police Invasion
there is a chance depends on the amount of the deal that the conversion between player and dealer on phone line gets leaked by police, if this happens police will get the location and will arrive to catch the player and dealers
the higher the deal amount is the higher chance police finds out about the meeting location

Looting Scenario
if player gets shoot by the dealers for any reason then the dealers can loot the player and teach him a lesson! if looting happens player will lose any drug type he got in inventory
meanwhile if a enforcement arrives (police or player friends) and dealers haven't escaped yet them if the looter dies the looted drugs gets dropped and player has a chance to take them back

Advanced Log System
every log contains all info, logs will be sent on these cases:
- when a deal gets finished
- when a player disconnects or logouts
- when script gets restarted while some players were doing their deals
if a player gets dc or the script is restarted by the developer while some players were doing deals then a complete log with all info will be sent to the discord

Features
you can add/remove/edit any type of drug
each drug has its own animation when it comes to the test by dealers
drugs prices are dynamic and can gets changed per every duration
can add/remove/edit families including their ped models and vehicles
you can set each drug type if a family can trade them or not
different gang families behavior
considered more than 20 different case of scenario and for each the results would be different
reputation point goes up and down in different situations
looting system
every part is configurable
low usage
supports ESX, QbCore and Qbox
supports all inventory systems
advanced logs for each deal