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