[Ajuda] Ajuda
#3

exp

Код:
if(strcmp(cmd, "/taviso", true) == 0)
	{
		if(pAdmin[playerid] > 1 || pAdmin[playerid] > 2 || pAdmin[playerid] > 3 || pAdmin[playerid] > 4 || pAdmin[playerid] > 5 || Helper[playerid] == 1)
		{
			new plid;

			if(sscanf(cmdtext, "s[14]u", cmd, plid))
			{
				SendClientMessage(playerid, Vermelho, "Digite: /taviso [id]");
				return 1;
			}
			if(IsPlayerConnected(plid))
			{
				FloodAlert[plid] = 0;

				format(string, sizeof(string), "O(A) Administador (a) %s Tirou um aviso de  (%s/3). Motivo: %s ",GetPlayerNameEx(playerid), playerid);
    			SendClientMessage(plid, tcadm, string);
    			SendClientMessage(playerid, Verde, "Comando efetuado com sucesso!");
			}
			else
			{
				SendClientMessage(playerid, Vermelho, "Valor invбlido, tente novamente!");
			}
		}
		return 1;
	}
Reply


Messages In This Thread
Ajuda - by Netiinho - 27.04.2014, 07:24
Re: Ajuda - by VeNuZ_ - 27.04.2014, 07:33
Re: Ajuda - by Netiinho - 27.04.2014, 07:48
Re: Ajuda - by VeNuZ_ - 27.04.2014, 07:55
Re: Ajuda - by Netiinho - 27.04.2014, 08:08
Re: Ajuda - by VeNuZ_ - 27.04.2014, 08:18
Re: Ajuda - by Netiinho - 27.04.2014, 08:22
Re: Ajuda - by VeNuZ_ - 27.04.2014, 08:28
Re: Ajuda - by Netiinho - 27.04.2014, 08:29
Re: Ajuda - by VeNuZ_ - 27.04.2014, 08:40

Forum Jump:


Users browsing this thread: 2 Guest(s)