[PEDIDO]Comando /limparchat ♥♥♥
#6

Quote:
Originally Posted by Gabriel_Halls
Посмотреть сообщение
pawn Код:
if(strcmp(cmd, "/limpchat", true) == 0 || strcmp(cmd, "/lc", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] < 1336)
        {
            SendClientMessage(playerid, COLOR_GREY, "Voce nгo e admin!");
            return 1;
        }
        if(admtrampando[playerid] < 1)
        {
            SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/trabalhar)");
            return 1;
        }
        for(new i=0; i<MAX_PLAYERS; i++)
        {
        ClearChatbox(i, 100);
        }
        GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
        format(string, sizeof(string), "~y~%s ~n~~p~Resetou o Chat!",playername);
        GameTextForAll(string, 5000, 1);
        return 1;
    }
    return 1;
}
Dificil?empreзгo sua
olha ai so copia e cola veio ate com o sistem de trampa parabens halls(halls?? adoro kk)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)