Oh, didn't notice someone bumped the thread sry D:
Originally Posted by
Thepogge
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