Money laundering for ESX!
* set as many laundrysites you like
* select how much money you can wash
* select how many cops you need
* select unique props, heading and locations
* police can shutdown sites
* admins can reanable sites
* database integration
* you can choose if you want keep laundrysites closed after server restart
* UPDATE 1: Choose washing cut size
Requirements
* ESX
* MySQL
* Knowledge how to use database
Notes
* Script comes with information how to set everything up
Youtube link: https://www.youtube.com/watch?v=IVT1Sf_CUbs
Config
Config = {}
Config.Positions = {
{id=1, v=vector3(10.0, 0.0, 71.0), h=180.0, p="bkr_prop_prtmachine_dryer_spin"},
{id=2, v=vector3(15.925, 0.577, 70.375), h=170.0, p="v_ret_fh_washmach"},
{id=3, v=vector3(0.0, 0.0, 71.0), h=0.0, p="xm_prop_base_computer_01"},
}
Config.MinCopAmount = 1
Config.MinutesForCopCountUpdate = 5
Config.LaundryDrawDistance = 100
Config.MaxDistanceWhileWashing = 3
Config.HowMuchMoneyYouWashInOneTick = 100
Config.HowOftenTickHappensInSeconds = 10
Config.WriteShutDownsToDatabase = true --On next boot closed washers stays closed and admin command opens laundries in database
Config.CommandNameForAdminsToEnableSites = "refreshlaundering" --select command what to use for opening sites
Config.TextWashMessage = "Press ~g~E ~w~to start washing dirty money"
Config.TextWashStop = "Washing - walk away to stop"
Config.TextNotEnoughCops = "Not enough cops"
Config.TextNotEnoughBlackMoney = "Not enough blackmoney"
Config.TextPoliceShutDown = "Press ~r~E~w~ to plant a bomb"
Config.TextPressButton = "Press ~g~G ~w~to detonate"
--[[
Good props:
bkr_prop_prtmachine_dryer_spin
bkr_prop_prtmachine_dryer_op
prop_washer_01
prop_washer_02
prop_washer_03
v_ret_fh_washmach
prop_rub_washer_01
]]