⚙️ Configuration

Configuration guide of MulticharacterV2 Script.

Locales

--[[
    There are currently 2 languages that support our script, these are;

    - en (English)
    - tr (Turkish)
    By default ‘en’ is used, if you want us to support your language, send us the files via our discord server!
]]

Config.Locale = 'en'

Default Slots

    ['DefaultSlot'] = 1, -- default slot for the character

Default Settings

    ['DefaultSpawn'] = { -- default spawn for the character
        ['Single'] = 1,
        ['Random'] = false,
    },

Animation Menu

    ['Animations'] = {
        ['Enable'] = false,
        ['Single'] = 1,
        ['Random'] = false,
        ['Play'] = function(emoteName)
            Wait(100)
            local animMenu = Config.AnimationMenu
            if animMenu == 'night_emotes' then
                exports["night_emotes"]:EmoteCommand(emoteName)
            elseif animMenu == 'scully' then
                exports.scully_emotemenu:playEmoteByCommand(emoteName)
            else
                ExecuteCommand(('e %s'):format(emoteName))
            end
        end,
        ['Stop'] = function()
            local animMenu = Config.AnimationMenu
            if animMenu == 'night_emotes' then
                exports["night_emotes"]:EmoteCancel(true)
            elseif animMenu == 'scully' then
                exports.scully_emotemenu:cancelEmote()
            else
                ClearPedTasks(PlayerPedId())
            end
        end
    },

Starter Items

    ['StarterItems'] = {
        { item = 'phone',          amount = 1 },
        { item = 'id_card',        amount = 1 },
        { item = 'driver_license', amount = 1 },
    },

Apartment Start


Config.ApartmentStart = false

Character Delete Button

    ['DeleteButtonAvaible'] = false,

Background Music

    ['MusicSettings'] = {
        ['Enable'] = true,
        ['Path'] = 'bgmusic.mp3',
        ['Volume'] = 0.1
    },

Last updated