Customization
We provide advanced and flexible set of customization options:
Basic options
-------------------------
-- Basic Configuration --
-------------------------
Config.Fee = 100
Config.MinimumParticipants = 3
Config.StartPoint = vec3(2105.25, 3348.82, 46.44)
Config.StartPointEnabled = true
Config.GameRounds = 3
Config.GameRoundTimeForSpin = {15000, 20000, 30000, 40000}
Config.GameRoundTimeForRoom = 15000
Config.MinPlayersPerRoom = 1
Config.MaxPlayersPerRoom = 5
Config.Locale = "en"
Config.GameName = "Mingle Game"
Config.StartPointSize = 7.5
Config.StartPointColor = {128, 0, 128, 125}
Config.StartPointBlip = {
Id = 1,
Color = 7,
Scale = 0.75,
Enabled = true,
}
Config.ShowWinnerMessageGlobally = false
----------------------
-- Dance Animations --
----------------------
Config.DanceAnimations = {
{"anim@amb@nightclub@dancers@solomun_entourage@", "mi_dance_facedj_17_v1_female^1"},
{"anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", "high_center"},
{"anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", "high_center_up"},
{"anim@amb@nightclub@dancers@crowddance_facedj@hi_intensity", "hi_dance_facedj_09_v2_female^1"},
{"anim@amb@nightclub@dancers@crowddance_facedj@hi_intensity", "hi_dance_facedj_09_v2_female^3"},
{"anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", "high_center_up"},
{"anim@amb@nightclub@mini@dance@dance_solo@female@var_a@", "low_center"},
}
--------------------------
-- Teleport Coordinates --
--------------------------
Config.SpawnCoords = {
GameStarted = {
vec3(2057.11, 3393.73, -129.97),
},
GameSuccess = {
vec3(2123.95, 3298.85, 56.55),
},
GameFailed = {
vec3(2065.04, 3285.5, 43.89),
}
}
--------------------
-- 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},
},
}
}
-------------------
-- Target system --
-------------------
Config.DoorInteractionDistance = 1.25
Config.EnableInteractionTargetScript = false
Config.TargetScriptName = SCRIPT_INTERACT_TARGET -- SCRIPT_OX_TARGET / SCRIPT_QB_TARGET/ SCRIPT_INTERACT_TARGET
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},
},
}
-----------------
-- NPC options --
-----------------
Config.EnablePlayerNPCs = true
Config.PlayerNPCSpawnDelay = 2500
---------------------------
-- Game Location Options --
---------------------------
Config.CarouselCoords = vec3(2059.99, 3373.80, -130.97)
Config.GunHash = `WEAPON_SNIPERRIFLE`
Config.GunCoords = {
vec3(2059.99, 3373.80, -127.00),
vec3(2058.99, 3373.80, -127.00),
vec3(2057.99, 3373.80, -127.00),
vec3(2056.99, 3373.80, -127.00),
vec3(2055.99, 3373.80, -127.00),
}
Config.ZoneCoords = {
GameCenter = vec3(2060.22, 3373.81, -129.37),
GameRadius = 40.0,
}
----------------------
-- Cutscene Options --
----------------------
Config.Cutscene = {
Enabled = true,
Sequence = {
{
position = vec3(2060.06, 3373.95, -125.26),
rotation = { pitch = -90.0, roll = 0.0, yaw = 0.0 },
transitionTime = 5000,
waitTime = 0
},
{
position = vec3(2060.06, 3373.95, -117.26),
rotation = { pitch = -90.0, roll = 0.0, yaw = 180.0 },
transitionTime = 3000,
waitTime = 0
},
{
position = vec3(2043.55, 3388.42, -128.27),
rotation = { pitch = 0.0, roll = 0.0, yaw = -130.0 },
transitionTime = 3000,
waitTime = 0
},
{
position = vec3(2044.65, 3360.17, -128.27),
rotation = { pitch = 0.0, roll = 0.0, yaw = -50.0 },
transitionTime = 0,
waitTime = 0
},
}
}
Last updated