βš™οΈConfiguration

Check the standard Config!

config.lua
S_CL = {}

S_CL.SpawnCoords = vector3(-1139.2673339844, -2806.7807617188, 27.708736419678) -- Default spawn coordinates
S_CL.Language = "en" -- Set default language to German
S_CL.notifys = "sservice"
S_CL.Settings = {
    inSafezone = false, -- players have to be in the safezone to use the commands / keys
    spectateExitKey = 38, -- https://docs.fivem.net/docs/game-references/controls/
    key = {
        keyCode = "F2", -- https://docs.fivem.net/docs/game-references/controls/
        enable = true
    },
    command = {
        name = "immigration_ipad",
        enable = true
    }
}

S_CL.Safezone = {
    maxRejections = 3, -- Maximum number of rejections for trying to escape the safezone / bubble
    rejectionType = "kick", -- Type of rejection: "kick" or "ban" or "nothing"
    bubble = {
        -- https://docs.fivem.net/natives/?_0x799017F9E3B10112
        radius = 100.0,
        color = {r = 255, g = 255, b = 255, a = 0.5}
    }
}

S_CL.InformSettings = {
    enable = true, -- Enable or disable the information settings
    requireMinimumOfficers = true, -- Enable or disable the requirement of a maximum number of officers
    maximumOfficerCount = 1, -- Marker/Ped is shown only while officer count is less than this value
    type = "ped", -- marker or ped
    interaction = "Press ~INPUT_CONTEXT~ to inform an immigration officer.",
    interactRadius = 1.5,
    keyCode = 38,
    coords = vector3(-1092.1124267578, -2827.5295410156, 27.708730697632),
    marker = {
        type = 2, -- https://docs.fivem.net/docs/game-references/markers/
        size = {1.0, 1.0, 1.0},
        color = {r = 255, g = 255, b = 255, a = 100},
        bobUpAndDown = true,
        faceCamera = false,
        rotate = true
    },
    ped = {
        model = "a_m_m_prolhost_01", -- https://docs.fivem.net/docs/game-references/ped-models/
        heading = 139.54960632324
    }
}

S_CL.Actions = {
    openSkinMenu = function()
        TriggerEvent("esx_skin:openSaveableMenu") -- your custom trigger
    end,
    resetChar = function()
        TriggerEvent("s_einreise:sservice:resetSkin") -- your custom trigger
    end,
    ban = function(targetId, reason)
        TriggerServerEvent("NAME_BAN", targetId, reason) -- your custom trigger
    end
}

S_CL.Outfit = {
    male = {
        {
            key = "tshirt_1",
            value = 6
        },
        {
            key = "tshirt_2",
            value = 0
        },
        {
            key = "torso_1",
            value = 11
        },
        {
            key = "torso_2",
            value = 0
        },
        {
            key = "arms_1",
            value = 11
        },
        {
            key = "arms_2",
            value = 0
        },
        {
            key = "pants_1",
            value = 24
        },
        {
            key = "pants_2",
            value = 1
        },
        {
            key = "shoes_1",
            value = 7
        },
        {
            key = "shoes_2",
            value = 0
        },
        {
            key = "glasses_1",
            value = 5
        },
        {
            key = "glasses_2",
            value = 1
        },
        {
            key = "chain_1",
            value = 125
        },
        {
            key = "chain_2",
            value = 0
        },
        {
            key = "bproof_1",
            value = 0
        },
        {
            key = "bproof_2",
            value = 0
        }
    },
    female = {
        {
            key = "tshirt_1",
            value = 6
        },
        {
            key = "tshirt_2",
            value = 0
        },
        {
            key = "torso_1",
            value = 11
        },
        {
            key = "torso_2",
            value = 0
        },
        {
            key = "arms_1",
            value = 11
        },
        {
            key = "arms_2",
            value = 0
        },
        {
            key = "pants_1",
            value = 24
        },
        {
            key = "pants_2",
            value = 1
        },
        {
            key = "shoes_1",
            value = 7
        },
        {
            key = "shoes_2",
            value = 0
        },
        {
            key = "glasses_1",
            value = 5
        },
        {
            key = "glasses_2",
            value = 1
        },
        {
            key = "chain_1",
            value = 125
        },
        {
            key = "chain_2",
            value = 0
        },
        {
            key = "bproof_1",
            value = 0
        },
        {
            key = "bproof_2",
            value = 0
        }
    }
}

If you find any errors in the configuration and you can't fix them yourself, open a ticket!

Last updated