Config File
Config = {}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Framework Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Framework = "newesx" -- Framework version: "oldesx" (old version) | "newesx" (new version)
Config.AccessPoint = "DrawText" -- Interaction type: "DrawText" | "TextUi" | "ox_target" | "qb-target"
Config.Notif = "OX" -- Notification system: "ESX" | "OX"
-- ╔═════════════════════════════════════════════════════════════════════╗
-- ║ Main Settings ║
-- ╚═════════════════════════════════════════════════════════════════════╝
Config.Hunting = {
CheckLicense = {
use = true, -- Enable/disable license check
name = "hunting" -- License item name
},
Vehicle = {
use = true, -- Enable/disable vehicle spawning
model = "l35", -- Vehicle model
PosVehicle = vector4(-1495.522, 4979.69, 62.73047, 179.369) -- Spawn position vehicle
},
Animal = {
MaxMeter = 500, -- Maximum zone not to be exceeded to prevent the hunt from stopping
amount = {1, 2}, -- Quantity range of items received after skin animal
updateBlips = 2, -- Blip update interval (seconds)
itemSkin = "WEAPON_KNIFE", -- Required item for skinning (nil = disabled)
time = 5, -- Time to skin an animal (seconds)
anim = "WORLD_HUMAN_BUM_WASH", -- Animation skin animal
ItemStart = {
Use = true,
Takeend = true, -- True = remove given items at end | False = keep items
ItemGiveStart = {
["WEAPON_MUSKET"] = 1,
["WEAPON_KNIFE"] = 1,
["AMMO-MUSKET"] = 30,
},
},
hash = { -- Animal models with rarity
{ model = "a_c_boar", rarity = "common", reward = "meat", chance = 75.0 },
{ model = "a_c_deer", rarity = "common", reward = "meat", chance = 75.0 },
{ model = "a_c_mtlion", rarity = "rare", reward = "rare_meat", chance = 25.0 },
},
spawn = { -- Animal spawn positions
vector4(-1568.01, 4715.266, 50.7523, 121.9568),
vector4(-1532.762, 4786.334, 69.44199, 1.048109),
vector4(-1472.467, 4789.908, 80.80044, 270.684),
vector4(-1396.893, 4725.857, 45.26146, 240.6347),
vector4(-1515.146, 4638.461, 31.19716, 148.5372),
vector4(-1472.397, 4747.229, 61.611, 300.3159),
vector4(-1558.359, 4691.221, 49.06341, 143.8666),
vector4(-1486.553, 4672.691, 39.80531, 256.1882),
vector4(-1645.253, 4691.313, 38.62223, 207.7192),
vector4(-1426.744, 4797.536, 103.0481, 238.9291)
}
},
Sell = {
use = true, -- Enable/disable selling
min = 3, -- Minimum meat for sale
PriceSell = { -- Prices by item category
["common"] = 50,
["rare"] = 100,
},
}
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Positions Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Position = {
Blips = vector4(-1490.465, 4981.382, 63.35392, 86.3273), -- Blip position (nil = disabled)
Hunting = vector4(-1490.465, 4981.382, 63.35392, 86.3273), -- Hunting interaction position
Sell = vector4(962.2702, -2189.412, 30.50478, 84.70383) -- Selling position
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ NPC Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Ped = {
Hunting = {
Use = true, -- Enable/disable hunting NPC
Model = "a_m_m_farmer_01", -- NPC model
Anim = "WORLD_HUMAN_CLIPBOARD" -- NPC animation
},
Sell = {
Use = true, -- Enable/disable selling NPC
Model = "a_m_m_hillbilly_01", -- NPC model
Anim = "WORLD_HUMAN_CLIPBOARD" -- NPC animation
}
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Item Labels ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.ItemLabels = {
["meat"] = "Meat",
["rare_meat"] = "Rare Meat"
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Icons Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Icon = {
starthunting = "fa-solid fa-play", -- Start hunting icon
stophunting = "fa-solid fa-stop", -- Stop hunting icon
sellmeat = "fa-sharp fa-solid fa-dollar-sign", -- Sell meat icon
skinanimal = "fa-solid fa-scissors" -- Skin animal icon
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Blips Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Blips = {
Hunting = {
Use = true,
Model = 442, -- Blip sprite
Size = 0.8, -- Blip scale
Color = 31, -- Blip color
Text = "Hunting" -- Blip label
},
Animal = {
Use = true,
Model = 119,
Size = 0.8,
Color = 1,
Text = "Hunting - Animal"
},
Sell = {
Use = true,
Model = 442,
Size = 0.8,
Color = 13,
Text = "Hunting - Sell"
}
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Webhook Discord ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Logging = {
use = true,
webhook = "https://discord.com/api/webhooks/..."
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Text Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Text = {
Currency = "$",
-- Main Actions
StartHunting = "Start Hunting",
StopHunting = "Stop Hunting",
SellMeat = "Sell Meat",
-- Hunting
SessionStart = "Session Started",
SessionEnded = "Session Ended",
SkinAnimal = "Skin Animal",
NeedLicense = "You need a hunting license",
NeedItem = "You need a knife for skin animal",
SkinSuccess = "You skinned the animal and got",
Meat = "meat",
SkinProgress = "Skinning Animal",
SkinCancelled = "Skinning cancelled",
VehicleGiven = "You received a hunting vehicle",
VehicleRemoved = "The hunting vehicle has been returned",
LeftHuntingArea = "You have left the hunting area!",
-- Selling
AmountSell = "Amount to sell",
AmountSellDesc = "Enter the amount of meat you want to sell",
InvalidAmount = "Invalid amount entered !",
Sold = "You sold",
Meat2 = "meat for",
NoEnough = "You don't have enough",
InInventory = "in your inventory",
MinSell = "You have to sell at least",
RarityMeat = "Rarity of Meat",
Common = "Common",
Rare = "Rare",
TypeMeat = "Type of Meat",
-- Webhook Discord
Player = "Player",
License = "License",
Action = "Action",
Sell = "Sell",
-- Others
Error = "Error",
Success = "Success",
Info = "Info",
Warning = "Warning"
}
Last updated