Post: Need Help for the Perfect Anti Quit
06-30-2017, 06:08 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); The Code Is:

perfectantiquit()
* *{
if (self.antiquit==false)
{
self iPrintln("Test: [^2Enabled^7]");
setMatchFlag("disableIngameMenu", 1);
self.antiquit=true;
}
else
{
self iPrintln("Test: [^1Disabled^7]");
setMatchFlag("disableIngameMenu", 0);
self.antiquiot=false;
}
}

but the problem is when i enabled it on and disabled it then i enabled it agian say that is disabled....
sooo yeah..... Please Help Me for that.
06-30-2017, 06:57 PM #2
Procyon
Gym leader
If you're looking for the perfect anti quit function, this would be it:

    
AntiQuit()
{
level.quit = IsDefined(level.quit) ? level.quit ? 0 : 1 : 1;
self iPrintLn(level.quit ? "Anti Quit ^2Enabled" : "Anti Quit ^1Disabled");
SetMatchFlag("final_killcam", level.quit);
}


I haven't had any problems using this one myself. I'm not sure who originally discovered the function (Might have been Serious-); if anyone knows, please quote me.

The following user thanked Procyon for this useful post:

anthonything
06-30-2017, 08:57 PM #3
Originally posted by Procyon View Post
If you're looking for the perfect anti quit function, this would be it:

    
AntiQuit()
{
level.quit = IsDefined(level.quit) ? level.quit ? 0 : 1 : 1;
self iPrintLn(level.quit ? "Anti Quit ^2Enabled" : "Anti Quit ^1Disabled");
SetMatchFlag("final_killcam", level.quit);
}


I haven't had any problems using this one myself. I'm not sure who originally discovered the function (Might have been Serious-); if anyone knows, please quote me.


okay thank you
06-30-2017, 11:14 PM #4
anthonything
Space Ninja
Originally posted by Procyon View Post
If you're looking for the perfect anti quit function, this would be it:

    
AntiQuit()
{
level.quit = IsDefined(level.quit) ? level.quit ? 0 : 1 : 1;
self iPrintLn(level.quit ? "Anti Quit ^2Enabled" : "Anti Quit ^1Disabled");
SetMatchFlag("final_killcam", level.quit);
}


I haven't had any problems using this one myself. I'm not sure who originally discovered the function (Might have been Serious-); if anyone knows, please quote me.


No me

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo