Page cover

⚙️Configuration

This is the configuration that you can give to this script to modify it to your liking

Permissions

Add this permission in server.cfg

add_ace group.admin "biyei_carwipe.admin" allow

Config File

Config = {}

Config.Debug = true

Config.SpawnEvent = 'QBCore:Client:OnPlayerLoaded'

Config.Countdown = 60 -- Time in seconds

Config.Permission = 'biyei_carwipe.admin'

Config.Schedule = {
    Enabled = false, --- Disable if you are using the interval time
    Times = {
        "00:00",
        "08:00",
        "12:00",
        "20:00"
    }
}

Config.IntervalTime = {
    Enabled = true, --- Disable if you are using the schedule
    Time = 60 --- Time in minutes
}

Config.Lang = {
    Notify = {
        AlreadyActive = 'Ya hay una grúa en curso',
        NotActive = 'No hay una grúa en curso',
        NotAllowed = 'No tienes permisos para usar esta grúa'
    }
}


Config.ForceStart = 'grua' -- Set in false it you don't want to use the command to start the carwipe
Config.CommandCancel = 'cgrua' -- Set in false it you don't want to use the command to cancel the carwipe

Last updated