Problem
#5

Quote:
Originally Posted by Edward156
Посмотреть сообщение
Here's one I made, by the way, it's tested and working.

pawn Код:
new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    if(strfind(pName, "_", true) == -1)
    {
        SendClientMessage(playerid,COLOR_WHITE, "Your name must be in this format: Firstname_Lastname Format. (Example: Bob_Jones)");
        Kick(playerid);
        return 1;
    }
i put it at onplayerconnect and the server keeps restarting with no message..
Reply


Messages In This Thread
Problem - by Dan_Barocu - 03.06.2012, 00:30
Re: Problem - by N0FeaR - 03.06.2012, 00:37
Re: Problem - by Dan_Barocu - 03.06.2012, 00:40
Re: Problem - by Edward156 - 03.06.2012, 00:46
Re: Problem - by Dan_Barocu - 03.06.2012, 00:54
Re: Problem - by Edward156 - 03.06.2012, 01:25
Re: Problem - by Dan_Barocu - 03.06.2012, 01:28
Re: Problem - by Ricop522 - 03.06.2012, 01:46
Re: Problem - by Dan_Barocu - 03.06.2012, 10:18

Forum Jump:


Users browsing this thread: 1 Guest(s)