Page cover

๐Ÿ—ƒ๏ธFull config preview

A full preview of the config file of the script.

Config = {}

Config.Balls = {} --Don't touch
Config.InVehicle = {} --Don't touch
Config.Debug = true

Config.General = {
    Command = 'k9',
    BindKey = { enabled = true, key = 'E'},
    Policejob = 'police',
    MenuPosition = 'top-right', --'top-left'/'top-right'/'bottom-left'/'bottom-right'
    DamageBite = 1.0, --4/5 bites (this is only towards players)
    DisableInventoryForDogs = true, --true/false - if true players that have the dog equiped cannot open their inventory
    EnableThirthPartyTarget = true, --true/false - if true cops can use target to let dog out vehicle
}

Config.Access = {
    ['job'] = {
        'police'
    },
    ['discord'] = {
    },
    ['license'] = {
    },
    ['discordrole'] = {
    },
    ['ssn'] = {
        
    }
}

Config.DiscordIntegration = {
    Enabled = false,
    BotToken = 'YOUR TOKEN',
    GuildId = 'YOUR SERVER ID',
}

Config.Menu = {
    [1] = {
        options = {label = 'Sniff person', icon = 'person', close = false},
        use = true,
        event = 'getPlayerInventory',
        server = true
    },
    [2] = {
        options = {label = 'Search vehicle', icon = 'car', close = false},
        use = true,
        event = 'getVehicleInventory',
        server = true
    },
    [3] = {
        options = {label = 'Animations', icon = 'dog', values={'Stop', 'Paw', 'Beg', 'Sit', 'Sleep', 'Melee', 'Bark', 'Dying'}, close = false},
        use = true,
        event = 'doAnimation',
        server = false
    },
    [4] = {
        options = {label = 'Vehicle', icon = 'car', values={'Enter', 'Exit'}, close = false},
        use = true,
        event = 'sitInCar',
        server = false
    },
    [5] = {
        options = {label = 'Ball', icon = 'baseball', values={'Pickup', 'Release'}, close = false},
        use = true,
        event = 'ball',
        server = false
    },
    [6] = {
        options = {label = 'Jump', icon = 'arrow-turn-up', close = false},
        use = true,
        event = 'jump',
        server = false
    },
    [7] = {
        options = {label = 'Transform', icon = 'people-arrows', values={'Human', 'K9 Unit'}, close = true},
        use = true,
        event = 'transform',
        server = false
    },
    [8] = {
        options = {label = 'Change texture', icon = 'user-pen', values={0, 1, 2}, close = false},
        use = true,
        event = 'changeTexture',
        server = false
    },
}

Config.BlacklistedItems = { --Items that are suspicious when sniffing a player
    'cannabis',
}

Config.Units = {
    ['Rottweiler'] = 'a_c_rottweiler',
    ['Retriever'] = 'a_c_retriever',
    ['Husky'] = 'a_c_husky',
    ['Shepherd'] = 'a_c_shepherd'
}

Config.FoodAndDrinks = {
    ['foodbowl'] = {
        prop = 'prop_cs_bowl_01',
        type = 'food',
        amountToAdd = 10, --max of food & water is 100 (metadata)
        timeToEat = 10, --in seconds
    },
    ['waterbowl'] = {
        prop = 'apa_mp_h_acc_bowl_ceramic_01',
        type = 'drink',
        amountToAdd = 10,
        timeToEat = 10,
    },
    ['dog_biscuits'] = {
        prop = 'prop_peanut_bowl_01',
        type = 'food',
        amountToAdd = 5,
        timeToEat = 10,
    },
}

Config.Seating = {
    ['seat1'] = {
        boneDoor = 'door_dside_r',
        boneSeat = 'seat_dside_r',
        offset = vector3(0.0, -0.3, 0.35)
    },
    ['seat2'] = {
        boneDoor = 'door_pside_r',
        boneSeat = 'seat_pside_r',
        offset = vector3(0.0, -0.3, 0.35)
    }
}

Config.ExitOffset = {
    enabled = true, --if true, use the offsets below
    default = vector3(-1.5, -1.0, 0.0), --default offset for all vehicles
    vehicles = {
        ['police2'] = vector3(0.0, -1.0, 0.0), --specific offsets to overwrite default
        ['police3'] = vector3(0.0, -1.0, 0.0),
        ['police4'] = vector3(0.0, -1.0, 0.0),
        ['police5'] = vector3(0.0, -1.0, 0.0),
        ['police6'] = vector3(0.0, -1.0, 0.0),
        ['police7'] = vector3(0.0, -1.0, 0.0),
    }
}

Last updated