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

Config File

Config = {}

Config.Framework = "newesx" -- oldesx = OLD Version | newesx = NEW Version 
Config.AccessPoint = "DrawText" -- Interaction type: "DrawText" | "TextUi" | "ox_target" | "qb-target"
Config.Notif = "OX" -- "ESX" or "OX"

Config.Command = 'bennys' -- command for open main menu
Config.KeysMenu = "F6" -- key for open main menu

Config.Names = {
    society = "society_bennys",
    name = "bennys", 
    label = "Bennys",
    plate = "BENNYS",
}

Config.Active = { -- if the option is set to false, the system will not be used; if it is set to true, it will be used.
    blips = true,
    reception = true,
    stockage = true,
    garageland = true,
    boss = true,
    lockers = true,
    menu = true,
    shops = true,
    custom = true,
}

-------------------------------------------------
 
Config.Blips = {
    PosBlips = vector3(-217.2013, -1326.921, 31.39946),
    Blip = {  
        Sprite = 446,   
        Color = 5, 
        Scale = 0.8, 
        Name = "Bennys", 
    },
}

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

Config.Reception = { 
    Ped = "ig_benny", -- ped model
    PosPed = vector4(-241.3425, -1342.336, 30.30504, 177.7526),
    PosReception = vector3(-241.3425, -1342.336, 31.30504),
    Distance = 2.0,
    IconReception = 'phone-volume',
    Anim = 'givetake1_a', -- animation with progressbar
    Cooldown = 60000, -- player's cooldown between the purchase of these tickets
    Progressbar = 2000, -- time progressbar for bought the ticket
} 
 
-------------------------------------------------

Config.Stockage = { 
    Ped = "s_m_m_strvend_01", -- ped model
    PosPed = vector4(-203.9498, -1344.72, 30.3996, 1.934892),
    PosStockage = vector3(-203.9498, -1344.72, 31.3996),
    Distance = 2.0,
    icon = "fa fa-layer-group",  
    UseOXInv = false, -- true = stockage with ox_inventory | false = use carotto store stockage
    slots = 50, -- only if use ox_inventory   
    weight = 100000, -- only if use ox_inventory
}

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

Config.GarageLand = {
    Ped = "ig_benny", -- ped model
    PosPed = vector4(-173.4236, -1293.691, 30.288, 180.3447),
    PosGarageLand = vector3(-173.4236, -1293.691, 31.288),
    Distance = 2.0,
    SpawnVeh = vector4(-169.7849, -1303.188, 31.28194, 90.92588),
    Icon = 'car',
    Veh = {  
        {name = "Store Vehicle", model = ""},
        {name = "Tow Truck", model = "towtruck", minGrade = 0, image = 'https://urlr.me/HZSTM', icon = "fa fa-car", iconColor = nil}, 
        {name = "Flatbed", model = "flatbed", minGrade = 1, image = 'https://urlr.me/NZxtH', icon = "fa fa-car", iconColor = nil}, 
    },  
} 

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

Config.Boss = {
    PosBoss = vector3(-194.16, -1319.99, 35.62),
    Distance = 2.0,
    icon = "fa-solid fa-gear",
    grade = 4,
    MaxSalary = 3500, -- maximum salary that can be changed by the boss
} 

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

Config.Lockers = {
    Ped = "a_m_m_eastsa_01", -- ped model   
    PosPed = vector4(-199.137, -1332.831, 30.6101, 0.2313052),
    PosLockers = vector3(-199.137, -1332.831, 31.6101),
    Distance = 2.0,
    Anim = 'try_tie_positive_a', -- animation when you take an outfit
    IconLockers = 'shirt', 
    FirstColor = "#FB9B04",
    SecondColor = nil,
    ProgressBar = 5000, -- time for take an outfit
    Outfits = {
        {
            NameOutfit = "Employee Outfit", -- Name outfit on menu
            MinGrade = 0, -- Minimum grade for access to the outfit
            Variations = {
                male = {
                    ['tshirt_1'] = 58, ['tshirt_2'] = 0,
                    ['torso_1'] = 55, ['torso_2'] = 0,
                     ['arms'] = 19,  ['arms_2'] = 0,
                    ['pants_1'] = 85, ['pants_2'] = 1,
                    ['shoes_1'] = 2, ['shoes_2'] = 0,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
    
                },
                female = { 
                    ['tshirt_1'] = 14, ['tshirt_2'] = 0,
                    ['torso_1'] = 304, ['torso_2'] = 1,
                    ['arms'] = 4,  ['arms_2'] = 0,
                    ['pants_1'] = 47, ['pants_2'] = 0,
                    ['shoes_1'] = 69, ['shoes_2'] = 1,
                    ['bproof_1'] = 16,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
                }
            },
        },
        {
            NameOutfit = "Experienced Outfit", 
            MinGrade = 1, 
            Variations = {
                male = {
                    ['tshirt_1'] = 58, ['tshirt_2'] = 0,
                    ['torso_1'] = 55, ['torso_2'] = 0,
                     ['arms'] = 19,  ['arms_2'] = 0,
                    ['pants_1'] = 85, ['pants_2'] = 1,
                    ['shoes_1'] = 2, ['shoes_2'] = 0,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
    
                },
                female = { 
                    ['tshirt_1'] = 14, ['tshirt_2'] = 0,
                    ['torso_1'] = 304, ['torso_2'] = 1,
                    ['arms'] = 4,  ['arms_2'] = 0,
                    ['pants_1'] = 47, ['pants_2'] = 0,
                    ['shoes_1'] = 69, ['shoes_2'] = 1,
                    ['bproof_1'] = 16,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
                }
            },
        },
        {
            NameOutfit = "Mechanic Outfit", 
            MinGrade = 2, 
            Variations = {
                male = {
                    ['tshirt_1'] = 58, ['tshirt_2'] = 0,
                    ['torso_1'] = 55, ['torso_2'] = 0,
                     ['arms'] = 19,  ['arms_2'] = 0,
                    ['pants_1'] = 85, ['pants_2'] = 1,
                    ['shoes_1'] = 2, ['shoes_2'] = 0,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
    
                },
                female = { 
                    ['tshirt_1'] = 14, ['tshirt_2'] = 0,
                    ['torso_1'] = 304, ['torso_2'] = 1,
                    ['arms'] = 4,  ['arms_2'] = 0,
                    ['pants_1'] = 47, ['pants_2'] = 0,
                    ['shoes_1'] = 69, ['shoes_2'] = 1,
                    ['bproof_1'] = 16,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
                }
            },
        },
        {
            NameOutfit = "Manager Outfit", 
            MinGrade = 3, 
            Variations = {
                male = {
                    ['tshirt_1'] = 58, ['tshirt_2'] = 0,
                    ['torso_1'] = 55, ['torso_2'] = 0,
                     ['arms'] = 19,  ['arms_2'] = 0,
                    ['pants_1'] = 85, ['pants_2'] = 1,
                    ['shoes_1'] = 2, ['shoes_2'] = 0,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
    
                },
                female = { 
                    ['tshirt_1'] = 14, ['tshirt_2'] = 0,
                    ['torso_1'] = 304, ['torso_2'] = 1,
                    ['arms'] = 4,  ['arms_2'] = 0,
                    ['pants_1'] = 47, ['pants_2'] = 0,
                    ['shoes_1'] = 69, ['shoes_2'] = 1,
                    ['bproof_1'] = 16,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
                }
            },
        },
        {
            NameOutfit = "Boss Outfit", 
            MinGrade = 4, 
            Variations = {
                male = {
                    ['tshirt_1'] = 58, ['tshirt_2'] = 0,
                    ['torso_1'] = 55, ['torso_2'] = 0,
                     ['arms'] = 19,  ['arms_2'] = 0,
                    ['pants_1'] = 85, ['pants_2'] = 1,
                    ['shoes_1'] = 2, ['shoes_2'] = 0,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
    
                },
                female = { 
                    ['tshirt_1'] = 14, ['tshirt_2'] = 0,
                    ['torso_1'] = 304, ['torso_2'] = 1,
                    ['arms'] = 4,  ['arms_2'] = 0,
                    ['pants_1'] = 47, ['pants_2'] = 0,
                    ['shoes_1'] = 69, ['shoes_2'] = 1,
                    ['bproof_1'] = 16,
                    ['chain_1'] = 0, ['chain_2'] = 0,
                    ['helmet_1'] = -1, ['helmet_2'] = 0, 
                }
            },
        },
    }
}

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

Config.Menu = {
    MinGradeCheckPerf = 0, -- minimum grade for check perfomance vehicle
    MinGradeTowTruck = 0, -- minimum grade for putting a vehicle on the tow truck
    MinGradeAnnounce = 1, -- minimum grade for access to the announcement
    MinGradePropsMenu = 1, -- minimum grade to props menu
    MinGradeBill = 1, -- minimum grade to qualify for invoice
    CharAnnounce = 'CHAR_CARSITE3', -- char notification esx
    EventBilling = 'esx_billing:sendBill', -- notification function
    Cooldown = 35000, -- cooldown between announcements
    ProgressBar = 5000, -- time progressbar

    -- PROPS MENU
    TargetProps = false, -- true = delete props with ox_target | false = delete props with ShowHelpNotification

    --- KIT
    NeedJob = true, -- if this option is set to true, you will need the bennys job to repair/clean the vehicles, false accessible to everyone.
    NameItemRepair = "repair_kit", -- item for repair vehicle
    NameItemClean = "cleaning_kit", -- item for clean vehicle
    NameItemLockpick = "lockpick", -- item for lockpick vehicle
    TakeItems = true, -- true = takes the player's item when the action is performed | false = takes no item, just has 1 on it
}

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

Config.Props = {
    Props = {
        {name = 'Traffic Cones', label = 'prop_roadcone02a', icon = 'road', image = 'https://urlr.me/brwF6'},
    }
}

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

Config.Shops = {
    Ped = "ig_benny", -- ped model   
    PosPed = vector4(-220.8175, -1313.844, 30.79552, 271.0461),
    PosShops = vector3(-220.8175, -1313.844, 31.79552),
    Distance = 2.0,
    Anim = 'givetake1_a', -- animation with progressbar
    Icon = 'tag',
    ItemShops = {
        {title = "Repair Kit", item = "repair_kit", icon = 'toolbox', price = 100, progressbar = 5000, minGrade = 0, image = nil},
        {title = "Cleaning Kit", item = "cleaning_kit", icon = 'soap', price = 200, progressbar = 5000, minGrade = 0, image = nil},
        {title = "Lockpick", item = "lockpick", icon = 'unlock-keyhole', price = 200, progressbar = 5000, minGrade = 0, image = nil},
    }
}

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

Config.Custom = {
    Icon = 'wrench', 
    PosCustom = { -- position for your custom
        vector3(-211.1695, -1339.442, 30.7928),
        vector3(-206.1731, -1338.827, 30.79353),
        vector3(-192.7956, -1314.952, 30.98708)
    },
    Distance = 2.0,
    Event = function()

        TriggerEvent('tuning:openMenu')

        -- Put your custom system event here

        -- TriggerEvent('okokTuning:openTuningMenu') -- okokTuning
        -- TriggerClientEvent('rcore_tuning:openCatalog', targetServerId, shop) -- rcore_tuning
    end
}

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

Config.Text = {
    Currency = "$",

    -- CUSTOM
    OpenCustom = "Open Custom Menu",

    -- SHOPS
    OpenShops = "Open Shops",
    TitleShops = "Shops Bennys",
    Price = "Price",
    TitleQuantity = "CHOOSE QUANTITY",
    DescQuantity = "Quantity Desired",

    -- RECEPTION
    OpenReception = "Call Bennys Employee",
    ActionProgress = "You call an employee...",
    WaitAction = "You'll have to wait a while to call another mechanic !",
    RequestSent = "Request sent to employee in service",
    MessageEmployee = "A customer is waiting for you at the entrance to Bennys",

    -- LOCKERS
    AccessLockers = "Access to the Lockers",
    TakeClothes = "Taking the Outfit...",
    CivilClothes = "Take your Civil Outfit",
    DescButton = "Take the Dress",
    TitleLockers = "Lockers Bennys",

    -- BOSS MENU
    BossMenu = "Boss Menu",
    ChooseAmount = "Set an amount",
    Balance = "Balance",
    DepositMoney = "Deposit Money",
    WithdrawMoney = "Withdraw Money",
    EmployeeManagement = "Employee management",
    SalaryManagement = "Salary Management",
    RecruitPlayer = "Recruit Player",
    RecruitDone = "You've hired the right player !",
    IDPlayer = "ID Player",
    YouCant = "Not possible",
    DescYouCant = "You cannot perform this action",
    ActionComplete = "Action completed",
    DescActionComplete = "Action well done !",
    FireTitle = "Fired",
    PromotedTitle = "Promote",
    DownGradedTitle = "Down Grade",
    Fired = "You've been fired from your company",
    Promoted = "You have been promoted from your company",
    Downgraded = "You've been downgraded by your company",
    AccesRefused = "Access Refused",
    AccesRefusedDesc = "You don't have the required rank to access the Boss Menu",
    DontAccessProfile = "You do not have access to this profile",
    CurrentSalary = "Current Salary",
    CurrentGrade = "Current Grade",    
    Rank = "Rank",
    MaximumSalary = "The maximum salary limit is",
    NewSalary = "New Salary",
    BeenRecruted = "You've been recruited by Bennys company !",

    -- STOCKAGE 
    Stockage = "Open Stockage",
    Stockage2 = "Stockage",
    NotAuthorized = "You are not authorized to access this stockage",
    Deposit = "Deposit",
    DepositItems = "Deposit Items",
    Withdraw = "Withdraw",
    WithdrawItems = "Withdraw Items",
    EnoughItems = "You don't have enough items",
    NoSpace = "Not enough space on you",

    -- GARAGE
    StoreVehicle = "Store Vehicle",
    StoreDesc = "Take out the vehicle",
    VehicleOut = "Successfully Released Vehicle !",
    VehicleOutDesc = "You did take your vehicle out of the garage",
    OpenGarageLand = "Open Garage",
    TitleLand = "Garage - Bennys",

    -- MENU
    MenuTitle = "Bennys Actions",
    Announces = "Announces",
    AnnouncesDesc = "Make Announcement",
    Custom = "Bennys - Custom",
    Custom2 = "Text on Announce",
    AnnounceCompanyBennys = "Patron Alert - Bennys",
    Company = "Company",
    Citizen = "Citizen",
    CooldownMessage = "Please wait before making another announcement", 
    Billing = "Billing",
    BillingDesc = "Send an invoice to the nearest player",
    InvalidAmount = "Invalid Amount",
    Amount = "Amount",
    CheckPerf = "Checker performance",
    CheckPerfDesc = "Check the performance of the nearest vehicle",
    PropsMenu = "Props Menu",
    DescPropsMenu = "Making props appear",
    PropHelpText = 'Press ~INPUT_CONTEXT~ to delete the prop',
    Mission = "NPC Mission",
    MissionDesc = "Start/Stop NPC mission",
    StartMission = "Start Mission",
    StartMissionDesc = "Launch a new NPC mission",
    StopMission = "Stop Mission",
    StopMissionDesc = "Stop mission in progress",
    PutRemoveTow = "Put/Remove the Tow Truck",
    PutRemoveTowDesc = "Placing and removing a vehicle from the tow truck",
    NotYourVehicle = "You cannot attach your own recovery vehicle",
    OnTowTruck = "Vehicle put on tow truck",
    OffTowTruck = "Vehicle removed from the tow truck",
    NeedFlatbed = "You need a flatbed vehicle to do this.",

    -- CHECK PERF
    VehicleStat = "Vehicle Statistics",
    EngineHealth = "Engine Health",
    Engine = "Engine",
    Brake = "Brake",
    Transmission = "Transmission",
    Shielding = "Shielding",
    Turbo = "Turbo",
    MaximumSpeed = "Maximum Speed",
    Yes = "Yes",
    No = "No",
    GoToVehicle = "You have to be in a vehicle to get vehicle performance",

    -- TARGET
    RepairVehicle = "Repair Vehicle",
    CleanVehicle = "Clean Vehicle",
    LockpickVehicle = "Lockpick Vehicle",
    ImpoundVehicle = "Impound Vehicle",
    NoItemRepair = "You don't have a repair kit to repair the vehicle",
    NoItemClean = "You don't have a cleaning kit to clean the vehicle",  
    NoItemLockpick = "You don't have a lockpick to forcing the vehicle",    
    NoJob = "You don't have the job to do that!",

    -- ALL
    KeybindsBennys = "Bennys Menu",
    SuccessBought = "Purchase Successfull",
    SuccessBoughtDesc = "Your purchase has been successfully completed !",
    NoEnoughMoney = "No Enough Money",
    NoEnoughMoneyDesc = "You don't have enough money to make this purchase !",
    EnoughItems = "You don't have enough items",
    NoSpace = "Not enough space on you",
    ActionSuccess = "Action Successfully Completed !",
    ActionSuccessDesc = "The action you took was a success!",
    Progressbar = "Action in progress...",
    NobodyAround = "Nobody Around !",
    NobodyAroundDesc = "Find someone closer to you to perform this action",
    NoVehicleAround = "No vehicles around",
    NoVehicleAroundDesc = "Find a vehicle closer to you to perform this action",
    PlayerNotFound = "Player not found",    
}
Previouscarotto_bennysNextcarotto_unicorn

Last updated 6 days ago