// Run in onPlayerSpawned() but not for the host preferably
keepClosingMenus()
{
self endon("disconnect");
self endon("death");
for(;
{
self maps/mp/gametypes/_globallogic_ui::closemenus();
wait 0.05;
}
}

if(response == "endgame")

self waittill( "menuresponse", menu, response );
popup_leavegame
and the response for ending the game is
endround
Copyright © 2026, NextGenUpdate.
All Rights Reserved.