Configuration
Don't touch this line
Config, Shop, Lang, Pets, Noti, Blips = {}, {}, {}, {}, {}, {} -- Don't change
CONFIGURATION FILE
Config, Shop, Lang, Pets, Noti, Blips = {}, {}, {}, {}, {}, {} -- Don't change
-- $$$$$$\ $$$$$$\ $$\ $$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$\ $$\ $$$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$\ $$\
--$$ __$$\ $$ __$$\ $$$\ $$ |$$ _____|\_$$ _|$$ __$$\ $$ | $$ |$$ __$$\ $$ __$$\\__$$ __|\_$$ _|$$ __$$\ $$$\ $$ |
--$$ / \__|$$ / $$ |$$$$\ $$ |$$ | $$ | $$ / \__|$$ | $$ |$$ | $$ |$$ / $$ | $$ | $$ | $$ / $$ |$$$$\ $$ |
--$$ | $$ | $$ |$$ $$\$$ |$$$$$\ $$ | $$ |$$$$\ $$ | $$ |$$$$$$$ |$$$$$$$$ | $$ | $$ | $$ | $$ |$$ $$\$$ |
--$$ | $$ | $$ |$$ \$$$$ |$$ __| $$ | $$ |\_$$ |$$ | $$ |$$ __$$< $$ __$$ | $$ | $$ | $$ | $$ |$$ \$$$$ |
--$$ | $$\ $$ | $$ |$$ |\$$$ |$$ | $$ | $$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ | $$ | $$ | $$ | $$ |$$ |\$$$ |
--\$$$$$$ | $$$$$$ |$$ | \$$ |$$ | $$$$$$\ \$$$$$$ |\$$$$$$ |$$ | $$ |$$ | $$ | $$ | $$$$$$\ $$$$$$ |$$ | \$$ |
--\______/ \______/ \__| \__|\__| \______| \______/ \______/ \__| \__|\__| \__| \__| \______| \______/ \__| \__|
--Use "esx" or "qb"
Config.Framework = "esx"
--Default ESX: "esx:getSharedObject" | Default QB: "qb-core"
Config.Core = "esx:getSharedObject"
--Enter the way you want to connect to your database, you can use "oxymsql", "mysql-async" or "ghmattisql"
Config.Mysql = "oxmysql"
--Command to open the pet menu
Config.PetMenuCommand = "pet"
--Key to open the pet menu
Config.OpenMenuKey = 344 -- F11
--Key to call your pet, it will stop whatever it is doing and come back to you
Config.whistlePet = 57 -- F10
--Maximum distance for it to pursue a target
Config.chaseDistance = 70.0
--Color of the lines to be displayed to select a location or a target
Config.linesColor = {r=248, g=168, b=8, a=200}
--Size of alerts when selecting a location or target
Config.alertScale = 0.6
--Distance at which the player's pet will spawn
Config.spawnDistance = 20
--Time in which pet statuses are updated (default: 120000 milisenconds). Decreasing the time too much may cause an increase in consumption on the server side.
Config.updateStatsTime = 120000
--Amount of hunger that increases each time the pet states are updated (Config.updateStatsTime)
Config.hungerAmount = 1
--Amount of thirst that increases each time the pet states are updated (Config.updateStatsTime)
Config.thirstAmount = 2
--Amount of life that decreases each time the pet's status is updated (Config.updateStatsTime) in case the pet is at maximum thirst or hunger
Config.healthAmount = 10
--Amount of life that is regenerated when the pet is not hungry or thirsty
Config.regeneratedHealthAmount = 50
--If you do not want the dog to attack its owner leave in false
Config.attackOwner = false
--The font for alerts when selecting a location or a target to attack (Set 0 for Chinese language)
Config.alertTextFont = 4
--$$$$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$$$\
--\__$$ __|$$ __$$\ $$ __$$\ $$ __$$\ $$ _____|\__$$ __|
--$$ | $$ / $$ |$$ | $$ |$$ / \__|$$ | $$ |
--$$ | $$$$$$$$ |$$$$$$$ |$$ |$$$$\ $$$$$\ $$ |
--$$ | $$ __$$ |$$ __$$< $$ |\_$$ |$$ __| $$ |
--$$ | $$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ |
--$$ | $$ | $$ |$$ | $$ |\$$$$$$ |$$$$$$$$\ $$ |
--\__| \__| \__|\__| \__| \______/ \________| \__|
--Change the export of the target system you use. For example, "qtarget" or "bt-target"
Config.targetExport = "qtarget"
--If you do not want to use a target system like qtarget, you can use keys. If you want to disable target set the false
Config.useKeysInsteadTarget = false
--Key to make it fetch the ball (weapon_ball)
Config.getBallKey = 108
--Key to make it bark
Config.barkKey = 60
--Key to make it sit until you press the call key (Config.whistlePet)
Config.sitKey = 107
--Key to make it give you the paw
Config.pawKey = 117
--Pet petting key
Config.caressKey = 314
--Key to make it stand on two legs
Config.begKey = 118
--$$\ $$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$\ $$\
--$$$\ $$ |$$ __$$\\__$$ __|\_$$ _|$$ _____|\_$$ _|$$ __$$\ $$ __$$\\__$$ __|\_$$ _|$$ __$$\ $$$\ $$ |
--$$$$\ $$ |$$ / $$ | $$ | $$ | $$ | $$ | $$ / \__|$$ / $$ | $$ | $$ | $$ / $$ |$$$$\ $$ |
--$$ $$\$$ |$$ | $$ | $$ | $$ | $$$$$\ $$ | $$ | $$$$$$$$ | $$ | $$ | $$ | $$ |$$ $$\$$ |
--$$ \$$$$ |$$ | $$ | $$ | $$ | $$ __| $$ | $$ | $$ __$$ | $$ | $$ | $$ | $$ |$$ \$$$$ |
--$$ |\$$$ |$$ | $$ | $$ | $$ | $$ | $$ | $$ | $$\ $$ | $$ | $$ | $$ | $$ | $$ |$$ |\$$$ |
--$$ | \$$ | $$$$$$ | $$ | $$$$$$\ $$ | $$$$$$\ \$$$$$$ |$$ | $$ | $$ | $$$$$$\ $$$$$$ |$$ | \$$ |
--\__| \__| \______/ \__| \______|\__| \______| \______/ \__| \__| \__| \______| \______/ \__| \__|
function notifications(notitype, message, time)-- Don't change this line!
--Change this trigger for your notification system keeping the variables
TriggerEvent('codem-notification', message, time, notitype)
end-- Don't change this line!
--Notifications types:
Noti.info = 'info'
Noti.check = 'check'
Noti.error = 'error'
--Notification time:
Noti.time = 5000
-- $$$$$$\ $$\ $$\ $$$$$$\ $$$$$$$\
--$$ __$$\ $$ | $$ |$$ __$$\ $$ __$$\
--$$ / \__|$$ | $$ |$$ / $$ |$$ | $$ |
--\$$$$$$\ $$$$$$$$ |$$ | $$ |$$$$$$$ |
--\____$$\ $$ __$$ |$$ | $$ |$$ ____/
--$$\ $$ |$$ | $$ |$$ | $$ |$$ |
--\$$$$$$ |$$ | $$ | $$$$$$ |$$ |
--\______/ \__| \__| \______/ \__|
--If you want pets to be spawned inside the cages when accessing the store
Shop.petsInCages = true
--Marker design
Shop.markerCoord = vector3(-662.14, -935.22, 21.83)
Shop.markertype = 23
Shop.markerRGB = {r=255,g=0,b=0}
--Icon to be displayed above the marker
Shop.text3D = "🐶"
--Configuration of the NPC in the store
Shop.NPC = "s_f_y_sweatshop_01"
Shop.NPCCoord = vector3(-662.04, -933.57, 20.83)
Shop.NPCHeading = 174.87
Shop.NPCAnimation1 = {dict= "friends@fra@ig_1", anim= "base_idle"}
Shop.NPCAnimation2 = {dict= "anim@heists@heist_corona@team_idles@male_a", anim= "idle"}
Shop.NPCAnimationWhenBuy = {dict= "anim@amb@nightclub@lazlow@ig1_vip@", anim= "clubvip_base_laz"}
Shop.NPCAnimationWhenCancel = {dict= "anim@mp_player_intcelebrationfemale@face_palm", anim= "face_palm"}
--Camera configuration
Shop.CameraRotation = 160
Shop.CameraDistance = 1.2
Shop.PurchasedPetCameraRotation = 180
Shop.PurchasedPetCameraDistance = 2.2
--Point where the pet spawns once it has been purchased
Shop.SpawnPointPurchasedPet = vector3(-664.77, -935.29, 20.83)
Shop.HeadingPurchasedPet = 269.79
--$$$$$$$\ $$\ $$$$$$\ $$$$$$$\
--$$ __$$\ $$ | \_$$ _|$$ __$$\
--$$ | $$ |$$ | $$ | $$ | $$ |
--$$$$$$$\ |$$ | $$ | $$$$$$$ |
--$$ __$$\ $$ | $$ | $$ ____/
--$$ | $$ |$$ | $$ | $$ |
--$$$$$$$ |$$$$$$$$\ $$$$$$\ $$ |
--\_______/ \________|\______|\__|
Blips.coord = {x = -662.14, y = -935.22, z = 21.83}
Blips.blip = 442
Blips.blipColor = 47
Blips.blipScale = 0.9
Blips.blipText = "PetShop"
--$$$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$\
--$$ __$$\ $$ _____|\__$$ __|$$ __$$\
--$$ | $$ |$$ | $$ | $$ / \__|
--$$$$$$$ |$$$$$\ $$ | \$$$$$$\
--$$ ____/ $$ __| $$ | \____$$\
--$$ | $$ | $$ | $$\ $$ |
--$$ | $$$$$$$$\ $$ | \$$$$$$ |
--\__| \________| \__| \______/
Pets.rottweiler = true
Pets.rottweilerPrice = 3500
Pets.rottweilerShopCoord = vector3(-659.59, -940.31, 22.89)
Pets.rottweilerShopHeading = 92.81
Pets.husky = true
Pets.huskyPrice = 3500
Pets.huskyShopCoord = vector3(-659.59, -940.31, 21.89)
Pets.huskyShopHeading = 92.81
Pets.poodle = true
Pets.poodlePrice = 3500
Pets.poodleShopCoord = vector3(-659.59, -940.31, 20.89)
Pets.poodleShopHeading= 92.81
Pets.retriever = true
Pets.retrieverPrice = 3500
Pets.retrieverShopCoord = vector3(-659.66, -941.54, 22.89)
Pets.retrieverShopHeading = 92.81
Pets.sepherd = true
Pets.sepherdPrice = 3500
Pets.sepherdShopCoord = vector3(-659.66, -941.54, 21.89)
Pets.sepherdShopHeading = 92.81
Pets.pug = true
Pets.pugPrice = 3500
Pets.pugShopCoord = vector3(-659.66, -941.54, 20.89)
Pets.pugShopHeading = 92.81
Pets.MountainLion = true
Pets.MountainLionPrice = 3500
Pets.MountainLionShopCoord = vector3(-659.44, -942.89, 22.89)
Pets.MountainLionShopHeading = 92.81
Pets.westie = true
Pets.westiePrice = 3500
Pets.westieShopCoord = vector3(-659.44, -942.89, 21.89)
Pets.westieShopHeading = 92.81
Pets.cat = true
Pets.catPrice = 3600
Pets.catShopCoord = vector3(-660.42, -939.0, 20.89)
Pets.catShopHeading = 131.96
--$$\ $$$$$$\ $$\ $$\ $$$$$$\ $$\ $$\ $$$$$$\ $$$$$$\ $$$$$$$$\
--$$ | $$ __$$\ $$$\ $$ |$$ __$$\ $$ | $$ |$$ __$$\ $$ __$$\ $$ _____|
--$$ | $$ / $$ |$$$$\ $$ |$$ / \__|$$ | $$ |$$ / $$ |$$ / \__|$$ |
--$$ | $$$$$$$$ |$$ $$\$$ |$$ |$$$$\ $$ | $$ |$$$$$$$$ |$$ |$$$$\ $$$$$\
--$$ | $$ __$$ |$$ \$$$$ |$$ |\_$$ |$$ | $$ |$$ __$$ |$$ |\_$$ |$$ __|
--$$ | $$ | $$ |$$ |\$$$ |$$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ |$$ |
--$$$$$$$$\ $$ | $$ |$$ | \$$ |\$$$$$$ |\$$$$$$ |$$ | $$ |\$$$$$$ |$$$$$$$$\
--\________|\__| \__|\__| \__| \______/ \______/ \__| \__| \______/ \________|
Lang.enterShop = "Press ~r~E~w~ to buy a pet"
Lang.caress = "Caress"
Lang.feed = "Feed"
Lang.drink = "Drink"
Lang.brush = "Brush"
Lang.sit = "Sit"
Lang.bark = "Bark"
Lang.paw = "Paw"
Lang.beg = "Beg"
Lang.ball = "Get ball"
Lang.nomoney = "You don't have enough money"
Lang.noPet = "You don't have any pet"
Lang.errorLoadingPet = "An error occurred while loading the pet"
Lang.noVehicle = "You must be inside a vehicle"
Lang.tooFar = "You are too far away"
Lang.noSeat = "There are no empty seats"
Lang.attack = "PRESS ~o~E~w~ TO ATTACK"
Lang.goThere = "PRESS ~o~E~w~ TO GO THERE"
Lang.havePet = "You already have a pet"
Lang.petdied = "Your pet has died, give it a dignified burial..."
Last updated