11.02.2012, 12:09
How i can make that players can use names like Player and not Firstname_Lastname
This is the code. What i need to change ?
This is the code. What i need to change ?
pawn Код:
new namestring = strfind(plname, "_", true);
if(namestring == -1)
{
SendClientMessage(playerid, COLOR_YELLOW2, "Immigration Department: Your name is not acceptable.");
SendClientMessage(playerid, COLOR_YELLOW2, "Hint: Your name must be in the format Firstname_Lastname.");
Kick(playerid);
return 1;
}