04.01.2012, 11:52
how to make names only avaible with Name_Surname?
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
new namestring = strfind(sendername, "_", true);
if(namestring == -1)
{
SendClientMessage(playerid, COLOR_YELLOW, "Your name must be in the Firstname_Lastname format.");
Kick(playerid);
return 1;
}
else
{