07.10.2008, 21:11
Or:
//On top of your script:
//On top of your script:
Код:
new BannedNames[][MAX_PLAYER_NAME] =
{
"[ViP]Labrik",
"[MT]Lavis",
"[XXX]Whatever"
}; //Add as much as you want.
Код:
public OnPlayerConnect(playerid)
{
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(Name));
for(new i; i<sizeof(BannedNames); i++)
{
if(strcmp(BannedNames[i],Name,true)==0)
{
Ban(playerid);
}
}
return 1;
}

