Warnings
#4

i got an anti name if i put it at onplayerconnect i get Connected then restarting cant connect tht happens if i have name even with _ FirstName_LastName

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;
                    } 
EDIT:no warnings but cant work..
Reply


Messages In This Thread
Warnings - by Akcent_Voltaj - 16.08.2012, 17:30
Re: Warnings - by Naruto_Emilio - 16.08.2012, 17:33
Re: Warnings - by FalconX - 16.08.2012, 17:41
Re: Warnings - by Akcent_Voltaj - 16.08.2012, 17:47

Forum Jump:


Users browsing this thread: 2 Guest(s)