TGIANN
YoutubeDiscordTebexFivem
  • Main
    • Welcome
    • How to Find My Transaction ID
    • How can i download my script
    • How can i transfer my script
    • Whats escrow system?
    • Switching from MySQL Async to oxmysql
    • Basic Aces & Principals overview/guide
    • Using QB scripts in QBOX
    • How can i use Fivemanage
  • Common errors
    • SCRIPT ERROR: ?:-1: attempt to call a nil value
    • TGIANN-Core script is not in my keymaster account
    • You lack the required entitlement to use tgiann-*
    • Error parsing script / Failed to load script
    • Error: syntax error near '<\1>'
    • When I buy something, the money goes negative
    • Failed to verify protected resource
  • Map
    • lumi-delperropier
      • Setup
      • Conflicts
      • Disable NPC
      • Rcore Funfair Cords
      • CS-Hall Config
  • Scripts
    • tgiann-animpos-photo-cam
      • Editable Files
      • Config File
      • Exports
    • tgiann-self-storage-v2
      • Editable Files
        • Language File
        • Client Editable
        • Server Editable
      • Config File
    • tgiann-radio
      • Guides
        • Recommended settings for PMA Voice
        • How to change the animation
      • Installation
      • Config file
      • Editable Files
        • Language File
        • Client Editable
        • Server Editable
      • Exports
    • tgiann-core
      • Config file
      • Exports
      • Integration
        • QB
          • DrawText
    • tgiann-lumihud
      • Events / Exports
      • Editable Files
        • Language File
        • Client
          • playerStatus.lua
          • qbclient.lua
          • editable.lua
          • moneyEditable.lua
          • harnessBeltEditable.lua
        • Server
          • qbserver.lua
          • editable.lua
      • Config Files
        • config.lua
        • configHudSettings
        • configWeaponList.lua
        • qbStressConfig
      • Integration
        • Notify
        • Progressbar
    • tgiann-realparking
      • Events / Exports
      • Editable Files
        • Language File
        • Client
          • editable.lua
        • Server
          • editable.lua
      • Config Files
        • blipsConfig.lua
        • config.lua
        • impoundConfig.lua
        • insuranceConfig.lua
    • tgiann-vehicleshop
      • Exports
      • Editable Files
        • Language File
        • Client
          • editable.lua
        • Server
          • editable.lua
          • commands.lua
      • Config Files
    • tgiann-gps
      • Client Exports
      • Editable Files
        • config.lua
        • client/editable.lua
        • Language File
    • tgiann-clothing
      • Guides
        • Installation
          • ESX
          • QB
          • QBX
          • tgiann-inventory clothe items
        • Migration
        • How to take clothes images
      • Comman Proplems
      • Events / Exports
      • Admin Commands
      • Editable Files
        • client/editable.lua
        • server/editable.lua
      • Configs
        • blacklist
          • famale.lua
          • male.lua
        • clotheList
          • global
            • female.lua
            • male.lua
        • clothingPrice
          • female.lua
          • male.lua
        • tattoo
          • customTattoo.lua
          • tattoo.lua
        • clothingRoomsOutfits.lua
        • config.lua
        • hairOverlays.lua
        • pedList.lua
    • tgiann-inventory
      • Guides
        • Installation
          • ESX
          • QB
          • QBOX
        • How to adapt your script
        • How do money as item
          • QB
          • QBOX
          • ESX
            • ESX V11
            • ESX V12
        • Creating Items
        • Item İmages
        • Item Metadata
        • Migration
      • Common Problems
      • Exports
        • Server
        • Client
      • Hooks
      • Events
        • Server
        • Client
      • Admin Commands
      • Editable Files
        • client/editable.lua
        • client/topheader.lua
        • server/editable.lua
        • server/commands.lua
        • server/convert.lua
      • Configs
        • config.lua
        • configAmmo.lua
        • configAntiSwimingItems
        • configAttachment.lua
        • configAttachmentName.lua
        • configBlockItems.lua
        • configCarryItems.lua
        • configClotheBackpack.lua
        • configCommands.lua
        • configCraft.lua
        • configDecayableItems.lua
        • configDrop.lua
        • configEditableItems.lua
        • configFilter.lua
        • configItemStash.lua
        • configMaxStack.lua
        • configMaxUseAmount.lua
        • configMetadata.lua
        • configMetadataAdvance.js
        • configRealisticArmor.lua
        • configShop.lua
        • configStashes.lua
        • configThrowableItems.lua
        • configVendingMachine.lua
        • configWeapon.lua
    • lumi-delperropier-texonstone
      • Setup
    • tgiann-antirpf
      • Editable files
    • tgiann-secondhand
      • Editable files
      • config.lua
    • tgiann-multicharacter + spawn selector
      • Guides
        • Installation
        • Discord Permmission integration
        • Tebex integration
      • Common Problems
      • Configs
        • config.lua
        • multicharConfig.lua
        • photocamConfig.lua
        • spawnSelectorConfig.lua
      • Editable Files
        • Language File
        • client/editable.lua
        • server/editable.lua
        • server/commands.lua
    • tgiann-attachment
      • Config file
      • Event List
    • tgiann-bank
      • Migration
      • Exports
      • Config files
        • config.lua
        • configGangAccounts.lua
        • configHacking.lua
        • configJob.lua
        • configJobAccounts.lua
      • Editable Files
    • tgiann-bettercombat
      • Config file
      • Event List
    • tgiann-bobcat
      • Config file
    • tgiann-boombox
      • Config file
    • tgiann-vehiclecontrol
      • Exports
      • Config file
      • Editable Files
    • tgiann-card
      • Config file
      • QB Core Item
      • Ox Inventory Item
      • Sql File
    • tgiann-carhud
      • Config file
    • tgiann-carmod
      • Config file
      • Sql File
    • tgiann-chair
      • Config file
      • QB Core Item
    • tgiann-chopshop
      • Config file
      • QB Core Item
    • tgiann-damage-indicator
      • Config file
      • Editable files
    • tgiann-dna
      • Sql File
    • tgiann-document
      • Config file
      • QB Core Item
      • Ox Inventory Item
      • Sql File
    • tgiann-doorlock-v2
      • How can i find door model and other details
      • Config file
    • tgiann-dropweaponwhendie
      • Config file
    • tgiann-drugsell
      • Config file
    • tgiann-erpv2
      • Config file
    • tgiann-fallouthacker
      • Usage
    • tgiann-garage
      • Config file
      • Event List
      • Exports List
      • QB Sql File
      • ESX Sql File
    • tgiann-hotwire
      • Item List
      • Editable Files
        • Language File
        • Client/editable.lua
        • Client/migrate.lua
        • Server/commands.lua
      • Config file
      • Exports
    • tgiann-house
      • Stash Function
      • Common errors
      • Config file
      • Event List
      • Sql File
      • Editable Files
    • tgiann-hud
      • Config file
    • tgiann-hudv2
      • Config file
      • Event List
    • tgiann-job
      • Config file
      • Sql File
    • tgiann-market
      • Editable Files
      • Config file
      • Sql File
    • tgiann-mdt
      • Config file
      • ESX Sql File
      • QB Sql File
    • tgiann-megaphone
      • Setup
        • QB Core Item
        • Ox Inventory Item
      • Language File
      • Config file
      • Event List
      • Exports List
      • Recommended PMA Voice Settings
      • Common Problems
    • tgiann-moder-hud
      • Config file
      • Editable files
      • Event list
    • tgiann-naked
      • Config file
      • Editable Files
      • Sql File
      • Wrong Clothes
    • tgiann-platechanger
      • Config file
    • tgiann-policealert
      • Config file
      • Event List
    • tgiann-postcard
      • Editable Files
      • Config file
      • QB Core Item
      • Ox Inventory Item
    • tgiann-radio (Old)
      • Common errors
      • Config file
      • Event List
      • Exports List
      • Recommended settings for PMA Voice
    • tgiann-rentscooter
      • Config file
    • tgiann-sblauncher
      • Config file
      • QB Core Item
    • tgiann-self-storage
      • Config file
      • Editable files
      • Sql File
    • tgiann-exit-log
      • Config file
      • Editable files
    • tgiann-weapons-on-back
      • Config file
      • Editable files
    • tgiann-sellnpc
      • Config file
    • tgiann-smokegrenade
      • Config file
    • tgiann-sounds
      • Example Usage
    • tgiann-stashhouse
      • Config file
      • Sql File
    • tgiann-statushud
    • tgiann-vehicleoutfit
      • Config file
      • Sql File
    • tgiann-vehicleradio
      • Config file
      • Event list
    • tgiann-vehicleshop
      • Config file
      • Sql File
    • tgiann-trade
      • Config file
      • Server editable.lua
      • Client editable.lua
    • tgiann-zombie
      • Config file
      • Client editable.lua
      • Server editable.lua
      • Common errors
    • tgiann-planting
      • Config file
      • Editable Files
    • tgiann-realistic-car-crash
      • Config file
      • Editable Files
    • tgiann-graphic-menu
      • Config file
      • Editable Files
    • tgiann-firefighterjob
      • Installation
      • Config file
      • Editable Files
    • tgiann-coinshop
      • Config file
      • Editable Files
    • tgiann-vehiclepaint
      • Config file
      • Setup
    • tgiann-drone
      • Config file
      • Editable Files
    • tgiann-musical-chairs
      • Config file
      • Editable Files
    • tgiann-pursuitmode
      • Config file
      • Editable Files
    • tgiann-food-jobs
      • Config file
      • Editable Files
      • Example Location Config
Powered by GitBook
On this page
  • configConsumable.lua (Not All)
  • configShopPrice.lua
  1. Scripts
  2. tgiann-food-jobs

Config file

tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()

config.lang = "en" --    "en"    |    "tr"
config.useTarget = "qb" --   false    |    "ox"    |    "qb"
config.useProgressBar = true -- Replaces skillbar minigame parts with progressbar
config.enableDevCommands = false

config.mapLocations = {
    lumipier = false, --Job name: lumipier | https://lumisaphy.tebex.io/package/5682177
    gabzBahama = true, --job name: bahama | https://fivem.gabzv.com/package/5500606
    gabzBeanMachine = true, --Job name: beanmachine | https://fivem.gabzv.com/package/4976870
    gabzBurgerShot = true, --Job name: burger | https://fivem.gabzv.com/package/5665525
    gabzHornys = true, --Job name: hornys | https://fivem.gabzv.com/package/5567769
    gabzKoi = false, --job name: koi | https://fivem.gabzv.com/package/5665526
    gabzPearls = true, --Job name: pearls | https://fivem.gabzv.com/package/5665527
    gabzPizza = true, --Job name: pizza | https://fivem.gabzv.com/package/4724795
    gabzPopsDinner = true, --job name: dinner | https://fivem.gabzv.com/package/5665526
    gabzTriads = true, -- job name: triads | https://fivem.gabzv.com/package/5316172
    gabzUpNAtom = true, --job name: atom | https://fivem.gabzv.com/package/5567767
    gabzUwuCafe = true, --Job name: uwu | https://fivem.gabzv.com/package/4724734
    gtaTequilala = true, --job name: tequilala | Orjinal GTA's Map
    UniverseStoreIceCream = true, --job name: icecream | https://universe-store-webstore.tebex.io/package/5537987
    GreatOceanLeft = true, --job name: greatoceanleft | https://fiv3devs.tebex.io/package/5252089
    --Vanilla Unicorn
    gabzVanillaUnicorn = true, --job name: vanillaunicorn | https://fivem.gabzv.com/package/4724693
    fiveDevsVanillaunicorn = false, --job name: vanillaunicorn | https://fiv3devs.tebex.io/package/5771122
}

config.maxHungerThirstValue = {
    hunger = 100,
    thirst = 100,
}

config.tableSellMoneyMultiplies = 2.5 -- The script calculates the production cost of an item and multiplies it by the value you input here (Example Item: $100 | sellMoneyPercent: 1.1 | 100*1.1 = 110)

config.delivery = {
    vehicleSpawn = function(vehicle)
        local plate = GetVehicleNumberPlateText(vehicle)
        TriggerEvent("vehiclekeys:client:SetOwner", plate)
        TriggerEvent("x-hotwire:give-keys", vehicle) 
        TriggerEvent('tgiann-hotwire:give-keys-with-carid', vehicle)
    end,
    sellMoneyMultiplies = 1.5, -- The script calculates the production cost of an item and multiplies it by the value you input here (Example Item: $100 | sellMoneyPercent: 1.1 | 100*1.1 = 110)
    location = { -- Door locations
        vector3(8.91, -242.82, 51.8),
        vector3(113.74, -277.95, 54.51),
        vector3(201.56, -148.76, 61.47),
        vector3(-206.84, 159.49, 74.08),
        vector3(38.83, -71.64, 63.83),
        vector3(47.84, -29.16, 73.71),
        vector3(-264.41, 98.82, 69.27),
        vector3(-419.34, 221.12, 83.6),
        vector3(-998.43, 158.42, 62.31),
        vector3(-1026.57, 360.64, 71.36),
        vector3(-967.06, 510.76, 82.07),
        vector3(-1009.64, 478.93, 79.41),
        vector3(-1308.05, 448.59, 100.8),
        vector3(557.39, -1759.57, 29.31),
        vector3(325.1, -229.59, 54.22),
        vector3(414.82, -217.57, 59.91),
        vector3(430.85, -941.91, 29.19),
        vector3(-587.79, -783.53, 25.4),
        vector3(-741.54, -982.28, 17.44),
        vector3(-668.23, -971.58, 22.34),
        vector3(-664.21, -1218.25, 11.81),
        vector3(249.99, -1730.79, 29.67),
        vector3(405.77, -1751.18, 29.71),
        vector3(454.96, -1580.25, 32.82),
        vector3(278.81, -1117.96, 29.42),
        vector3(101.82, -819.49, 31.31),
        vector3(-416.72, -186.79, 37.45),
    },
    itemAmount = {
        min = 1,
        max = 2,
    },
    progressBarTime = 10000,
    newDeliveryTime = {
        min = 50000,
        max = 60000,
    }
}

config.playerMaxOrder = 20 -- maximum number of orders the player can place on the Table

config.moneyPercent = {
    player = 0.8, -- money to be given to the player when the order is sold (Example: 100*0.8 = 80)
    company = 0.2, -- money to be given to the company when the order is sold (Example: 100*0.2 = 20)
}

config.jobList = { "vanillaunicorn", "uwu", "burger", "bahama", "lumipier", "beanmachine", "hornys", "koi", "pearls", "pizza", "dinner", "triads", "atom", "uwu", "tequilala", "icecream", "greatoceanleft" }

config.packetItems = { -- The item name should be in the form of packet and job name (Example: packetdinner)
    "packetlumipier", 
    "packetbahama",
    "packetbeanmachine",
    "packetburger",
    "packethornys",
    "packetkoi",
    "packetpearls",
    "packetpizza",
    "packetdinner",
    "packettriads",
    "packetatom",
    "packetuwu",
    "packetvanillaunicorn",
}

config.packetCommand = {
    jobs = config.jobList, --jobs that can use the command
    name = "packet", -- Command name (/packet)
    esxPerm = "user"
}

config.f4 = {
    jobs = config.jobList, --jobs that can use the menu
    enable = true, -- enable F4 Menu
    key = "f4",
    enableBill = true
}

config.blips = {}
config.cutting = {} -- Kesme
config.fries = {} -- Patates kızartması
config.shop = {}
config.cook = {} -- Pişirme
config.food = {} -- Yemek Son Aşama Hazırlama
config.boss = {}
config.storage = {}
config.cashRegister = {}
config.handWash = {}
config.deliveryJob = {}
config.alchol = {} -- Alkol
config.coffee = {} -- Kahve
config.juice = {} -- Meve Suyu
config.drink = {} -- Any Drink Items
config.cola = {} -- Gazlı içecekler
config.dough = {} -- Hamur
config.formDough = {} -- Hamur açma
config.rawPizza = {} -- Prepair Raw Pizza
config.oven = {} -- Fırın
config.sushi = {} -- Sushi Table
config.icecream = {} -- Ice Cream

config.poleDance = {}
config.hookah = {
    prop = `prop_tgi_hookah`,
    spawnDist = 50,
    autoDelete = {
        enable = true,
        minute = 60
    },
    keys = {
        x = 73, --X
        e = 38, --E
        use = 38, --E
        remove = 73, --X
        smoke = 74, --H
        leave = 73, --X
    },
    hookahs = {}
}
config.lapDance = {}
config.toilet = {
    normal = {},
    urinal = {}
}
config.chair = {
    chairZ = 0.5,
    keys = {
        x = 73,
        arrowUp = 172,
        arrowDown = 173,
        arrowLeft = 174,
        arrowRight = 175,
        a = 34,
        d = 35,
    },
    anim = { -- Default sit animation
        man = {"timetable@ron@ig_5_p3", "ig_5_p3_base"},
        woman = {"timetable@reunited@ig_10", "base_amanda"},
        manOffset = vector3(0.05, 0.6, 0.0),
        womanOffset = vector3(0.2, 0.7, -0.1)
    },
    maxLeftRight = 1.5,
    maxBackFront = 1.5,
    maxRotate = 90.0,
    chairs = {},
}

function addChair(table)
    for i=1, #table do
        config.chair.chairs[#config.chair.chairs+1] = table[i]
    end
end

function addHandWash(table)
    for i=1, #table do
        config.handWash[#config.handWash+1] = table[i]
    end
end

function addPoleDance(jobName, table)
    if not config.poleDance[jobName] then config.poleDance[jobName] = {} end
    for i=1, #table do
        config.poleDance[jobName][#config.poleDance[jobName]+1] = table[i]
    end
end

function addLapDance(jobName, table)
    if not config.lapDance[jobName] then config.lapDance[jobName] = {} end
    for i=1, #table do
        config.lapDance[jobName][#config.lapDance[jobName]+1] = table[i]
    end
end

function addToilet(table)
    for tType, data in pairs(table) do
        for i=1, #data do
            config.toilet[tType][#config.toilet[tType]+1] = data[i]
        end
    end
end

function addHookah(table)
    for i=1, #table do
        config.hookah.hookahs[#config.hookah.hookahs+1] = table[i]
    end
end

config.langs = {}

configConsumable.lua (Not All)

local lang = config.langs[config.lang]

config.consumableItems = {
    --food
    {
        progressbarLabel = lang.eating, --ok
        type = "food",
        item = "orange_macaroon",
        time = 1200000,
        addValue = 50,
        animation = {
            animDictionary = "mp_player_inteat@burger",
            animationName = "mp_player_int_eat_burger",
        },
        propOptions = {
            Prop = 'cartty_macaron',
            PropBone = 18905,
            PropPlacement = {0.0, 0.0064386576655695, -0.0010677571233193, 0, 0, 0}
        }
    },
    {
        progressbarLabel = lang.eating, --ok
        type = "food",
        item = "strawberry_macaroon",
        time = 1200000,
        addValue = 50,
        animation = {
            animDictionary = "mp_player_inteat@burger",
            animationName = "mp_player_int_eat_burger",
        },
        propOptions = {
            Prop = 'cartty_macaron',
            PropBone = 18905,
            PropPlacement = {0.0, 0.0064386576655695, -0.0010677571233193, 0, 0, 0}
        }
    },
    {
        progressbarLabel = lang.eating, --ok
        type = "food",
        item = "mint_macaroon",
        time = 1200000,
        addValue = 50,
        animation = {
            animDictionary = "mp_player_inteat@burger",
            animationName = "mp_player_int_eat_burger",
        },
        propOptions = {
            Prop = 'cartty_macaron',
            PropBone = 18905,
            PropPlacement = {0.0, 0.0064386576655695, -0.0010677571233193, 0, 0, 0}
        }
    },
}

configShopPrice.lua

config.configShopPrice = {
    sugar = 3, 
    caramel = 5, 
    carrot = 4,
    cranberry = 6,
    kiwi = 7, 
    cucumber = 7, 
    tomatoes = 6, 
    ecola = 4, 
    apple = 5, 
    milk = 3, 
    lemon = 4, 
    lime = 6, 
    pepper = 5, 
    blueberry = 6, 
    cheese = 3, 
    tuna = 6, 
    strawberry = 8, 
    maracuja = 10, 
    sausage = 9, 
    potato = 6, 
    mayonnaise = 3, 
    spice = 3, 
    rawcoffee = 10, 
    onion = 4, 
    nugget = 8, 
    chocolate = 5, 
    noodles = 4, 
    meat = 15, 
    rice = 9, 
    grapefruit = 8, 
    tofu = 7, 
    mint = 4, 
    nori = 10, 
    peach = 5, 
    lettuce = 5, 
    tomatopaste = 8, 
    pickle = 3, 
    soda = 8, 
    egg = 4, 
    flour = 5, 
    food_mushroom = 7, 
    pineapple = 10, 
    boba = 15, 
    sausage_brat = 13,
    plum = 10,
    mustard = 7, 
    orange = 6, 
    coconut = 10, 
    cherry = 8, 
    ketchup = 3, 
    banana = 5, 
    burgerbread = 4, 
    alcohol = 15, 
    avokado = 11, 
    chicken = 10, 
    vanilla = 5, 
    espresso = 9, 
    ice = 1, 
    watermelon = 7, 
    water = 3, 
    grape = 7, 
    sandwichbread = 4,
}
Previoustgiann-food-jobsNextEditable Files

Last updated 1 year ago