config.lua

Full View

Config = {}

Config.Framework = 'esx' -- esx or qbcore
Config.InteractionType = "ox_target" -- Options: "ox_target" or "qb-target" or "3dtext"

-- Item pickup settings
Config.Item = 'roby_cloth'          
Config.PickupAmount = 1         
Config.PickupCooldown = 600 -- sec

-- Police requirement
Config.RequiredPolice = 1    
Config.PoliceJobs = {"police","fbi","sheriff"}   

-- Selling settings
Config.SellPrice = 10          

-- Pickup locations
Config.PickupLocations = {
    {coords = vec3(-820.7024, -1075.8669, 11.3691)},
    {coords = vec3(-822.4106, -1076.0321, 11.1117)},
    {coords = vec3(-821.7568, -1077.3297, 11.1117)}
}

-- NPC selling point
Config.SellPed = {
    model = 's_m_y_dealer_01',
    coords = vec4(-824.9913, -1095.7079, 11.1488, 307.2711)
}

-- SkillCheck / progress settings
Config.Check = {
    EnableSkillCheck = true,             
    ProcessTime = 10,                     
    SkillCheckDifficulty = {'easy', 'easy'},  
    SkillCheckKeys = {'w', 'a', 's', 'd'}, 
}

-- Notification messages
Config.Messages = {
    NotEnoughPolice = "Not enough police online!",
    CooldownActive = "This location is not active yet! (%ss)",
    ItemPickupSuccess = "You picked up %sx %s",
    ItemPickupFail = "A robbery attempt occurred!",
    SellSuccess = "You sold %sx %s for %s$",
    SellFail = "You don't have fabric.",
    PickupItem = "Pick up item",
    SellItem = "Sell item", 
    Processing = "Processing..."
}

Last updated