From 202765be3737589194678abcea2f22a177a0b92a Mon Sep 17 00:00:00 2001 From: Annalouu <112778590+Annalouu@users.noreply.github.com> Date: Thu, 7 Dec 2023 18:56:59 +0100 Subject: [PATCH 1/2] Fixed Duke, Doom and added wolfenstein3D --- shared/sh_main.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/shared/sh_main.lua b/shared/sh_main.lua index d7964a7..e59e0e3 100644 --- a/shared/sh_main.lua +++ b/shared/sh_main.lua @@ -59,12 +59,17 @@ Config.games = { }, { label = 'Duke Nukem 3D', - args = string.format("nui://qb-arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/duke3d.zip", "./DUKE3D.EXE"), + args = string.format("nui://mtc-arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/duke3d.zip", "./DUKE3D.EXE"), icon = 'gun' }, { label = 'DOOM', - args = string.format("nui://qb-arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/Doom.zip", "./DOOM.EXE"), + args = string.format("nui://mtc-arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/Doom.zip", "./DOOM.EXE"), + icon = 'gun' + }, + { + label = 'Wolfenstein 3D', + args = string.format("nui://mtc-arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/Wolfenstein3D.zip", "./WOLF3D.EXE"), icon = 'gun' } } From 042c0ede3ac42dba36ca87a331b86a57ce3374be Mon Sep 17 00:00:00 2001 From: Annastasia <112778590+Annalouu@users.noreply.github.com> Date: Thu, 7 Dec 2023 19:03:10 +0100 Subject: [PATCH 2/2] Update cl_target.lua --- client/cl_target.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/cl_target.lua b/client/cl_target.lua index bb18033..555fc46 100644 --- a/client/cl_target.lua +++ b/client/cl_target.lua @@ -1,5 +1,4 @@ -local models = {2303605526, 3756961026, 1301167921, 2793409781, 1876055757, 2792647630, 398786301, 3067040863, 568464183, 3171514707, 3899793496, 974001996, 4206216415, 1457191833, 3054877820, 815879628, 4129005630, 3325005861, 900099857, 543442061, 372224036, 970154536} - +local models = {-88750881, -395173800, -538006270, -1501557515, 2303605526, 3756961026, 1301167921, 2793409781, 1876055757, 2792647630, 398786301, 3067040863, 568464183, 3171514707, 3899793496, 974001996, 4206216415, 1457191833, 3054877820, 815879628, 4129005630, 3325005861, 900099857, 543442061, 372224036, 970154536} local function requireToken() if not lib.callback.await('qb-arcade:server:hasToken') then @@ -43,4 +42,4 @@ AddEventHandler('onResourceStop', function(resource) exports['qb-target']:RemoveTargetModel(v, Lang:t('target.special')) end end -end) \ No newline at end of file +end)