Anti_Name[problem]
#1

i made a cmd and it doesent work..if i go on server it says connected and server is restarting i put it at onplyerconnected

pawn Код:
if(AntiName == 1)
                    {
                        if(namestring == -1)
                        {
                            format(string, sizeof(string),"%s, a primit Kick de la Name_BOT!",name);
                            SendClientMessageToAll(COLOR_RED, string);
                            SendClientMessage(playerid, COLOR_YELLOW, "Ministru: Nu iti putem accepta numele.");
                            SendClientMessage(playerid, COLOR_YELLOW, "Hint: Numele tau trebuie sa fie in format Nume_Prenume.");
                            format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Anticheat Has Kicked %s for Invalid Name",d,m,y,h,mi,s,name);
                            KickLog(string);
                            Kick(playerid);
                            return 1;
                        }
                    }
                    if(IsPlayerNPC(playerid))
                    {
                        SpawnPlayer(playerid);
                        return 1;
                    }
Reply


Messages In This Thread
Anti_Name[problem] - by Dan_Barocu - 01.06.2012, 14:01
Re: Anti_Name[problem] - by TzAkS. - 01.06.2012, 14:44
Re: Anti_Name[problem] - by Dan_Barocu - 01.06.2012, 15:14
Re: Anti_Name[problem] - by ViniBorn - 01.06.2012, 15:19
Re: Anti_Name[problem] - by milanosie - 01.06.2012, 15:20
Re: Anti_Name[problem] - by Dan_Barocu - 01.06.2012, 22:10
Re: Anti_Name[problem] - by iggy1 - 01.06.2012, 22:19
Re: Anti_Name[problem] - by Dan_Barocu - 02.06.2012, 12:25
Re: Anti_Name[problem] - by Dan_Barocu - 02.06.2012, 13:38

Forum Jump:


Users browsing this thread: 4 Guest(s)