s3rp4ntxxx
Known Member
- Messages
- 5
- Reaction score
- 0
- Points
- 101
I am trying to make an antiquit for zombies and I have tried this
and it does not work when I call antiQuit, am I doing something wrong here?
Code:
antiQuit(enabled)
{
if(enabled)
self thread doAntiQuit();
else
self notify("stop_antiquit");
}
doAntiQuit()
{
self endon("disconnect");
self endon("stop_antiquit");
for(;;)
{
foreach(player in level.players)
player maps/mp/gametypes_zm/_globallogic_ui::closemenus();
wait 0.05;
}
}