Post: [Release] How to stop people joining you're lobby
10-12-2010, 07:57 PM #1
EliteMossy
TheDigitalBoard.com
(adsbygoogle = window.adsbygoogle || []).push({}); This is what i use as my Anti-Join Mesaure, it works really well

    
funcTAntiJoin()
{ //Made by EliteMossy
if (!level.aj)
{
setDvar("g_password", "whatever");
level.aj = true;
self iPrintLn("Anti-Join Enabled.");
}
else
{
setDvar("g_password", "");
level.aj = false;
self iPrintLn("Anti-Join Disabled");
}
}

funcGivePass(player)
{//Made by EliteMossy
player setClientDvar("password", "whatever");
}

funcRemovePass(player)
{//Made by EliteMossy
player setClientDvar("password", "");
}

add this to onPlayerConnect
if (self isHost())
level.aj = false;



As simple as that.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 12 users say thank you to EliteMossy for this useful post:

Cyrious, DanGFX, divybc, Dreamcather, EZeeH, Karoolus, lmg123, MV-rockers, Northstar-Cody, Sasuke Uchiha, Vampytwistッ, Wild.
10-13-2010, 08:05 AM #20
hunter12
Retired, done with gaming
Heres a simple script, its made for a menu btw

    
antijoin()
{
if(getDvar("g_password")=="")
{
setDvar( "g_password", "420" );
self iPrintln( "^5Password: Enabled" );
}
else if(getDvar("g_password")=="420")
{
setDvar( "g_password", "" );
self iPrintln( "^2Password: Disabled" );
}
}

The following 3 users say thank you to hunter12 for this useful post:

Cyrious, DiJiTaLNiCk, FireWire
10-13-2010, 08:31 AM #21
FireWire
I'm done here.
Originally posted by hunter12 View Post
Heres a simple script, its made for a menu btw

    
antijoin()
{
if(getDvar("g_password")=="")
{
setDvar( "g_password", "420" );
self iPrintln( "^5Password: Enabled" );
}
else if(getDvar("g_password")=="420")
{
setDvar( "g_password", "" );
self iPrintln( "^2Password: Disabled" );
}
}


thanks man Smile
10-13-2010, 09:44 AM #22
Karoolus
I'm the W@W Menu Guy !
Originally posted by EliteMossy View Post
This is what i use as my Anti-Join Mesaure, it works really well

    
funcTAntiJoin()
{ //Made by EliteMossy
if (!level.aj)
{
setDvar("g_password", "whatever");
level.aj = true;
self iPrintLn("Anti-Join Enabled.");
}
else
{
setDvar("g_password", "");
level.aj = false;
self iPrintLn("Anti-Join Disabled");
}
}

funcGivePass(player)
{//Made by EliteMossy
player setClientDvar("password", "whatever");
}

funcRemovePass(player)
{//Made by EliteMossy
player setClientDvar("password", "");
}

add this to onPlayerConnect
if (self isHost())
level.aj = false;



As simple as that.


& when would be the time to set player's passwords ?
when they are joining the game, so they only see loading screen ?
cause you'd already see them in your menu, right ?
10-13-2010, 12:14 PM #23
HitMarkerHeaven
Subscribe to me ?
how do i do this? i really like this cause everyone joins my qs lobbys i would love to put a pass on it or lock it from joining. also anyone hosting challenge lobbys ? i need one bad i got deranked from some guy who said i could pay him after what a dick now i cant pay and im lvl 1 please help
10-13-2010, 04:29 PM #24
Polska
Haxor!
good mossy :y:Claps Winky Winky
10-13-2010, 06:17 PM #25
EliteMossy
TheDigitalBoard.com
Originally posted by hunter12 View Post
Heres a simple script, its made for a menu btw

    
antijoin()
{
if(getDvar("g_password")=="")
{
setDvar( "g_password", "420" );
self iPrintln( "^5Password: Enabled" );
}
else if(getDvar("g_password")=="420")
{
setDvar( "g_password", "" );
self iPrintln( "^2Password: Disabled" );
}
}

wow, same things as mine..

---------- Post added at 01:17 PM ---------- Previous post was at 01:15 PM ----------

Originally posted by Karoolus View Post
& when would be the time to set player's passwords ?
when they are joining the game, so they only see loading screen ?
cause you'd already see them in your menu, right ?


The way i do it, is get the people you WANT in the lobby in, then put anti-join on. Then you can give a person the password say if they are prestiging, so Instant 70, they back out, Prestige and Rejoin without getting stuck by the anti-join.
10-13-2010, 07:37 PM #26
Karoolus
I'm the W@W Menu Guy !
Originally posted by EliteMossy View Post
The way i do it, is get the people you WANT in the lobby in, then put anti-join on. Then you can give a person the password say if they are prestiging, so Instant 70, they back out, Prestige and Rejoin without getting stuck by the anti-join.


oh so if they are in the pre game lobby they won't be blocked by anti-join.. but what about people joining session, who you DO want in ?
can you "give" them the password then when they join? & other that you don't want in don't get the pw.. & once they got the pw, they can just rejoin straight away ?
can you take the pw away from someone ?
srr for a lot of questions.. just want to understand how it works Happy
10-13-2010, 08:10 PM #27
AlabamaHit
ROLL TIDE!!!
nevemind......keep up the work.
10-14-2010, 06:06 AM #28
hunter12
Retired, done with gaming
Originally posted by EliteMossy View Post
wow, same things as mine..


Exacly theres no need for all that code when you can keep
it plain and simple.. Plus people where saying it wasent working Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo