Can someone tell me whats wrong here? 4 Errors.
#2

pawn Код:
new i = 0;
while(i < sizeof(arrForbiddenNames))
{ // you forgot this
    if(strcmp(arrForbiddenNames[i++], GetPlayerNameExt(playerid), true) == 0)
    {
        SetPlayerName(playerid, "InvalidNick");
        SendClientMessage(playerid, COLOR_RED, "You have been kicked & logged for using a forbidden username.");
        Kick(playerid);
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)