STG ScriptsDocumentation
Character Creator

Configuration

Every option in STG Character Creator config.lua, the creation spot, the arrival spot and the ESX multicharacter mode.

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

Creation spot

STG.SpawnCoords = {
    coords = vector3(68.1344, 7212.69, 3.37478),
    heading = 0.17
}

Prop

Type

Arrival spot

STG.Airport = {
    coords = vector3(-1034.09, -2734.17, 20.17),
    heading = 324.28
}

Prop

Type

Two seconds after arrival the client event stg:login fires, so your own resources can listen to it and run something for a new character.

Multicharacter mode

This option only exists in the ESX build.

STG.multicharacter = true

Prop

Type

The Create Character button only works once the name and the surname have at least three letters each.

Still having trouble?

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

Get help on Discord

On this page