Customization

We provide advanced and flexible set of customization options:

Basic options
-------------------------
-- Basic Configuration --
-------------------------
Config.Fee = 500
Config.StartPoint = vec3(2078.41, 3322.25, 45.47)
Config.StartPointEnabled = true
Config.GameDuration = 120000 
Config.GameStartInterval = 30000
Config.Locale = "en"
Config.GameName = "The Glass Stepping Stones"
Config.StartPointSize = 7.5
Config.StartPointColor = {255, 122, 0, 125}
Config.StartPointBlip = {
    Id = 1,
    Color = 5,
    Scale = 0.75,
    Enabled = true,
}
Config.ShowWinnerMessageGlobally = false
Config.DisableCollisionsBetweenPlayers = true

----------
-- Song --
----------
Config.EnableSong = true
Config.SongVolume = 0.1

--------------------------
-- Teleport Coordinates --
--------------------------
Config.SpawnCoords = {
    GameStarted = {
        vec3(-1845.72, 9504.39, 254.29),
    },
    GameSuccess = {
        vec3(2076.26, 3386.62, 46.46),
    },
    GameFailed = {
        vec3(2096.26, 3386.62, 46.46),
    }
}

--------------------
-- Player Clothes --
--------------------
Config.PlayerOutfits = {
    ["male"] = {
        {
            -- pants_1, pants_2
            [4] = {5, 0},
             -- shoes_1, shoes_2
            [6] = {43, 0},
            -- tshirt_1, tshirt_2
            [8] = {0, 1},
            -- torso_1, torso_2
            [11] = {74, 0},
            -- mask_1, mask_2
            [1] = {0, 0},
            -- arms, arms_2
            [3] = {0, 0},
            -- bags_1, bags_2
            [5] = {0, 0},
            -- chain_1, chain_2
            [7] = {0, 0},
            -- bproof_1, bproof_2
            [9] = {0, 0},
            -- decals_1, decals_2
            [10] = {0, 0},
        },
    },
    ["female"] = {
        {
            [4] = {66, 0},
            [6] = {80, 0},
            [8] = {2, 0},
            [11] = {147, 0},
            [1] = {0, 0},
            [3] = {0, 0},
            [5] = {0, 0},
            [7] = {0, 0},
            [9] = {0, 0},
            [10] = {0, 0},
        },
    }
}

Advanced options
-------------------------
-- Player Tick Options --
-------------------------
Config.EnableGodmode = true
Config.InGameTick = function(playerPed)
    DisableControlAction(2, 37, true) -- Disable Weaponwheel
    DisablePlayerFiring(playerPed, true) -- Disable firing
    DisableControlAction(0, 45, true) -- Disable reloading
    DisableControlAction(0, 24, true) -- Disable attacking
    DisableControlAction(0, 263, true) -- Disable melee attack 1
    DisableControlAction(0, 140, true) -- Disable light melee attack (r)
    DisableControlAction(0, 142, true) -- Disable left mouse button (pistol whack etc)
end

---------------------
-- Clothes options --
---------------------
Config.AllowCustomPeds = false
Config.ChangePlayerSkin = true
Config.KeepGameClothesForWinners = true
Config.UsePedModelsInsteadOutfitsForPlayers = false
Config.PlayerPeds = {"u_m_y_zombie_01", "u_m_y_mani", "u_m_y_juggernaut_01", "u_m_m_streetart_01", "ig_rashcosvki", "ig_claypain"}
Config.UsePedModelsInsteadOutfitsForGuards = false
Config.GuardPeds = {"hc_gunman", "hc_driver", "s_m_y_swat_01"}
Config.GuardOutfits = {
    {
        [1] = {4, 2},
        [4] = {19, 0}, 
        [3] = {16, 0},
        [11] = {65, 0},
        [6] = {25, 0},
        [8] = {15, 0},
    },
}

---------------------------
-- Game Location Options --
---------------------------
Config.ZoneCoords = {
    GameBorders = {
        vec2(-1825.78, 9506.33),
        vec2(-1842.54, 9498.47),
        vec2(-1894.75, 9507.11),
        vec2(-1886.19, 9584.69),
        vec2(-1810.84, 9578.91),
        vec2(-1795.95, 9527.65),
        vec2(-1825.56, 9498.28)
    },
    FinishBorders = {
        vec2(-1845.64, 9561.54),
        vec2(-1846.83, 9562.42),
        vec2(-1847.21, 9570.13),
        vec2(-1845.61, 9570.11),
        vec2(-1843.10, 9570.08),
        vec2(-1839.79, 9570.00),
        vec2(-1839.32, 9563.60),
        vec2(-1840.80, 9561.59)
    },
    FinishBordersMinZ = 253.28,
    FinishBordersMaxZ = 255.35,

    DeathZone = {
        vec2(-1825.78, 9506.33),
        vec2(-1842.54, 9498.47),
        vec2(-1894.75, 9507.11),
        vec2(-1886.19, 9584.69),
        vec2(-1810.84, 9578.91),
        vec2(-1795.95, 9527.65),
        vec2(-1825.56, 9498.28)
    },
    DeathZoneMinZ = 222.69,
    DeathZoneMaxZ = 243.69,
}

Last updated