Maxim Size Name
#2

pawn Код:
public OnPlayerConnect(playerid) {
    new n[MAX_PLAYER_NAME+1];
    GetPlayerName(playerid, n);
    if(!(4 <= strlen(n) <= 20)) {
        SendClientMessage(playerid, -1, "NOPE");
        return Kick(playerid);
    }
    return 1;
}
Reply


Messages In This Thread
Maxim Size Name - by TuTh - 04.03.2013, 19:09
Re: Maxim Size Name - by Misiur - 04.03.2013, 19:16
Re: Maxim Size Name - by Scenario - 04.03.2013, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)