Drug Prices

Hello,

I use this script:

How do i change the prices of the drugs?

I have already configured everything but idk to set up the prices of the drugs.

I want each bag to be $5000.

Thanks

go to resources/esx/esx_illegal_drugs/server/esx_illegal_drugs_sv.lua

and change:

				xPlayer.addAccountMoney('black_money', 90)
				TriggerClientEvent('esx:showNotification', source, _U('sold_one_weed'))
			elseif CopsConnected == 1 then

90=how much blackmoney you get from 1 bag of weed.
just change that and the others and so on. exampel:

				xPlayer.addAccountMoney('black_money', 100)
				TriggerClientEvent('esx:showNotification', source, _U('sold_one_weed'))
			elseif CopsConnected == 2 then

thats how much you get from 2 bags and the last one is how much you get from 10 bags.
do the same for all of the drugs.

1 Like

I think i also just figured it out, thanks anyways. If it doesn’t work il reply to this again.

1 Like

Yup ok! I have changed the prices of my drugs in my server. All blips are hidden, i got a moneywash script in and everything. It is quite good. 40 minutes of work makes you $70k-$80k.

anyone help…i have no blips and see nthn on the map…does this still work?

Anyone know why i get this when trying to import into the SQL

i goto the locations fine, my job is not set as police and also doesnt require any police to start. But pressing C doesn’t start the process

https://imgur.com/OO2tzFC

Please somebody help me. i realy2 love this script, teact me to soft this problem.
thnks u for the good script.