Configuration

Configure targeting, animals, rewards, and selling locations.

Main configuration

Configure core settings in config/config.lua.

Key Default Description
Config.TargetSystem Set by server Use 'qb-target' or 'ox_target'.
Config.KnifeItem 'weapon_knife' Item required for skinning.
Config.BinocularsItem 'huntbinoculars' Item that activates binoculars.
Config.SkinDuration 8000 Skinning progress duration in milliseconds.
Config.Animals Set by server Add or remove supported animals.

Add a sell location

Add locations in config/ShopConfig.lua.

Lua
{
    label = 'My Custom Post',
    coords = vector4(0.0, 0.0, 0.0, 180.0),
    ped = 's_m_y_hunter_01',
    blip = { sprite = 526, color = 2, scale = 0.8, label = 'My Custom Post' },
},

Add an animal

Add a model entry with its variants and rewards.

Lua
['a_c_pig'] = {
    {
        label = 'Pig',
        sex = 'Male',
        texture = { 0, 2, 4 },
        ageMin = 3, ageMax = 10,
        skin = { item = 'pig_skin', min = 1, max = 4 },
        meat = { item = 'pig_meat', min = 3, max = 5 },
    },
    {
        label = 'Pig',
        sex = 'Female',
        texture = { 1, 3 },
        ageMin = 2, ageMax = 8,
        skin = { item = 'pig_skin', min = 1, max = 4 },
        meat = { item = 'pig_meat', min = 3, max = 5 },
    },
},
Last updated 2026-11-08