Anti-Name Issue!
#1

i have an anti-name but it doesent work it workes for everybody its supposed to work only the guys that dont have FirstName_LastName!and the server restarts at onplayerconnect please help!

PHP код:
                new pname[MAX_PLAYER_NAME];
                      new 
namestr strfind(pname"_"true);
                    if(
namestr == -1)
                    {
                    
GetPlayerName(playeridpnamesizeof(pname));
                    
SendClientMessage(playeridCOLOR_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)