uyuyorumstore
um-multicharacter-xviHow-to Guides

Register

How to configure the new character form

Path

register.lua
config > register.lua
return {
    -- first and last name settings
    name = {
        minLength = 2,
        maxLength = 100,
    },

    dob = {
        -- DD-MM-YYYY, example: 31-12-2010
        -- YYYY-MM-DD, example: 2010-12-31
        -- MM-DD-YYYY, example: 12-31-2010
        format = 'DD-MM-YYYY',
        min = 1950,
        max = 2007
    },

    -- cm range, or false to hide height selection
    height = { min = 150, max = 210 },

    backstory = {
        enable = true,  -- Enable/Disable backstory selection (recommended true)
        minLength = 10, -- Minimum length of backstory
        maxLength = 300 -- Maximum length of backstory
    },

    nationalities = {
        'Afghan',
        'Albanian',
        -- ...
        'Zimbabwean'
    },
}
  • dob.min / dob.max: the allowed birth years.
  • nationalities: add or remove names, or false to hide the field.

ESX

Set name.maxLength = 16. The backstory field is not shown on ESX.

Height

The height makes the character taller or smaller in game. Scale settings:

config > main.lua
-- Character height (register screen, config/register.lua) scales the ped, synced to every player.
-- baseHeight: the cm that equals the normal GTA size, per gender (0 male, 1 female).
-- min / max: scale limits; further out animations clip and stretch.
pedScale = {
    enable = true,
    baseHeight = { [0] = 180, [1] = 170 },
    min = 0.85,
    max = 1.15,
    distance = 80.0, -- other players are scaled within this many metres
},

enable = false: everyone has the normal size.

On this page