Ban System / Admin Menu

Posts 16–21 of 21 · Page 2 of 2
how do i actually USE the ban system? like i cant find anywhere how to ban people
It might become handy on MPGHnet.. who knows..
I get like over 20 hackers per game is kinda enoying sitting on the console typing" Status" then kick, how do i get this to work?
Oh, didn't notice someone bumped the thread sry D:
Quote Originally Posted by Thepogge View Post
I get like over 20 hackers per game is kinda enoying sitting on the console typing" Status" then kick, how do i get this to work?
No, you can't, but you can ask their GUID.

Nicely done, also I don't want to ruin, but I have more affective banning script, which is simple to make also.

Code:
banGUID( GUIDString )
{
    if(self.GUID == GUIDString)
		{
		    kick( self getEntityNumber(), "PLATFORM_STEAM_KICK_CHEAT" );
                    wait 0.3; //if you ban much people, you need wait 0.3 so it won't fail
		}
}
use it like this:

Code:
onPlayerSpawned()
{
	self endon("disconnect");

	for(;;)
	{
		self waittill("spawned_player");
		self banGUID("0110000103c2254a"); //PhantomGamers :D
	}
}
Pretty affective, and instead killing the same player like you did, it kicks him and making a free slot for others.

Again, I don't want to ruin.

I use that for trolls that end my game or wallhack
Do not bump threads older than 7 days.

/closed
Posts 16–21 of 21 · Page 2 of 2
This thread is closed for replies.

Similar Threads

Talk with us