[ESX] MoneyWash

Do they log off? If they log off it won’t give them the money. When I get time I will work on that.

Yes. That is what happens. They put it to wash, leave and come back when it should be done.

Other than that… seriously love the script.

Per spot is my preference.

why when out of the area can’t fail?

If you are meaning why it doesn’t cancel that’s because I didn’t design it that way.

Hey I think I found a bug. Tested it on my server with 3 players.
My taxRate is set to 50% and time for 5 minutes

When 1st player put to wash 1000
Then 2nd 3000
and 3rd 5000

When the time is up for 1st player, he got back 2500
2nd one also got 2500 so it’s the 3rd one.

It’s looks like when few players are washing the money in the same time, it’s only taking the total amount of the last player that used the script.

Does anybody else had that issue or it’s only me ?

Hi, really cool resource! Can I ask you where did you get the UI for ESX?

Oooh God this is soooo cool, thank you :heart::heart:

1 Like

When you leave the circle with the menu open it closes the menu, but you are bugged after.
Your mouse will stay in your screen and you can’t do anything about it anyone that knows a fix for this?

I have not seen that issue but can test when I get the chance.


How do i fix this?
My config u can see in the next comment

Config = {}

Config.Locale = ‘en’
Config.DrawDistance = 10

local second = 1000
local minute = 60 * second
local hour = 60 * minute

[Config.Zones]  {

['LaundryMat'] = {	
	
	Pos = { 
		{x = 1122.5 , y = -3194.98 , z = -40.60},
	},
	
	Jobs = {
		--'any', -- set to 'any' to allow the location for any player regardless of job
		'miner'
	},
	TaxRate = 0.50, -- set taxrate per spot. Default is 0.5 or 50% of the dirty you will get back in clean
	enableTimer = false, -- Enable ONLY IF you want a timer on the money washing. Keep in mind the Player does not have to stay at the wash for it to actually wash the money.
	timer = 5 * second, -- Actual Timer for the spot. The * amount will determine if its hours, second, or minutes. which are found above. DEFAULT: 5 * second
	Size = {x = 1.5, y = 1.5, z = 1.5},
	Color = {r = 120, g = 120, b = 0},
	Type = 27,

},

You forgot another } to close the initial table after the last },.

im getting this error and also no points to teleport ive changed it to any job

Because you messed the config up. Double check you are using quotations in the right place and commas in the right place. You need to put any as ‘any’ followed by a comma.

Really love the script! Works like a charm! But can i somehow modify it so i can enter job grades too??

Sure just add a check with the check on the job to also look at the grade. I haven’t messed with esx in a while and I’m on mobile but I can post an example later today when I get the chance.

i tried it but i am really new to this and i failed. I would appreciate it if you can show me how… :slight_smile:

i cant find the location of it any were on the map ive driven around trying to find it im new to scripting ive seen the coordinates but cant find it and ive tried a few teleport scripts but cant teleport to its main enterance i also want to add a blip to the map for it to make it easier to find.