Misc fixes (#233)

* fix(spawnmanager): correct native arguments and enable ped model check

Signed-off-by: Mathu-lmn <[email protected]>

* fix(mapmanager): restrict the gametype command

Signed-off-by: Mathu-lmn <[email protected]>

* fix(example-loadscreen): handle unknown init types such as INIT_CORE

Signed-off-by: Mathu-lmn <[email protected]>

---------

Signed-off-by: Mathu-lmn <[email protected]>
This commit is contained in:
Mathu-lmn
2026-09-23 20:59:47 +02:00
committed by GitHub
parent 478ba4a47d
commit 2935a6ba1d
3 changed files with 14 additions and 19 deletions
@@ -264,7 +264,7 @@ RegisterCommand("gametype", function(source, args)
end
changeGameType(args[1])
print('gametype ' .. args[1] .. "\n")
end)
end, true)
function getCurrentGameType()
return currentGameType