This is not going to be pretty
#7

Quote:
Originally Posted by randomkid88
Посмотреть сообщение
This really depends on how smart the guy/girl is, but you could have the server automatically kick the person by name. It appears he always comes in with "Unknown" in his name, so you could just try this under OnPlayerConnect:
pawn Код:
public OnPlayerConnect(playerid)
{
   new Name[24];
   GetPlayerName(playerid, Name, sizeof(Name));
   if(strfind(Name, "Unknown", true) != -1)
   {
       Kick(playerid); // could also be replaced with Ban(playerid)
    }
    // rest of GM code
}
He actually comes with "Unknow" without the n so remove the n in the script
Reply


Messages In This Thread
This is not going to be pretty - by fubar - 26.10.2010, 20:33
Re: This is not going to be pretty - by randomkid88 - 27.10.2010, 14:45
Re: This is not going to be pretty - by fubar - 27.10.2010, 18:48
Re: This is not going to be pretty - by fubar - 27.10.2010, 19:42
Re: This is not going to be pretty - by DarrenReeder - 27.10.2010, 20:13
Re: This is not going to be pretty - by randomkid88 - 27.10.2010, 21:20
Re: This is not going to be pretty - by Noss* - 27.10.2010, 21:56
Re: This is not going to be pretty - by randomkid88 - 27.10.2010, 22:16
Re: This is not going to be pretty - by fubar - 29.10.2010, 22:05

Forum Jump:


Users browsing this thread: 2 Guest(s)