Configuration

You can check default config

Config = {}

-- Item Settings
Config.ItemName = 'sack' 

-- General Settings
Config.AllowNPCBagging = true 
Config.RemovalTime = 1
Config.MaxDistance = 2.0 
Config.CanRemoveSackWhenHogtied = true

-- Prop Settings
Config.SackPropModel = 1160964739 

-- Textures
Config.Textures = {
    'texture-1.png',
    'texture-2.png',
    'texture-3.png'
}

-- Debug
Config.Debug = false 

V2

Config = {}

-- Item Settings
Config.ItemName = 'sack' -- Item name in your inventory system

-- General Settings
Config.AllowNPCBagging = true -- Can players put sacks on NPC heads

Config.MaxDistance = 2.0 -- Maximum distance to put sack on someone's head


-- Controls
Config.RemovalKey = 0x156F7119 -- Backspace key (0x156F7119) - To take it out on others and on yourself

-- Prop Settings
Config.SackPropModel = 1160964739 -- (0x4532EA83) don't change

-- Textures
Config.Textures = {
    'texture-1.png',
    'texture-2.png',
    'texture-3.png'
}

-- Notification Settings
Config.Notifications = {
    NoTarget = {
        QBR = { type = 9, message = 'No hogtied target nearby', duration = 5000, icon = 0, iconTexture = 'mp_lobby_textures', iconColor = 'COLOR_WHITE' },
        VORP = { message = 'No hogtied target nearby', duration = 5000 },
        RSG = { message = 'No hogtied target nearby', duration = 5000 }
    },
    NotHogtied = {
        QBR = { type = 9, message = 'Target must be hogtied', duration = 5000, icon = 0, iconTexture = 'mp_lobby_textures', iconColor = 'COLOR_WHITE' },
        VORP = { message = 'Target must be hogtied', duration = 5000 },
        RSG = { message = 'Target must be hogtied', duration = 5000 }
    },
    AlreadyHasSack = {
        QBR = { type = 9, message = 'Target already has a sack on their head', duration = 5000, icon = 0, iconTexture = 'mp_lobby_textures', iconColor = 'COLOR_WHITE' },
        VORP = { message = 'Target already has a sack on their head', duration = 5000 },
        RSG = { message = 'Target already has a sack on their head', duration = 5000 }
    },
    PutSack = {
        QBR = { type = 4, message = 'You put a sack on their head', duration = 5000, icon = 0, iconTexture = 'hud_textures', iconColor = 'COLOR_WHITE' },
        VORP = { message = 'You put a sack on their head', duration = 5000 },
        RSG = { message = 'You put a sack on their head', duration = 5000 }
    },
    RemovedSack = {
        QBR = { type = 4, message = 'You removed the sack', duration = 5000, icon = 0, iconTexture = 'hud_textures', iconColor = 'COLOR_WHITE' },
        VORP = { message = 'You removed the sack', duration = 5000 },
        RSG = { message = 'You removed the sack', duration = 5000 }
    }

}

-- Debug
Config.Debug = false 

Last updated