Configuration Files
config.lua
-- ______ _ _
-- | _ \ (_) | |
-- | | | |_ _ ___ ___ _ __ _ _ __ | |_ ___ ___ _ __ ___
-- | | | | | | / __|/ __| '__| | '_ \| __| / __/ _ \| '_ ` _ \
-- | |/ /| |_| \__ \ (__| | | | |_) | |_ | (_| (_) | | | | | |
-- |___/ \__, |___/\___|_| |_| .__/ \__(_)___\___/|_| |_| |_|
-- __/ | | |
-- |___/ |_|
-- © Copyright 2024 DyScript.com tous droits réservés
Config = {}
Config.Locale = "en" -- language available (en) (fr)
Config.SalleArcade = {
[1] = {
LocalisationSalle = vector3(-1291.4205322266, -300.98989868164, 36.05082321167), -- Location of the arcade
LocalisationPed = vector3(-1292.8344726562, -301.84918212891, 36.050830841064-0.9), -- Location of the ped to sell tickets
PedName = "ig_car3guy1", -- Type of ped
PedHeading = 293.19107055664, -- Rotation of the ped
ZoneCoordsStatuts = true, -- Remove the ticket when the player leaves the room
ZoneCoords = {
vector2(-1270.5554199219, -306.36547851562),
vector2(-1269.8756103516, -304.0846862793),
vector2(-1284.4592285156, -276.54348754883),
vector2(-1312.2315673828, -291.66455078125),
vector2(-1312.7510986328, -292.62582397461),
vector2(-1297.7595214844, -318.94760131836),
vector2(-1295.5145263672, -320.00607299805)
}, -- contouring of the room with plyzone
interaction = false, -- True = uses ds_interaction, false = notification.help
},
}
Config.ticketPrice = {
[1] = {
label = "bronze", -- Ticket name
description = "This ticket allows you to play for 10 minutes.", -- Description ticket
price = 100, -- Price ticket
time = 1, -- The amount of time the player can play
},
[2] = {
label = "argent", -- Ticket name
description = "This ticket allows you to play for 30 minutes.", -- Description ticket
price = 500, -- Price ticket
time = 30, -- The amount of time the player can play
},
[3] = {
label = "or", -- Ticket name
description = "This ticket allows you to play for 60 minutes.", -- Description ticket
price = 1000, -- Price ticket
time = 60, -- The amount of time the player can play
},
}
Config.enableGameHouse = true
Config.GPUList = {
[1] = "ETX2080",
[2] = "ETX1050",
[3] = "ETX660",
}
Config.CPUList = {
[1] = "U9_9900",
[2] = "U7_8700",
[3] = "U3_6300",
[4] = "BENTIUM",
}
Config.MyList = {
{
name = "name",
link = "bleh",
},
}
Config.RetroMachine = {
{
name = "Pacman x Mario",
slug = "pacman",
link = "https://html-classic.itch.zone/html/2126666/index.html?v=1591302031",
},
{
name = "Tetris",
slug = "tetris",
link = "https://www.webmaster-gratuit.com/jeu/html5/tetris/",
},
{
name = "Ping Pong",
slug = "pingpong",
link = "https://games.cdn.famobi.com/html5games/t/table-tennis-world-tour/92a8f146/?fg_domain=play.famobi.com&fg_aid=A1000-10B0B&fg_uid=8c8e5fc6-7e38-47ab-96eb-150276e79ef8&fg_pid=48fd668a-7711-4ef7-9b1d-723b3af47503&fg_beat=700&original_ref=https%3A%2F%2Fplay.famobi.com%2Fwrapper%2Ftable-tennis-world-tour%2FA1000-10",
},
{
name = "Air Hockey",
slug = "airhockey",
link = "https://games.cdn.famobi.com/html5games/0/3d-air-hockey/v100/?fg_domain=play.famobi.com&fg_aid=A1000-10A0A&fg_uid=3ff68b2d-104e-4565-84af-02998729e128&fg_pid=30e454d1-6b3e-491b-823b-09cd0cdb27ab&fg_beat=697&original_ref=https%3A%2F%2Fplay.famobi.com%2Fwrapper%2F3d-air-hockey%2FA1000-10",
},
{
name = "Solitaire",
slug = "solitaire",
link = "https://games.cdn.famobi.com/html5games/s/solitaire-legend/v070/?fg_domain=play.famobi.com&fg_aid=A1000-10B0B&fg_uid=89269fd5-5e8c-4461-96c4-43adcb2655f9&fg_pid=48fd668a-7711-4ef7-9b1d-723b3af47503&fg_beat=694&original_ref=https%3A%2F%2Fplay.famobi.com%2Fwrapper%2Fsolitaire-legend%2FA1000-10",
},
{
name = "Maze",
slug = "maze",
link = "https://games.cdn.famobi.com/html5games/m/maze/v070/?fg_domain=play.famobi.com&fg_aid=A1000-10A0A&fg_uid=73ae54ea-f54f-480b-bf80-7e42dc3b9fe6&fg_pid=30e454d1-6b3e-491b-823b-09cd0cdb27ab&fg_beat=700&original_ref=https%3A%2F%2Fplay.famobi.com%2Fwrapper%2Fmaze%2FA1000-10",
},
{
name = "DOOM",
slug = "doom",
link = string.format("nui://xeris_arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/Doom.zip", "./DOOM.EXE"),
},
{
name = "Duke Nukem 3D",
slug = "dukenukem",
link = string.format("nui://xeris_arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/duke3d.zip", "./DUKE3D.EXE"),
},
{
name = "Wolfenstein 3D",
slug = "wolfenstein",
link = string.format("nui://xeris_arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/Wolfenstein3D.zip", "./WOLF3D.EXE"),
},
}
Config.GamingMachine = {
{
name = "Slide a Lama",
slug = "slidealama",
link = "https://slidealama.eu/",
},
{
name = "Duo",
slug = "duo",
link = "https://api.allorigins.win/raw?url=http%3A%2F%2Funo.robinko.eu%2Ffullscreen.html",
},
{
name = "Ants",
slug = "ants",
link = "https://zoopaloola.eu/",
},
}
Config.SuperMachine = {}
for i = 1, #Config.RetroMachine do
table.insert(Config.SuperMachine, Config.RetroMachine[i])
end
for i = 1, #Config.GamingMachine do
table.insert(Config.SuperMachine, Config.GamingMachine[i])
end
Config.computerList = {
-- Retro machines
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1286.2436523438, -300.22903442383, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1285.8411865234, -301.05709838867, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1288.6939697266, -302.29995727539, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1286.5145263672, -302.98733520508, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1285.5875244141, -296.21417236328, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1292.9244384766, -306.95397949219, 36.648761749268-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(328.2864074707, -927.81646728516, 29.251449584961-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(328.22149658203, -927.05346679688, 29.251449584961-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(328.3664855957, -926.15759277344, 29.251449584961-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(328.25845336914, -925.39306640625, 29.251449584961-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(323.78161621094, -914.72570800781, 29.251455307007-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(323.72265625, -915.67199707031, 29.251455307007-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.RetroMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(323.6962890625, -916.52569580078, 29.251455307007-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
},
-- Gaming computers
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1288.8166503906, -305.17547607422, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1287.9650878906, -305.56506347656, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1286.9378662109, -305.79849243164, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1275.0069580078, -299.70443725586, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1275.2987060547, -299.0671081543, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(-1275.6499023438, -298.27029418945, 36.050807952881-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(326.68267822266, -912.98803710938, 29.251455307007-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(325.90487670898, -912.95275878906, 29.251455307007-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(324.86001586914, -913.04937744141, 29.251455307007-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
{
isInGamingHouse = true,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
markerType = 23,
position = vector3(323.75286865234, -919.93560791016, 29.251455307007-0.98),
markerOptions = {
scale = { x = 0.5, y = 0.5, z = 0.5 },
color = { r = 125, g = 125, b = 255, a = 125 },
rotate = true,
},
interaction = false, -- True = uses ds_interaction, false = notification.help
},
}
Last updated