16.08.2012, 18:54
pawn Код:
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
new namestr = strfind(pname, "_", true);
if(namestr == -1)
{
SendClientMessage(playerid, COLOR_RED, "Your name must be like this Firstname_Lastname");
Kick(playerid);
return 1;
}