STG ScriptsDocumentation
Game Consoles

Configuration

Every option in STG Game Consoles shared/config.lua, from the language and default menu theme to the item list for both consoles.

All settings live in stg-gameconsoles/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-gameconsoles/locales/.

The retro Pocket console draws its menu with a pixel font that only has basic Latin letters. Accents are dropped there, and with ar, he, jp, ko and zh the Pocket menu stays in English. Pocket X shows every language. Texts inside the games themselves are in English.

Config.Theme = 'cute'

Prop

Type

Items

Config.Items = {
    Pocket = {
        stg_handheld_navy = 'stg_handheld',
        stg_handheld_orange = 'stg_handheld_orange',
        stg_handheld_pink = 'stg_handheld_pink',
        stg_handheld_mint = 'stg_handheld_mint',
        stg_handheld_white = 'stg_handheld_white',
        stg_handheld_black = 'stg_handheld_black',
    },
    PocketX = {
        stg_pocketx_lilac = 'stg_pocketx',
        stg_pocketx_orange = 'stg_pocketx_orange',
        stg_pocketx_mint = 'stg_pocketx_mint',
        stg_pocketx_sky = 'stg_pocketx_sky',
        stg_pocketx_white = 'stg_pocketx_white',
        stg_pocketx_black = 'stg_pocketx_black',
    },
}

Prop

Type

Rename an item by changing its key, or remove a line to drop that color. With ox_inventory the item is used through its client event, so keep the item entries from the installation page in sync with the names here.

Still having trouble?

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

Get help on Discord

On this page