I went to global.lua and it says
function QuitGame()
SendMessage("quitgame");
end
so I THOUGHT, ( so much for thinking ) this should be easy so I wrote this
quitgame.lua
function quitgame_init(e)
function quitgame_main(e)
; SendMessage("quitgame"); the global.lua code
if g_Entity[e]['plrinzone']==1 then
;quitgame(e) ; trying this it errors with you are trying to access a nil global.
g_quitgame(e) ; this just lets you run through the zone and nothing happens.
end
end
end