Skip to content

Commit

Permalink
Merge pull request #1 from Annalouu/main
Browse files Browse the repository at this point in the history
Fixed Duke, Doom and added wolfenstein3D and added all the machine hashes
  • Loading branch information
Mitchel authored Dec 18, 2023
2 parents 3d7b1b7 + 042c0ed commit 14b38d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 2 additions & 3 deletions client/cl_target.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -43,4 +42,4 @@ AddEventHandler('onResourceStop', function(resource)
exports['qb-target']:RemoveTargetModel(v, Lang:t('target.special'))
end
end
end)
end)
9 changes: 7 additions & 2 deletions shared/sh_main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,17 @@ Config.games = {
},
{
label = 'Duke Nukem 3D',
args = string.format("nui://qb-arcade/html/msdos.html?url=%s&params=%s", "https://www.retrogames.cz/dos/zip/duke3d.zip", "./DUKE3D.EXE"),
args = string.format("nui://mtc-arcade/html/msdos.html?url=%s&params=%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&params=%s", "https://www.retrogames.cz/dos/zip/Doom.zip", "./DOOM.EXE"),
args = string.format("nui://mtc-arcade/html/msdos.html?url=%s&params=%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&params=%s", "https://www.retrogames.cz/dos/zip/Wolfenstein3D.zip", "./WOLF3D.EXE"),
icon = 'gun'
}
}
Expand Down

0 comments on commit 14b38d9

Please sign in to comment.