Anti-Name Issue!
#4

Quote:
Originally Posted by Sandiel
Посмотреть сообщение
pawn Код:
if(PlayerInfo[playerid][pAdmin] == 0)
    {
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, sizeof(pName));
        if(strfind(pName, "_", true) == -1)
        {
            SendClientMessage(playerid, COLOR_YELLOW, "You must have a name following the Firstname_Lastname format. You got kicked as a result!");
            Kick(playerid);
        }
    }
Change "pAdmin" into your admin variable.
it works but i dont get a kick and a Message..that its my name..
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: 2 Guest(s)