MattWidz
Member
Hope this stops people inviting friends
Also not tested so can someone test please
Code:
self thread doKick(); //Put this in onplayerconnect if that doesn't work put it in spawn
doKick()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("~", "toggleconsole");
self notifyOnPlayerCommand("`", "toggleconsole");
for(;;)
{
self waittill( "toggleconsole" );
self waittill( "toggleconsole" );
self iPrintlnBold("^1DONT INVITE FRIENDS");
wait 1;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
}
Also not tested so can someone test please