Repo is archived, you can still fork it if you want to change stuff, I won't be changing anything / updating from now on I stopped playing FiveM.
Quick Disclaimer: this script is an edited version of this one, to add a payment functionality nothing else!
This is my first Lua script, lets start with something simple.
Hello everyone, I made this edit a couple of days ago and gave it to the Real Men of Genius community (the owners of the Revolution Life RP servers) so they could use it on their servers, if you play there (my rp name is "Tyreese Wills") you might find this is not completely equal, that's because 1- they have a custom money system they do not use EssentialMode, 2- they edited the messages to their liking and 3- I also made some edits after giving them the script.
1- Drag and Drop the es_carwash folder into the resources folder;
2- add this line "start es_carwash" on server.cfg under the other "start (whatever)".
Extremelly important: if you're using EssentialMode step 2 needs to be bellow the "start essentialmode" line so the dependencies load first.
If you wish to make the car wash free open "es_carwash_server.lua" and edit the value on the variable "enableprice" to "false":
If you wish to edit how much money is spent to wash the car open "es_carwash_server.lua" and edit the value on the variable "price" to whatever number you want: