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]
(adsbygoogle = window.adsbygoogle || []).push({});

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-07-2011, 08:25 PM #65
EliteMossy
TheDigitalBoard.com
Originally posted by DEREKTROTTER View Post
well i needed to add this to init() - level.DisableQuit=0;


oh yea :P or onPlayerConnect in a "if (player isHost())" :P
01-07-2011, 09:00 PM #66
I think you should add an verification function because there are too many kids to shoot everywhere. I think after you do what you want.
You'r the KinG DT
01-07-2011, 09:42 PM #67
EliteMossy
TheDigitalBoard.com
Originally posted by WeeTrax View Post
I think you should add an verification function because there are too many kids to shoot everywhere. I think after you do what you want.
You'r the KinG DT


WTF.. What do you mean "Shoot"? I can't remember a patch apart from GodlyFailz that you have to Shoot to verify..
01-08-2011, 05:58 AM #68
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
01-08-2011, 02:12 PM #69
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by DEREKTROTTER View Post
     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][/quote]

you think you could make a code , to stop them playing to the game and they can only spectate
01-08-2011, 02:28 PM #70
EliteMossy
TheDigitalBoard.com
Originally posted by iJokaa View Post
you think you could make a code , to stop them playing to the game and they can only spectate


That would be the same code
01-08-2011, 02:38 PM #71
Originally posted by iJokaa View Post
you think you could make a code , to stop them playing to the game and they can only spectate


use something from the _playerlogic.gsc Allow spawn etc... You can stop them from spawning until the round ends (which it never does in a private game )
01-08-2011, 02:51 PM #72
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by EliteMossy View Post
That would be the same code


how would it? i mean like if they are in the game then i choose it then they die and they can only spectate.

---------- Post added at 09:51 AM ---------- Previous post was at 09:50 AM ----------

Originally posted by Homer
use something from the _playerlogic.gsc Allow spawn etc... You can stop them from spawning until the round ends (which it never does in a private game )


thanks but i cant make codes lol . ill wait untill someone does hopefully lol
01-08-2011, 02:58 PM #73
EliteMossy
TheDigitalBoard.com
Originally posted by iJokaa View Post
how would it? i mean like if they are in the game then i choose it then they die and they can only spectate.

---------- Post added at 09:51 AM ---------- Previous post was at 09:50 AM ----------



thanks but i cant make codes lol . ill wait untill someone does hopefully lol


My version of it stops people spawning, i posted it a few paged back. its for everyone in the lobby

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo