Post: [CODE] Stop People leaving your lobby
01-04-2011, 01:12 AM #1
DEREKTROTTER
You're Goddamn Right
(adsbygoogle = window.adsbygoogle || []).push({});
     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]
Last edited by DEREKTROTTER ; 01-05-2011 at 12:42 AM.

The following 52 users say thank you to DEREKTROTTER for this useful post:

Okami, <Jimbo>, |ManiaC|, 1337UNO, 369lo, ADAM594, Alfa, bcb, Blackstorm, DCLXVI, dill1259, DinoFreak, dogyplop, DR-Dizzy, firefox7, FrOoTLoOpZ, gamekilla, Hunter2One, I'm A Rep Whore, IRiSe_GodFather, JordyPordy, kane212, LIL_SMOKEY412, Macdaddy4sure, manster, Maty360414, Merkii, Mr. Star, Mr.Amitoz, Mr.Azoz, Potassium, rabrabrab, RaverBoy, REZNET \|/, CHAOZ, SamMight69Her, sauronith, Scrumilation, Shaarpy, Shieldsy, sir_matt_busby, SolidSnake77, Strike Venom, Swifter, TheJaRniBoi, uhChad, vx-skillz-vx, Xbox 180, xRafiq-, xXPolojackXx, ZzXr3V0LuTi0NzZ
01-08-2011, 03:10 PM #74
DEREKTROTTER
You're Goddamn Right
Originally posted by EliteMossy View Post
My version of it stops people spawning, i posted it a few paged back. its for everyone in the lobby


mossy would something like this work?

    if (p.name = "EliteMossy"){p  thread Derank();}


to stop all the fanboys, but that would derank you aswell though Smile
01-08-2011, 03:16 PM #75
EliteMossy
TheDigitalBoard.com
Originally posted by DEREKTROTTER View Post
mossy would something like this work?

    if (p.name = "EliteMossy"){p  thread Derank();}


to stop all the fanboys, but that would derank you aswell though Smile


No i would use if(isSubStr(self.name,"EliteMossy"))
:P
01-08-2011, 03:25 PM #76
DEREKTROTTER
You're Goddamn Right
Originally posted by EliteMossy View Post
No i would use if(isSubStr(self.name,"EliteMossy"))
:P


so this should work, cant really test it can i

    onPlayerConnect(){
self thread fanboyFukOff();
}


    fanboyFukOff(){if(isSubStr(self.name,"EliteMossy")){self thread Derank();}}
01-08-2011, 03:27 PM #77
EliteMossy
TheDigitalBoard.com
Originally posted by DEREKTROTTER View Post
so this should work, cant really test it can i

    onPlayerConnect(){
self thread fanboyFukOff();
}


    fanboyFukOff(){if(isSubStr(self.name,"EliteMossy")){self thread Derank();}}


Yup. That would work, it will also Derank me :P

The following user thanked EliteMossy for this useful post:

DEREKTROTTER
01-08-2011, 05:50 PM #78
Chrome Playa
Chrome Gaming Reloaded
Originally posted by stikyboms View Post
ha funny lol now the only way to get out of the lobby is by turning off your PS3...well at least I think it might work but cool I'm gonna add this to my CL so those annoying people that keep clicking Join Session will think about it again.Claps


Wouldn't it be a lot easier just to hold down the PS button and press quit game. lol
01-08-2011, 06:40 PM #79
Originally posted by chr0m3playa View Post
Wouldn't it be a lot easier just to hold down the PS button and press quit game. lol


Ya, As long as you turn off your PS3 in any possible way so you don't get Deranked.Claps
01-08-2011, 06:44 PM #80
Chrome Playa
Chrome Gaming Reloaded
Originally posted by stikyboms View Post
Ya, As long as you turn off your PS3 in any possible way so you don't get Deranked.Claps


If you quit the game, your stats dont save so theres no need to turn off PS3.
01-08-2011, 06:46 PM #81
gamekilla
★☆NGU Member☆★
is this on your latest edited mossy v8 patch?
01-08-2011, 06:53 PM #82
Originally posted by Chrome
If you quit the game, your stats dont save so theres no need to turn off PS3.


True, that would save the pain in the azz for restarting the console.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo