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

Config File

Config = {}

Config.Framework = "newesx" -- oldesx = OLD Version  | newesx = NEW Version 

Config.OpeningSellerKey = "ox_target" -- "ox_target" or "ShowHelpNotif"
Config.OpeningVehicle = "ox_target" -- "ox_target" "controls" or "item"
Config.UseItemForControls = true -- If you use controls, do players also have to keys items in their inventory ?
Config.KeyOpeningVehicle = 'U' -- key for opening/close vehicle (only for controls)
Config.Distance = 20 -- how many meters for close/open the vehicle
Config.Sound = true -- use sound and light when you close/open the vehicle
Config.ItemKey = 'vehicle_key'
Config.Animations = {
    Open = {
        dict = "anim@vehicle@break_in@", 
        anim = "low_car_open_driver",   
        flag = 49 
    },
    Close = {
        dict = "anim@vehicle@break_in@", 
        anim = "low_car_close_driver",   
        flag = 49
    }
}

Config.SellerKey = { 
    {
        UsePed = true,
        Ped = "cs_martinmadrazo",
        PosPed = vector4(399.4038, -1628.378, 29.29195, 227.6915),
        PosSellerKey = vector3(399.4038, -1628.378, 29.29195),
        PriceKey = 100,
        Icon = "fa-solid fa-key",
        UseBlips = true,
        Blips = {
            Sprite = 811,  
            Color = 3, 
            Scale = 1.0, 
            Name = "Key Seller", 
        },
    }
}

Config.Text = {
    Currency = "$",
    KeySeller = "Open Key Seller",
    KeySellerTitle = "Key Seller",
    TransferVehicle = "Transfer a Vehicle",
    TransferVehicleDesc = "Transfer a vehicle to the nearest player",
    BuyKeys = "Buy Keys",
    BuyKeysDesc = "Buy a key for one of your vehicles",
    PriceKey = "Key price",
    ConfirmPurchase = "Confirm purchase",
    WouldBuyKey = "Would you like to buy a key for",
    Cancel = "Cancel",
    Confirm = "Confirm",

    VehicleSelection = "Vehicle Selection",
    Vehicle = "Vehicle",
    PlayersAround = "Players Around",
    NobodyAround = "Nobody Around",
    VehicleTransfer = "Your vehicle has been transferred",
    ReceiveVehicle = "You have received a vehicle",
    TransferVehicleTitle = "Vehicle Transfer",
    ErrorTransfer = "Error during Transfer",
    NotYourVehicle = "This vehicle is not yours",
    EnoughMoney = "You don't have enough money",
    PurchaseKey = "You have purchased a key for your vehicle",
    NoVehicleAround = "No vehicle around !",
    NoKeyInventory = "No key in your inventory for manage this car",
    LockUnlockVehicle = "Lock/Unlock Vehicle",
    VehicleLocked = "Vehicle Locked",
    VehicleUnlocked = "Vehicle Unlocked",

    Error = "Error",
    Success = "Success",
    Info = "Info",
}
Previouscarotto_keyNextcarotto_taxi

Last updated 6 days ago