🥕
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_rental

Config File

Config = {}

Config.Framework = "newesx" -- oldesx | newesx | oldqbcore | newqbcore

Config.TargetSystem = "ox-target" -- ox-target | qb-target

Config.UseOXNotify = true -- if you want to use ox_lib notify, set this option to true
Config.ESXNotification = false -- For ESX, if you want to use default ESX notification, set this option to true
Config.QBNotification = false -- For QBCore, if you want to use default QB notification, set this option to true

Config.Positions = {
    { 
        Ped = "cs_bankman", 
        Coords = vector4(-1039.293, -2731.068, 20.21441, 215.7646), -- coords ped
        CoordsTarget = vector3(-1039.293, -2731.068, 20.21441), -- coords for ox_target
        SpawnVehicle = vector3(-1033.317, -2730.123, 19.48482), -- coords for the spawn vehicle
        Heading = 238.9576, -- heading for the spawn vehicle
        TextTarget = "Open Rental Menu", -- first text ox_target
        TextTarget2 = "Talk to the NPC", -- second text ox_target
        UseBlip = true, -- set to false if you don't want to use blips
        Blip = { 
            Sprite = 523, 
            Color = 2, 
            Scale = 1.0, 
            Name = "Rental", 
        }
    }, 
    -- Add other positions here if you want :)
}

Config.ListVehicles = {
    {
        vehicles = 'Sultan', 
        name = 'sultan', 
        price = 100, 
        icon = 'car', 
        iconcolor = nil, 
        image = 'https://staticg.sportskeeda.com/editor/2022/11/96d38-16685342987520.png?w=640'
    }, -- name on menu, name spawn vehicle, price for rental, icon on the menu, icon color, image at right
    {
        vehicles = 'Blista', 
        name = 'blista', 
        price = 200, 
        icon = 'car', 
        iconcolor = nil, 
        image = 'https://i.pinimg.com/originals/f8/81/b6/f881b660d754dc14ce89b344291a9639.jpg'
    },
}

Config.Text = {
    Price = "Price", 
    Welcome = "Welcome to the City!",
    DescWelcome = "Are you new? You'll love your experience in our beautiful city.",
    TransactionCancelled = "Transaction Cancelled",
    DescTransactionCancelled = "Your transaction has been cancelled.",
    NoMoney = "Not enough money",
    DescNoMoney = "You need more money to rent a car",
    TakeRental = "Thanks for your Rental!",
    DescTakeRental = "Enjoy your rental",
    NoMoney = "You don't have enough money",
    DescNoMoney = "You need more money to buy in the store",
}

Config.Webhook = "YOUR_WEBHOOK_URL" -- place your webhook discord here
Config.NameWebhook = "Carotto - csRental"
Config.ImageWebhook = "YOU_IMAGE_WEBHOOK"
Previouscarotto_rentalNextcarotto_coordsmenu

Last updated 6 days ago