[Ajuda] Mudar Comando
#2

Код:
if(strcmp(cmd,"/dartaxa",true)==0)
    {
 if(strval(params) < 0 || strval(params) > 9999999) return SendClientMessage(playerid, -1, "[ERRO] QuantiaInvбlida.");
        if(IsPlayerConnected(playerid))
	    {
	        if(PlayerInfo[playerid][pLider] != 7)
	        {
				SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й o Prefeito !");
				return true;
	        }
			if(IsPlayerConnected(i))
			{
			    for (new i = 0; i < MAX_PLAYERS; i++)
				{
				            SendClientMessage(playerid, COLOR_GREY, "Vocк deu a taxa para todos os players!");
				            format(string, sizeof(string), "* Vocк recebeu R$%d do banco de Impostos pelo Prefeito.",price);
					    SendClientMessage(i, COLOR_LIGHTBLUE, string);
					    GivePlayerMoney(i, strval(params));
				        }
				    }
				SaveStuff();
			}
		}
		return true;
	}
Nгo testei. Tenta.
Reply


Messages In This Thread
Mudar Comando - by lokos45 - 07.09.2013, 18:00
Re: Mudar Comando - by SkullFire - 07.09.2013, 18:10
Re: Mudar Comando - by Coe1 - 07.09.2013, 18:18
Re: Mudar Comando - by lokos45 - 07.09.2013, 18:25
Re: Mudar Comando - by SkullFire - 07.09.2013, 18:25
Re: Mudar Comando - by Coe1 - 07.09.2013, 18:27
Re: Mudar Comando - by SkullFire - 07.09.2013, 18:28
Re: Mudar Comando - by lokos45 - 07.09.2013, 18:31
Re: Mudar Comando - by DannielCooper - 07.09.2013, 18:35
Re: Mudar Comando - by lokos45 - 07.09.2013, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)