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 = 'F5'},
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
SpawnMenu = true,
}
Config.Access = {
['job'] = {
},
['discord'] = {
},
['license'] = {
},
['discordrole'] = {
},
['citizenid'] = {
}
}
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
'weapon_appistol',
'phone',
}
Config.Units = {
['Rottweiler'] = 'a_c_rottweiler',
['Retriever'] = 'a_c_retriever',
['Husky'] = 'a_c_husky',
['Shepherd'] = 'a_c_shepherd'
}
Config.Animations = {
['Paw'] = {
animDict = 'creatures@dog@move',
animName = 'paw_right_enter',
exit = 'paw_right_exit'
},
['Beg'] = {
animDict = 'creatures@dog@move',
animName = 'beg_enter',
exit = 'beg_exit'
},
['Sit'] = {
animDict = 'creatures@dog@move',
animName = 'sit_enter',
exit = 'sit_exit'
},
['Sleep'] = {
animDict = 'creatures@rottweiler@amb@sleep_in_kennel@',
animName = 'sleep_in_kennel',
exit = 'exit_kennel'
},
['Melee'] = {
animDict = 'creatures@dog@move',
animName = 'melee',
},
['Bark'] = {
animDict = 'creatures@rottweiler@amb@world_dog_barking@idle_a',
animName = 'idle_a',
loop = true,
},
['Dying'] = {
animDict = 'creatures@dog@move',
animName = 'dying',
}
}
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)
}
}
Last updated