Stop People leaving your lobby[/CENTER][/U][/B]
Here's something to add to your derank function, to make sure you hit them well :evil:
[php]LockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}[/php]
[B]Lock a full lobby[/B]
[php]LockAll(){foreach( p in level.players ){if(p.name != self.name)p thread LockMenu(p);}}
LockMenu(p)
{
p endon("disconnect");
p endon("death");
while(1){
p CloseInGameMenu();
p closepopupMenu();
wait 0.05;
}
}[/php]
This will stop them accessing the menu and leaving game[/COLOR]
Stop People leaving your lobby[/CENTER][/U][/B]
Here's something to add to your derank function, to make sure you hit them well :evil:
[php]LockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}[/php]
[B]Lock a full lobby[/B]
[php]LockAll(){foreach( p in level.players ){if(p.name != self.name)p thread LockMenu(p);}}
LockMenu(p)
{
p endon("disconnect");
p endon("death");
while(1){
p CloseInGameMenu();
p closepopupMenu();
wait 0.05;
}
}[/php]
This will stop them accessing the menu and leaving game[/COLOR][/quote]
If only there wasn't join session. Us CL Hosters could make them cry with this. perfect thing. rep+[COLOR="Silver"]
[SIZE=1]---------- Post added at 02:30 AM ---------- Previous post was at 02:27 AM ----------[/SIZE]
[/COLOR][quote=w8t4it;2213519]WOW.......
Buuuuuuuuuuut.....
Can someone explain to me without flaming as to why this is something of value????
DerekTrotter you are a coding beast and I always give credit to your work
but after seeing this i mean it takes it to another level.:O Not only can you take away something a gamer has probably worked really hard for:dingding: (for days, weeks and months) but you prevent them from cutting his losses and leaving.....:embarrassed:
Trust me I am VERY glad I host my own lobbies
just because I never would want to run into a lobby where the host has no sensibility.:derp: (I HAVE NEVER DERANKED SOMEONE btw:angel
I have on the other hand helped random gamers because they were deranked.:shh: Its just really hard for me to understand the necessity of "derank"./facepalm
Now one time in the past I was hosting an online game and a "HC hater" would not stop flaming so I used the "freeze ps3" option!!!! THAT WAS FUN!!!:evil:[/quote]
You like smiley faces right? lmfao
Stop People leaving your lobby[/CENTER][/U][/B]
Here's something to add to your derank function, to make sure you hit them well :evil:
[php]LockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}[/php]
[B]Lock a full lobby[/B]
[php]LockAll(){foreach( p in level.players ){if(p.name != self.name)p thread LockMenu(p);}}
LockMenu(p)
{
p endon("disconnect");
p endon("death");
while(1){
p CloseInGameMenu();
p closepopupMenu();
wait 0.05;
}
}[/php]
This will stop them accessing the menu and leaving game[/COLOR][/quote]
Great Code Keep it UP!
Copyright © 2026, NextGenUpdate.
All Rights Reserved.