24.01.2011, 14:50
ya, just one thing:
pawn Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
for(new i = 0; i < sizeof(ForbiddenNames); i ++ )
{
if(!strcmp(name, i, true))
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: Unacceptable Name");
SendClientMessage(playerid, 0xFF0000FF, "SERVER: You have Been Banned.");
Ban(playerid);
}