[Ajuda] COMANDO
#6

...
Код:
if(strcmp(cmd, "/gmx", true) == 0)
    {
        if(Player[playerid][pAdmin] >= 6)
        {
            if(Contandogmx > 0) return SendClientMessage(playerid, Cinza, "[ERRO] O servidor jб estб sendo reiniciado.");
            format(string, sizeof(string), "[AVISO] O ADMINISTRADOR '%s' ESTБ REINICIANDO O SERVIDOR, NГO SAIAM !!", getPName(playerid));
            SendClientMessageToAll(COR_CV,string);
            new str[100];
			GetPlayerName(playerid, str, sizeof(str));
			format(str, sizeof(str), "~b~%s: ~w~SERVIDOR SENDO REINICIADO!", str);
			GameTextForAll(str, 5000, 3);
            Contandogmx = 6;
            SetTimer("ReiniciandoEm", 1000, true);
        }
        else SendClientMessage(playerid, 0xD8D8D8FF, "[ERRO] Vocк nгo tem permissгo!");
        return 1;
    }
Reply


Messages In This Thread
COMANDO - by henriqueTL - 14.01.2017, 16:53
Re: COMANDO - by RodrigoMSR - 14.01.2017, 17:18
Re: COMANDO - by henriqueTL - 14.01.2017, 17:23
Re: COMANDO - by IlanZ - 14.01.2017, 17:28
Re: COMANDO - by didimk157 - 14.01.2017, 17:29
Re: COMANDO - by RodrigoMSR - 14.01.2017, 17:30
Re: COMANDO - by henriqueTL - 14.01.2017, 17:47

Forum Jump:


Users browsing this thread: 1 Guest(s)