Config={}-- If you have questions, join our discord https://discord.gg/p7wvZRnWcH or write in the cfx forum post.
Config.qbtarget=true-- If set to false this script will use ox_target
Config.FrameworkName='qb-core'
Config.RangeLimit=8.0-- How close you need to be to the bucket to perform waxing and cleaning tasks
Config.Volume=0.90-- Volume of the sound effects
Config.SoundRange=6-- How far you can be away and still hear the sound.
Config.SoundFiles=3-- The Nummber of random soundfiles for the washing effect. You may add more but have to declare them in the fxmanifest.lua
-- Progress Bar --
-- We highly recommend using the progress bar. It looks clean and shows most notifications the script needs in one spot.
Config.ProgressBar=true-- Wether you want to use the progress bar
Config.HideBarAfter=5-- After how many seconds without interaction the progressbar should be hidden.
Config.ProgressColor='#4eb3de'-- Here you can edit the progress color to your likings. https://g.co/kgs/qpnR1M
Config.FinishedColor='#4ede83'-- Here you can edit the finished color to your likings. https://g.co/kgs/qpnR1M
Config.InfoColor='#ede174'-- Here you can edit the color for the wax notification to your likings. https://g.co/kgs/qpnR1M
Config.WrongColor='#eb584d'-- Here you can edit the color for the wrong action to your likings. https://g.co/kgs/qpnR1M
Config.EnableCommand=true-- Enable /cardirt command for testing
Config.StepMessage=false-- Enable if you want to have the messages shown when a step is completed or in wrong order
Config.UseMissiontext=false-- If false the script uses notifications from notifications.lua if true uses the "mission-passed-style text"
Config.TextTimer=0.7-- How long these messages should be shown
Config.EffectRange=50.0-- From how far the particle effects of the washing can be seen. If too high might bring 'Object does not exist' warnings for players.
Config.JobRestriction=true-- If you want the cleaning and waxing be restricted to jobs
Config.AllowedJobs={["detailer"]=0,["bennys"]=0,["mechanic"]=0}-- Here you can put the jobs that are allowed to clean and wax the cars
-- Wash Options
Config.InteractDistance=2.5-- How close you need to be to pick up a bucket
Config.BucketModel='prop_cleaning_trolly'-- The bucket model (hash) that should spawn and be interactive https://forge.plebmasters.de/objects/prop_cs_mopbucket_01
Config.WashDistance=2.0-- From how far away you can get the target option to wash a vehicle (might need to be higher for big trucks etc.)
Config.HandwashDuration=10-- How long in seconds one instance of handwashing is
Config.CleaningFactor=0.5-- How much dirt should be washed off the car per second when using the sponge. (Maximum car dirtyness in GTA is 15.0)
Config.CleanCooldown=120-- How long a vehicle can be left aside until you need to start the cleaning over again (default 120 seconds)
Config.CleanEffect=30-- How long (in minutes) the car should be kept clean after the wash (no wax)
Config.SpongeCleaningIncrement=30-- The higher the number the faster this stage of cleaning is done. (sponging) Default: 0.15
-- Hose Options
Config.HoseDB=true-- If you want to use in-game placed hoses. You need to create hose_list table in your database.
Config.InteractDistance2=2.5-- How close you need to be to pick up a hose
Config.HoseModel='prop_hose_3'-- The model (hash) where you can pick up the hose https://forge.plebmasters.de/objects/prop_hose_3
Config.HoseLength=10.0-- How far you can pull the hose
Config.FoamCleaningFactor=0.0-- How much the foaming should actually clean the car per second (if unwanted set to 0)
Config.RinseCleaningFactor=0.0-- How much the rinsing should actually clean the car per second (if unwanted set to 0)
Config.HoseCleaningIncrement=10-- How long (in seconds) you need to spray foam or rinse the car (default 10)
Config.SameSpotWarning=true-- If the player should be noticed about cleaning the same spot (not moving while spraying)
Config.SameSpotNotificationTime=1-- After how many seconds the player should be noticed that he is cleaning only one spot
Config.HoseModel2='prop_hose_1'-- The model for the second hose
Config.Hose2Persistent=false-- If the placed hose should spawn again after server restart
Config.InHandPosition2=vector3(0.0,0.0,-0.5)-- If you are using a diffrent model for the hose you might need to adjust these. These are for the position while carrying the hose.
Config.InHandRotation2=vector3(15.0,0.0,180.0)-- If you are using a diffrent model for the hose you might need to adjust these. These are for the rotation while carrying the hose.
-- Inventory Buckets
Config.PersistentBucket=true-- If false the bucket only stays until server restart
Config.BucketPlaceJob=true-- If only person with certain jobs can install buckets or use them. false = everybody can
Config.BucketPlacer={'mechanic'}-- Jobs that are allowed to place a bucket if Config.BucketPlaceJob = true
Config.BucketConsume=true-- If true the bucket will be deducted from the inventory on use
Config.InHandPosition=vector3(0.0,0.0,0.0)-- If you are using a diffrent model for the hose you might need to adjust these. These are for the position while carrying the hose.
Config.InHandRotation=vector3(195.0,0.0,0.0)-- If you are using a diffrent model for the hose you might need to adjust these. These are for the rotation while carrying the hose.
Config.BucketPlaceJob2=false-- If you need a certain job for placing/using the second (public?) bucket
Config.BucketPlacer={'mechanic'}-- The jobs you need if you need a job
Config.PlaceBucket2=false-- If true you place a bucket on the ground which can be interacted with multiple times. If false you just get the bucket into your hands temporary.
Config.PersistentBucket2=false-- If true the bucket will spawn again after server restart. If false it will be deleted on restart.
Config.BucketModel2='prop_cs_bucket_s'-- The model for the second bucket if you choose to place it on the ground.
-- System
Config.DeleteRunOuts=true-- If true it deletes run out wax effects from the database to keep it clean
Config.DeleteRunOutsInterval=30-- How often the cleansing of run out wax-entries should take place (default: every 30 min)
Config.SpawnDelay=10-- How long (in seconds) after the first player connects the props should spawn
--If it is more convenient for you, you can delete all entries from Config.HoseLocation and place them in-game (you need to create hose_list table in your database)