SolvedAnti Leave

Posts 1–4 of 4 · Page 1 of 1
Anti Leave
void antileavexd(int i)
{
SV_GameSendServerCommand(i, 0, "s a");
}

here's how i've been doing anti leave basically open the mute menu and loop the fuck out of it. While it doesn't stop players from playing the game as the only keys effected by this are ESC and TAB as far as i know however it's kinda intrusive. Does anyone know how to open the quickmessage menu that sits in the corner?
Quote Originally Posted by xmitti View Post
void antileavexd(int i)
{
SV_GameSendServerCommand(i, 0, "s a");
}

here's how i've been doing anti leave basically open the mute menu and loop the fuck out of it. While it doesn't stop players from playing the game as the only keys effected by this are ESC and TAB as far as i know however it's kinda intrusive. Does anyone know how to open the quickmessage menu that sits in the corner?
Here's how I would do it

void Antileave(int i)
{
SV_GameSendServerCommand(i, 0, "q g_scriptmainmenu blabla");
}

This would stop them from being able to open the menu at all. You just need to do it on a loop for whenever someone connects
Quote Originally Posted by Josh155 View Post
Here's how I would do it

void Antileave(int i)
{
SV_GameSendServerCommand(i, 0, "q g_scriptmainmenu blabla");
}

This would stop them from being able to open the menu at all. You just need to do it on a loop for whenever someone connects
thanks so much i had no idea there was such thing as g_scriptmainmenu
assumed solved.

//closed & solved
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us