STG ScriptsDocumentation
Dog Walker

Configuration

Every option in STG Dog Walker shared/config.lua, from daycares and dogs to levels, pay, poop penalties and the walk itself.

All settings live in stg-dogwalker/shared/config.lua. The file stays editable in the escrow version. Restart the resource after a change.

Language

Config.Language = 'en'

Available: en, de, fr, es, pt, it, nl, pl, sv, no, fi, cs, ar, he, jp, ko, zh. To change a text, edit the matching file in stg-dogwalker/locales/.

Daycares

Config.Daycares = {
    { -- Legion Square
        Coords = vec4(203.8454, -945.9966, 30.6868, 326.4446),
        WaitingDogs = vec4(205.2551, -947.0441, 30.6868, 321.9397),
    },
    { -- Mirror Park
        Coords = vec4(1067.1722, -723.4378, 56.7465, 135.7358),
        WaitingDogs = vec4(1065.8832, -722.1815, 56.7465, 135.7358),
    },
}

Prop

Type

Add as many daycares as you like. Every daycare has its own worker and its own row of dogs, and a dog always goes back to the daycare it was taken from.

Daycare worker and blip

Config.DaycarePed = 'a_f_y_hipster_01'

Config.DaycareBlip = {
    Enabled = true,
    Sprite = 273,
    Color = 46,
    Scale = 0.8,
}

Prop

Type

Target system

Config.Target = 'auto'

Prop

Type

The target shows Dog Daycare on the worker and Clean up the poop on the ground where a dog pooped.

Dogs

Config.Breeds = {
    'a_c_husky',
    'a_c_retriever',
    'a_c_rottweiler',
    'a_c_pug',
    -- 'a_c_shepherd',
    -- 'a_c_poodle',
    -- 'a_c_westy',
}

Every line is one dog sitting at every daycare. A dog that is out on a walk leaves the row and cannot be taken by another player until it is back, so this list also sets how many players can walk at the same daycare at once. Add a breed twice to have two of it. Each breed gets its own collar.

Levels

Config.Levels = {
    { Xp = 0, Dogs = 1 },
    { Xp = 400, Dogs = 2 },
    { Xp = 1200, Dogs = 3 },
}

Prop

Type

A finished walk gives 40 XP per dog plus 10 XP per star. Experience is saved per character on the server.

Pay

Config.Pay = {
    Account = 'cash',
    PerDog = 120,
    TipPerStar = 15,
}

Prop

Type

With the defaults one dog pays between $135 and $195, three dogs between $405 and $585. The menu shows the range before the walk starts.

Poop penalty

Config.PoopPenalty = {
    Money = 50,
    Xp = 20,
}

Prop

Type

Belt bag

Config.BeltBag = true

After a cleanup the tied poop bag hangs from the player's belt until the walk ends. Set it to false to hide the bag.

Walk

Config.Walk = {
    Distance = 400.0,
    Poops = 3,
    PoopGap = 10,
}

Prop

Type

Each poop has to be cleaned up within 30 seconds. The countdown pauses while the cleanup is open.

Notifications

Config.Functions = {
    Notify = function(type, message)
        lib.notify({ type = type, description = message })
    end,
}

Notifications use ox_lib by default. Replace the body of Notify with your own notify export to use your server's style. type is 'success', 'error' or 'inform'.

Still having trouble?

Open a ticket on our Discord. Our team answers around 15 hours a day.

Get help on Discord

On this page