STG ScriptsDocumentation
Guess Who

Installation

Install STG Guess Who on your FiveM server in five steps, with item examples for ESX, QBCore and ox_inventory.

Guess Who

STG Guess Who

ESXQBCoreQBOX
View in store

Download the script

Sign in to the Cfx.re portal with the account you used at checkout and download stg-guesswho from Granted Assets.

Move the resource

Extract the zip and place the stg-guesswho folder inside the [STG] category folder in your resources directory.

resources/
└── [STG]/
    ├── stg_lib/
    └── stg-guesswho/

Install the dependencies

Guess Who needs ox_lib and stg_lib. Skip this step if your server already runs them.

Add the item

Players put the board on and take it off with the stg_guesswho item. Add it to your inventory and copy stg_guesswho.png from the [SETUP]/item-images/ folder in the zip into your inventory's image folder.

INSERT INTO items (name, label)
VALUES
    ('stg_guesswho', 'Guess Who');

Add this to qb-core/shared/items.lua:

['stg_guesswho'] = { name = 'stg_guesswho', label = 'Guess Who', weight = 0, type = 'item', image = 'stg_guesswho.png', unique = false, useable = true, shouldClose = true, description = 'Guess Who Board' },

Add this to ox_inventory/data/items.lua. QBOX servers use this tab too.

['stg_guesswho'] = {
    label = 'Guess Who',
    weight = 0,
    stack = false,
    close = true,
    description = 'Guess Who Board',
    client = {
        event = 'guesswho:client:toggleWear'
    }
},

Start the script

Make sure [STG] starts after your framework and ox_lib in server.cfg:

ensure ox_lib
# your framework: es_extended, qb-core or qbx_core
ensure stg_lib
ensure [STG]

Then restart the whole server.

Nothing happens or the console shows an error? See Common Errors.

Next steps

Still having trouble?

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

Get help on Discord

On this page