STG ScriptsDocumentation
Guess Who

Configuration

Every option in STG Guess Who shared/config.lua, from language and target system to the image search and notifications.

All settings live in stg-guesswho/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, ar, he, jp, zh. To change a text, edit the matching file in stg-guesswho/locales/. The web part of each file holds the texts of the card picker window.

Target system

Config.Target = 'default'

Prop

Type

With 'ox_target' or 'qb-target' the E prompt is turned off, so that target resource must be running. Players can never open the picker on their own board.

Config.Search = {
    results = 8,
    cooldown = 500,
}

Prop

Type

The search runs on the server through DuckDuckGo image search, so it is free and needs no API key. Search words can be up to 100 characters long.

Notifications

Config.Functions = {
    CustomNotify = false,
    Notify = function(type, message)
        lib.notify({ type = type, description = message })
    end,
    ShowHelpNotify = function(message)
        lib.showTextUI(message, { position = 'left-center' })
    end,
    HideHelpNotify = function()
        lib.hideTextUI()
    end,
}

Prop

Type

Still having trouble?

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

Get help on Discord

On this page