[Ajuda] ~~> loose indentation
#3

pawn Код:
if(strcmp(cmdtext, "/nickoff", true) == 0)
{
    for(new i; i < MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i))
            ShowPlayerNameTagForPlayer(playerid, i, 0);
        SendClientMessage(playerid, 0xFF9900AA, "(INFO): Nicks desativados !");
        GameTextForPlayer(playerid,"~w~Nicks ~r~Desativados",1000,6);

        gNameTags[playerid] = 0;
    }
    return 1;
}


if(strcmp(cmdtext, "/nickon", true) == 0)
{
    for(new i; i < MAX_PLAYERS; i++)
        if(IsPlayerConnected(i))
            ShowPlayerNameTagForPlayer(playerid, i, 1);
    SendClientMessage(playerid, 0xFF9900AA, "(INFO): Nicks ativados !");
    GameTextForPlayer(playerid,"~w~Nicks ~g~Ativado",1000,6);
    gNameTags[playerid] = 1;
}


return 1;
}
Reply


Messages In This Thread
[Ajuda] ~~> loose indentation - by .Skool_. - 05.11.2011, 19:37
Re: AVISOS: ~~> loose indentation - by Enderman - 05.11.2011, 19:50
Re: AVISOS: ~~> loose indentation - by Kostas' - 05.11.2011, 19:51
Re: AVISOS: ~~> loose indentation - by .Skool_. - 05.11.2011, 19:55

Forum Jump:


Users browsing this thread: 1 Guest(s)