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

Config File

Config = {}

-- ╔════════════════════════════════════════════════════════════════════╗
-- ║                      Framework Settings                            ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Framework   = "newesx"      -- oldesx = OLD Version | newesx = NEW Version 
Config.AccessPoint = "DrawText" -- Interaction type: "DrawText" | "TextUi" | "ox_target" | "qb-target"
Config.Notif       = "OX"          -- Notification system: "ESX" | "OX" | "custom" (client_custom.lua, server_custom.lua)

Config.Command = 'unicorn' -- command for open main menu
Config.KeysMenu = "F6" -- keys for open main menu

Config.Names = {
    society = "society_unicorn",
    name = "unicorn", 
    label = "Unicorn",
    plate = "UNICORN",
}

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,
    card = true,
    bar = true,
    dj = true,
}

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

Config.Blips = {
    PosBlips = vector3(127.6495, -1295.937, 29.26953),
    Blip = {  
        Sprite = 93,   
        Color = 8, 
        Scale = 0.8, 
        Name = "Vanilla Unicorn", 
    },
}

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

Config.Reception = {
    Ped = "u_f_m_casinoshop_01", 
    PosPed = vector4(124.6031, -1292.203, 28.22901, 209.3979),
    PosReception = vector3(124.94445800781, -1293.23046875, 29.222671508789),
    Distance = 2.0,
    IconReception = 'ticket', -- icon on ox_target
    NameItem = 'ticket_entrance', -- item name ticket
    PriceTicket = 5, -- price ticket
    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",
    PosPed = vector4(138.0734, -1323.434, 18.42264, 58.71201),
    PosStockage = vector3(138.0734, -1323.434, 19.42264),
    Distance = 2.0,
    icon = "fa fa-university",  
    TypeInv = "carotto_stockage", -- "carotto_stockage", "ox_inventory", or "custom" (client_custom.lua)
    minGrade = 0, -- min grade for access stockage                 
    slots = 50, -- only if use ox_inventory   
    weight = 100000, -- only if use ox_inventory
}

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

Config.GarageLand = {
    Ped = "ig_benny",   
    PosPed = vector4(142.4956, -1289.522, 28.36835, 303.368),
    PosGarageLand = vector3(142.4956, -1289.522, 29.36835),
    Distance = 2.0,
    SpawnVeh = vector4(143.0789, -1272.175, 28.44526, 205.4179),
    Icon = 'car',
    Veh = { 
        {name = "Store Vehicle", model = ""},
        {name = "Bison", model = "bison", minGrade = 0, image = 'https://docs.fivem.net/vehicles/bison.webp', icon = "fa fa-car", iconColor = nil}, 
        {name = "Mule", model = "mule", minGrade = 1, image = 'https://docs.fivem.net/vehicles/mule.webp', icon = "fa fa-car", iconColor = nil}, 
    }, 
}

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

Config.Boss = {
    PosBoss = vector3(111.85, -1321.51, 24.46),
    Distance = 2.0,
    icon = "fa-solid fa-gear",
    grade = 5, -- grade required for access boss menu
    MaxSalary = 3500, -- maximum salary that can be changed by the boss
}  

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

Config.Lockers = {
    Ped = "u_f_y_dancerave_01",   
    PosPed = vector4(156.1745, -1338.245, 19.27998, 54.83015),
    PosLockers = vector3(156.1745, -1338.245, 20.27998),
    Distance = 2.0,
    Anim = 'try_tie_positive_a',
    IconLockers = 'shirt',
    FirstColor = "#FB9B04",
    SecondColor = nil,
    ProgressBar = 5000,
    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 = "Barmaid 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 = "Singer 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 = "Dancer 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, 
                }
            },
        },
        {
            NameOutfit = "Boss Outfit", 
            MinGrade = 5, 
            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 = {
    MinGradeAnnounce = 2, -- minimum grade for access to the announcement
    MinGradeBill = 1, -- minimum grade to qualify for invoice
    CharAnnounce = 'CHAR_MP_STRIPCLUB_PR', -- char notification esx
    EventBilling = 'esx_billing:sendBill', -- notification function
    Cooldown = 35000 -- cooldown between announcements
}

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

Config.Card = {
    PosCard = vector3(115.81, -1297.92, 29.07),
    Distance = 2.0,
    icon = 'clipboard-list',
    MenuOptions = {
        {label = 'Mojito', description = 'Rum, Mint, Lemon, Sparkling Water', icon = 'martini-glass-citrus', image = 'https://urlr.me/FDVrP'},
        {label = 'Sex on the Beach', description = 'Vodka, Orange, Cranberry, Liquor', icon = 'martini-glass-citrus', image = 'https://urlr.me/NFdvQ'},
        {label = 'Pina Colada', description = 'Rhum, Pineapple, Coconut, Ice', icon = 'martini-glass-citrus', image = 'https://urlr.me/cbqyF'},
        -- Add others products here :)
    }
}

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

Config.Bar = {
    PosBar = vector3(132.22, -1321.67, 19.26),
    Distance = 2.0,
    icon = 'bottle-droplet',
    ProgressBar = 5000,
    BarItems = {
        {
            item = 'mojito', -- item result
            label = 'Mojito', -- title bouton in the menu
            icon = 'whiskey-glass', -- icon in the menu
            iconcolor = nil, -- icon color in the menu
            needitems = { ["rum"] = 1, ["mint"] = 1, ["lemon"] = 1, ["sparkling_water"] = 1 } -- need items for make drink
        },
        {
            item = 'seonthebeach',
            label = 'Sex on the Beach',
            icon = 'martini-glass-citrus',
            iconcolor = nil,
            needitems = { ["vodka"] = 1, ["orange"] = 1, ["cranberry"] = 1, ["liquor"] = 1 }
        },
        {
            item = 'pina_colada',
            label = 'Pina Colada',
            icon = 'martini-glass',
            iconcolor = nil,
            needitems = { ["rum"] = 1, ["pineapple"] = 1, ["coconut"] = 1, ["ice"] = 1 }
        },
        -- Add other products here if you want
    },
    ItemsLabel = {
        ["rum"] = "Rum",
        ["mint"] = "Mint",
        ["lemon"] = "Lemon",
        ["sparkling_water"] = "Sparkling Water", 
        ["vodka"] = "Vodka", 
        ["orange"] = "Orange", 
        ["cranberry"] = "Cranberry", 
        ["liquor"] = "Liquor", 
        ["pineapple"] = "Pineapple", 
        ["coconut"] = "Coconut", 
        ["ice"] = "Ice", 
    },
}

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

Config.DJ = {
    PosDJ = vector3(139.50, -1342.57, 20.60),
    Distance = 2.0,
    DefaultVolume = 0.5, -- default volume
    icon = 'music', -- icon bouton
    iconcolor = nil,
    name = 'Unicorn', 
    radius = 30, -- radius of music
    donttouch = false, -- don't touch that
}

-- ╔════════════════════════════════════════════════════════════════════╗
-- ║                        Text Settings                               ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Text = {
    Currency               = "$",

    KeybindsUnicorn        = "Unicorn Menu",
    SuccessBought          = "Your purchase has been successfully completed !",
    NoEnoughMoney          = "You don't have enough money to make this purchase !",

    -- DJ
    OpenDJTable            = "Open DJ Table",
    TitleDJTable           = "DJ Table",
    PlaySong               = "Play a Song",
    PlaySongDesc           = "Playing music with a link", 
    PlaySong2              = "Selection Chanson",
    PlaySong3              = "URL",
    PlayPause              = "Play / Pause",
    PlayPauseDesc          = "To start or pause your music",
    PauseMusic             = "Pause",
    PauseMusicDesc         = "Pause music currently playing",
    ResumeMusic            = "Resume",
    ResumeMusicDesc        = "Resume music currently playing",
    ChangeVolume           = "Change Volume",
    ChangeVolumeDesc       = "Change Volume music currently playing",
    ChangeVolume2          = "Choose enter 0.1 and 1",
    StopMusic              = "Stop Music",
    StopMusicDesc          = "Stop music currently playing",

    -- BAR
    TitleBar               = "Bar - Make Drink/Food",
    OpenBar                = "Open Bar",
    NeedItemsBar           = "Needs :",
    Quantity               = "Quantity",
    QuantityDesc           = "Quantity of object",
    PrepProgress           = "Preparation in Progress...",
    QuantityInvalid        = "Quantity Invalid",
    NeedItems              = "You must have an item to perform this action !",

    -- CARD
    TitleCard              = "Preview Card - Unicorn",
    OpenCard               = "Open Preview Card",

    -- RECEPTION
    OpenReception          = "Buy Entrance Ticket",
    BuyTicket              = "You bought a ticket...",
    WaitBuyTicket          = "You'll have to wait a while to buy another ticket, it's not unlimited !",

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

    -- 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                = "You cannot perform this action",
    ActionComplete         = "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           = "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 Unicorn company !",
    YouReceive             = "You received",

    -- STOCKAGE 
    Stockage               = "Open Stockage",
    Stockage2              = "Stockage",
    NotAuthorized          = "You are not authorized to access this stockage",
    Deposit                = "Deposit",
    DescQuantity           = "Quantity Desired",
    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             = "You did take your vehicle out of the garage",
    OpenGarageLand         = "Open Garage",
    TitleLand              = "Garage - Unicorn",

    -- MENU
    MenuTitle              = "Unicorn Actions",
    Announces              = "Announces",
    AnnouncesDesc          = "Make Announcement",
    Custom                 = "Unicorn - Custom",
    Custom2                = "Text on Announce",
    AnnounceCompanyUnicorn = "Patron Alert - Unicorn",
    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",

    ActionSuccess          = "Action Successfully Completed !",
    Progressbar            = "Action in progress...",
    NobodyAround           = "Nobody Around !",
    NobodyAroundDesc       = "Find someone closer to you to perform this action",
    PlayerNotFound         = "Player not found",

    error                  = "Error",
    success                = "Success",
    info                   = "Info",
}
Previouscarotto_unicornNextcarotto_blackmarket

Last updated 6 days ago