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-04-2011, 01:16 AM #2
omg thats perfect +rep
01-04-2011, 01:18 AM #3
Mr.Azoz
I’m too L33T
hh you are the best

but i don't like derank

):
01-04-2011, 01:24 AM #4
Battler624
I’m too L33T
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]

This will stop them accessing the menu and leaving game[/COLOR][/quote]

is it possible for rank derank? like from rank 70 to rank 1?
01-04-2011, 01:27 AM #5
Shieldsy
I <3 Feeder.
Thankyou so much for all these releases! Happy
01-04-2011, 01:27 AM #6
Why not put it in OnPlayerSpawned :evil:

The following user thanked Macdaddy4sure for this useful post:

CHAOZ
01-04-2011, 01:36 AM #7
w8t4it
Are you high?
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]

This will stop them accessing the menu and leaving game[/COLOR][/quote]

WOW.......

Buuuuuuuuuuut.....

Can someone explain to me without flaming as to why this is something of value????

ClapsDerekTrotter you are a coding beast and I always give credit to your workClaps 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 lobbiesHappy just because I never would want to run into a lobby where the host has no sensibility.:derp: (I HAVE NEVER DERANKED SOMEONE btw:angelSmile 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:

The following 7 users say thank you to w8t4it for this useful post:

Apple Pie, carrasclet, eZi_DuzZiiT, MW2CptPrize, njdevil90, PROPH3CY, TheMagicN
01-04-2011, 01:40 AM #8
DEREKTROTTER
You're Goddamn Right
or from "All Player Menu"

    menu.name[17]="Lock em Up";menu.function[17]=::LockAll;


    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;
}
}


---------- Post added at 08:40 PM ---------- Previous post was at 08:38 PM ----------

Originally posted by w8t4it View Post
WOW.......

Buuuuuuuuuuut.....

Can someone explain to me without flaming as to why this is something of value????

ClapsDerekTrotter you are a coding beast and I always give credit to your workClaps 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 lobbiesHappy just because I never would want to run into a lobby where the host has no sensibility.:derp: (I HAVE NEVER DERANKED SOMEONE btw:angelSmile 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:


if you think that way, why are you even in this thread :bat:

The following user thanked DEREKTROTTER for this useful post:

bcb
01-04-2011, 01:46 AM #9
w8t4it
Are you high?
Originally posted by DEREKTROTTER View Post
or from "All Player Menu"

    menu.name[17]="Lock em Up";menu.function[17]=::LockAll;


    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;
}
}


---------- Post added at 08:40 PM ---------- Previous post was at 08:38 PM ----------



if you think that way, why are you even in this thread :bat:


I mean no disrespect! BUT YOUR DEREKTROTTER!!!!

I had to see what other absolutely amazing thing your up to next.

Listen if I offended you I truly apologize. I will edit-delete my comment if you wish me to....
01-04-2011, 01:47 AM #10
Cain
Tutorial Team Like A Boss
FOR PS3 for this is handy, however if on PC they can always quit the game.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo