🥕
Carotto Documentation
  • CAROTTO Scripts Documentation
    • 👋Welcome
    • 🔐Escrow System
    • 🛡️DMCA
  • SCRIPTS
    • carotto_npcdoctor
      • Config File
    • carotto_rental
      • Config File
    • carotto_coordsmenu
      • Config File
    • carotto_gofast
      • Config File
    • carotto_police
      • Config File
    • carotto_sheriff
      • Config File
    • carotto_jobcenter
      • Config File
    • carotto_bennys
      • Config File
    • carotto_unicorn
      • Config File
    • carotto_blackmarket
      • Config File
    • carotto_atmrobbery
      • Config File
    • carotto_safezones
      • Config File
    • carotto_loadingscreen
    • carotto_blipscreator
      • Config File
    • carotto_key
      • Config File
    • carotto_taxi
      • Config File
    • carotto_weather
      • Config File
    • carotto_hunting
      • Config File
    • carotto_fishing
      • Config File
    • carotto_garage
      • Config File
    • carotto_marketV2
      • Config File
Powered by GitBook
On this page
  1. SCRIPTS
  2. carotto_garage

Config File

Config = {}

Config.Framework = "newesx" -- oldesx = OLD Version  | newesx = NEW Version 
Config.SQLSystem = 'oxmysql' -- 'mysql-async', 'oxmysql', 'ghmattisql'
Config.AccessPoint = "TextUi" -- "DrawText" or "TextUi" or "ox_target" or "qb-target"

Config.AccessDistance = 3.0 -- distance for access garage and impound
Config.StoreDistance = 5.0 -- distance for access store points
Config.ActiveDrawMarker = true -- active drawmarker for store vehicle
Config.ColorStoreZone = {r = 255, g = 146, b = 33} -- color drawmarker store vehicle

Config.FuelSystem = 'ox_fuel' -- 'LegacyFuel' or 'ox_fuel' or 'custom' 
Config.KeySystem = 'custom'

-------------------------------------------------

Config.Garages = { 
    ['pillbox'] = {
        OpenGarage = vector4(215.4242, -808.6573, 30.75949, 251.429),
        StoreVehicle = vector4(227.4535, -808.3265, 30.53676, 274.03),
        SpawnVehicle = vector4(221.0579, -806.659, 30.07471, 248.2838),
        TypeGarage = 'car', 
        Ped = {
            Use = true,
            Ped = 's_m_m_highsec_01',
            Anim = 'WORLD_HUMAN_CLIPBOARD',
        },
        Blip = {  
            Use = true,
            Sprite = 357,   
            Color = 3, 
            Scale = 0.8, 
            Name = "Garage Public", 
        },
    }, 

    ['puerta'] = {
        OpenGarage = vector4(-789.6211, -1490.777, 1.595217, 289.9929),
        StoreVehicle = vector4(-798.1198, -1499.869, 1.0316788, 111.2457),
        SpawnVehicle = vector4(-798.1198, -1499.869, 0.0316788, 111.2457),
        TypeGarage = 'boat', 
        Ped = {
            Use = true,
            Ped = 's_m_m_highsec_01',
            Anim = 'WORLD_HUMAN_CLIPBOARD',
        },
        Blip = {  
            Use = true,
            Sprite = 356,   
            Color = 3, 
            Scale = 0.8, 
            Name = "Garage Boat", 
        },
    },

    ['airport'] = {
        OpenGarage = vector4(-947.8127, -2946.966, 13.94506, 108.8343),
        StoreVehicle = vector4(-973.7832, -2978.565, 13.94508, 237.0374),
        SpawnVehicle = vector4(-975.3755, -2977.637, 14.54709, 60.07046),
        TypeGarage = 'airplane', 
        Ped = {
            Use = true,
            Ped = 's_m_m_highsec_01',
            Anim = 'WORLD_HUMAN_CLIPBOARD',
        },
        Blip = {  
            Use = true,
            Sprite = 359,   
            Color = 3, 
            Scale = 0.8, 
            Name = "Garage Plane", 
        },
    },
}

-------------------------------------------------

Config.Impounds = {
    ['ranchoimpound'] = {
        OpenImpound = vector4(409.2835, -1623.0498, 29.2919, 232.2472),
        SpawnVehicle = vector4(407.1664, -1645.2323, 29.2919, 228.8734),
        TypeImpound = 'car',
        PriceImpound = 200,
        Ped = {
            Use = true,
            Ped = 's_m_m_highsec_01',
            Anim = 'WORLD_HUMAN_CLIPBOARD',
        },
        Blip = {  
            Use = true,
            Sprite = 524,   
            Color = 6, 
            Scale = 0.8, 
            Name = "Impound Public", 
        },
    },

    ['puertaimpound'] = {
        OpenImpound = vector4(-846.6628, -1496.14, 1.634169, 110.4181),
        SpawnVehicle = vector4(-839.2071, -1493.896, 0.5477799, 198.436),
        TypeImpound = 'boat',
        PriceImpound = 500,
        Ped = {
            Use = true,
            Ped = 's_m_m_highsec_01',
            Anim = 'WORLD_HUMAN_CLIPBOARD',
        },
        Blip = {  
            Use = true,
            Sprite = 473,   
            Color = 6, 
            Scale = 0.8, 
            Name = "Impound Boat", 
        },
    },

    ['airportimpound'] = {
        OpenImpound = vector4(-1664.106, -3105.883, 13.94477, 329.334),
        SpawnVehicle = vector4(-1662.705, -3142.66, 14.59429, 330.4717),
        TypeImpound = 'airplane',
        PriceImpound = 500,
        Ped = {
            Use = true,
            Ped = 's_m_m_highsec_01',
            Anim = 'WORLD_HUMAN_CLIPBOARD',
        },
        Blip = {  
            Use = true,
            Sprite = 473,   
            Color = 6, 
            Scale = 0.8, 
            Name = "Impound Plane", 
        },
    },
}

-------------------------------------------------

Config.SecuritySystem = { -- alarm system
    AlarmPrice = 1000, -- alarm price
    AlarmDuration = 10000, -- alarm duration in ms
    NotifyOwner = true, -- notify owner of attempted theft
    OwnerDistance = 5.0 -- distance from owner to prevent alarm activation
}

-------------------------------------------------

Config.PreviewPosition = { -- positions preview mode
    car = vector4(-148.6271, -597.4938, 166.4256, 343.0928),
    boat = vector4(-3076.579, -38.36142, -0.3239029, 99.58401),
    plane = vector4(-950.6791, -3531.175, 14.67812, 97.45638)
}

Config.VehicleStats = {
    ["adder"] = {
        topSpeed = 350, -- in km/h
        acceleration = 0.15,
        braking = 0.15,
        traction = 0.10
    },
    ["entity2"] = {
        topSpeed = 400, -- in km/h
        acceleration = 0.65,
        braking = 0.35,
        traction = 0.40
    },
    -- add other vehicles here if you want
}

Config.CameraSettings = { -- camera settings preview mode
    car = {
        offsetX = 5.0,  
        offsetY = 5.0,  
        offsetZ = 2.0,  
        fov = 50.0      
    },
    boat = {
        offsetX = 10.0, 
        offsetY = 10.0, 
        offsetZ = 5.0,  
        fov = 55.0     
    },
    airplane = {
        offsetX = 10.0, 
        offsetY = 10.0, 
        offsetZ = 5.0,  
        fov = 60.0      
    }
}

-------------------------------------------------

Config.ImpoundCommand = { -- impound command for jobs
    Enabled = true,
    Command = 'impound',
    Distance = 2.0,
    Jobs = {
        'police'
    }
}

-------------------------------------------------

Config.VehicleNames = { -- text entry vehicles
    ["adder"] = "Adder",
    ["entity2"] = "Entity XXR",
}

-------------------------------------------------

Config.Text = {
    Currency = "$",

    StoreVehicle = "Store Vehicle",
    AccessGarage = "Open Garage",
    AccessImpound = "Open Impound",

    Garage = "Garage Car",
    PlaneGarage = "Airplane Garage",
    BoatGarage = "Boat Garage",
    Impound = "Impound Car",
    ImpoundBoat = "Impound Boat",
    ImpoundPlane = "Impound Plane",

    Plate = "Plate: %s",
    Fuel = "Fuel",
    Engine = "Engine",
    Impounded = "(At the impound)",
    TakeOutVehicle = "Exit Vehicle",
    StoredVehicles = "Stored Vehicles",
    RecoverVehicle = "Recover Vehicle for (%s%s)",
    SendVehicleToImpound = "Send Vehicle to the Impound",
    FindVehicle = "Find Vehicle on the map",
    NoVehiclesFound = "No vehicles found",
    VehicleMoved = "Vehicle moved to this garage",
    NotEnoughMoney = "You don't have enough money.",
    VehicleOut = "Successfully driven out of the garage",
    VehicleStored = "Vehicle successfully returned",
    VehicleImpounded = "Impounded vehicle",
    VehicleSentToImpounded = "Vehicle sent to impound",
    VehicleGPS = "Vehicle marked on your GPS",
    NotInVehicle = "You are not in a vehicle.",
    VehicleNotFound = "Vehicle not found.",
    TypeVehicle = "This vehicle is not allowed in this garage",
    NotOwner = "You don't are the owner of this vehicle.",
    NoVehiclesNearby = "No vehicles nearby.",
    ImpoundingProgress = "Impounding vehicle...",
    CommandImpound = "Vehicle impound",
    NoJob = "You don't have the job required for this command",
    DontSteal = "Don't steal this vehicle !",
    Unknown = "Unknown",
    BackGarage = "Back to the garage",
    VehicleStatus = "Vehicle Status",

    Error = "Error",
    Success = "Success",
    Info = "Info",
    Warning = "Warning",

    EnableAlarm = "Enable Vehicle Alarm (%s%s)",
    DisableAlarm = "Disable Vehicle Alarm",
    VehicleTheftAttempt = "Someone is trying to steal your vehicle (%s)!",
    Enabled = "Enabled",
    Disabled = "Disabled",
    Alarm = "Alarm",
    AlarmEnabled = "Alarm Enabled",
    AlarmDisabled = "Alarm Disabled",
}
Previouscarotto_garageNextcarotto_marketV2

Last updated 6 days ago