[Ajuda] Mudar Comando
#10

Quote:
Originally Posted by DannielCooper
Посмотреть сообщение
Eu ia ajudar mais, sу que jб tinha gente ajudando u-u.

pawn Код:
if(strcmp(cmd,"/dartaxa",true)==0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pLider] != 7)
            {
                SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й o Prefeito !");
                return true;
            }
           if(ContarJogadores >= 15)
          {
              if(IsPlayerConnected(i))
              {
                new price = Tax / Cops;
                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,price);
                }
            }
                SaveStuff();
        }      
        return true;
    }
ai Coloca new ContarJogadores = ?
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: 7 Guest(s)