01.08.2012, 18:20
pawn Код:
//if(!IsPlayerAdmin(playerid)) <-- add this
if(strcmp(playername, "Dan", true) == 0)
{
return 0;//return 1; put here
}
else
{
SendClientMessage(playerid, COLOR_YELLOW, "Sorry, that name is too short, please change it.");
SendClientMessage(playerid, COLOR_YELLOW, "Please use the Firstname_Lastname format.");
SendClientMessage(playerid, COLOR_YELLOW, "Name Examples: Jhonny_John, Dan_Wilson, Sarah_Raven");
Kick(playerid);
return 1;
}