Anti-Name Issue!
#2

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;
}
Reply


Messages In This Thread
Anti-Name Issue! - by Akcent_Voltaj - 16.08.2012, 18:46
Re: Anti-Name Issue! - by lamarr007 - 16.08.2012, 18:54
Re: Anti-Name Issue! - by Sandiel - 16.08.2012, 18:55
Re: Anti-Name Issue! - by Akcent_Voltaj - 16.08.2012, 19:13
Re: Anti-Name Issue! - by Sandiel - 16.08.2012, 19:15
Re: Anti-Name Issue! - by Akcent_Voltaj - 16.08.2012, 19:25
Re: Anti-Name Issue! - by Sandiel - 16.08.2012, 19:28
Re: Anti-Name Issue! - by [DOG]irinel1996 - 16.08.2012, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)