i need help to change player name format
#2

This can help you put these codes in OnPlayerConnect or after register or any thing you want :

PHP код:
            new sendername[MAX_PLAYER_NAME];
            
GetPlayerName(playeridsendernamesizeof(sendername));
            new 
namestring strfind(sendername"_"true);
            if(
namestring == -1)
            {
                
SendClientMessage(playeridCOLOR_YELLOW"Your name must be in the Firstname_Lastname format - Please re-log with a name such as Amir_AB");
                
Kick(playerid);
                return 
1;
            } 
Reply


Messages In This Thread
i need help to change player name format - by IbeatS - 10.01.2014, 14:10
Re: i need help to change player name format - by amirab - 10.01.2014, 15:16
Re: i need help to change player name format - by IbeatS - 11.01.2014, 05:31
Re: i need help to change player name format - by SyntaxQ - 11.01.2014, 05:40
Re: i need help to change player name format - by IbeatS - 11.01.2014, 08:15
Re: i need help to change player name format - by SyntaxQ - 11.01.2014, 08:20
Re: i need help to change player name format - by IbeatS - 11.01.2014, 11:25
Re: i need help to change player name format - by IbeatS - 11.01.2014, 11:29
Re: i need help to change player name format - by newbie scripter - 11.01.2014, 11:45
Re: i need help to change player name format - by 1FreeHost - 11.01.2014, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)