Allow Certain Names
#2

pawn Код:
public OnPlayerConnect(playerid)
{        
    if(!strcmp(Name,"[ABC]", true) == 0)
    {
           // Code here
               SendClientMessage(playerid,COLOR_BRIGHTRED,"You Must Have A Tag Contained At The Beginning Of Your Name. Please Change It Blabla. You Will Be Kicked.");
           return Kick(playerid);
    }
}
I guess you could give that a try, it's something similar to what you need but you need to edit it a bit more.
Reply


Messages In This Thread
Allow Certain Names - by ToPhrESH - 07.05.2011, 03:13
Re: Allow Certain Names - by grand.Theft.Otto - 07.05.2011, 03:34
Re: Allow Certain Names - by Bakr - 07.05.2011, 03:44
Re: Allow Certain Names - by ToPhrESH - 07.05.2011, 05:20
Re: Allow Certain Names - by Bakr - 07.05.2011, 05:32
Re: Allow Certain Names - by ToPhrESH - 07.05.2011, 05:34
Re: Allow Certain Names - by Lorenc_ - 07.05.2011, 05:35

Forum Jump:


Users browsing this thread: 2 Guest(s)