[AJUDA] Sistema de Pixaзгo da PlayHard -
Fernando Vinewood - 03.02.2012
Bom, baixei meu servidor da PlayHard, entгo quando fui pixar para fazer um teste, ele comeзa a dar o dobro do dinheiro de pixaзгo.
Para quem nгo entende o sistema, vou explicar. Й assim:
Vocк й de uma gangue, e vocк pode pixar, a cada pixaзгo, vocк ganha R$4 a cada 2 minutos +/-, daн a cada 2 minutos, as pixaзoes comeзam a aumentar gradativamente, por ex: eu pixei 1, entгo irei receber 4 reais, mais depois de esperar 2 minutos, ela comeзa a receber 8 reais e fala que tem 2 pixaзoes.
Nгo sei se entenderam, mais se puderem reponder serei grato
Abraзo!
Re: [AJUDA] Sistema de Pixaзгo da PlayHard -
makino - 03.02.2012
manda as linhas ae man nimguem tem bola de cristal aki nao '-'
Re: [AJUDA] Sistema de Pixaзгo da PlayHard -
Fernando Vinewood - 03.02.2012
Vou pegar aqui, jб jб posto.
pawn Код:
#define MAX_PIX Â 100
#define GRANA_PIX Â Â Â 4
new GranaPix[MAX_PLAYERS];
new NumPix[MAX_PLAYERS];
new Text3D:PixLabel[MAX_PIX];
enum PixInfo
{
  Dono,
  Float:PixX,
  Float:PixY,
  Float:PixZ
};
new bool:Pixando[MAX_PLAYERS];
if(Pixando[playerid] == false && IsAGang(playerid) && GetPlayerWeapon(playerid) == 41 && (newkeys & KEY_FIRE ) && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
  {
    for(new i = 0; i < MAX_PIX; i ++)
    {
      if(PlayerToPoint(3.0, playerid,Pixacao[i][PixX],Pixacao[i][PixY],Pixacao[i][PixZ]))
      {
        Pixando[playerid] = true;
        new wep,ammo;
        GetPlayerWeaponData(playerid, 9, wep, ammo);
        SetTimerEx("GetAmmo",3500,false, "iiiii", playerid,9,wep,ammo,i);
      }
    }
  }
Pixando[playerid] = false;
public GranaTerritorios()
{
  new string[128];
  for(new i=0; i< sizeof(TurfsCoords); i++)
  {
    if(gZonesData[i][ZoneOwner] != TEAM_NONE)
    {
      for(new x = 0; x <= HighestID; x ++)
      {
        if(IsPlayerConnected(x))
        {
          if(Player[x][pMember] == gZonesData[i][ZoneOwner])
          {
            if(Player[x][pMember] == 16 || Player[x][pMember] == 17)
            {
              format(string, sizeof(string), "[INFO] Vocк recebeu R$150,00 e 100 materiais, por manter a бrea %s sob controle.", TURF_PAYOUT, TurfsCoords[i][zName]);
              Player[x][pMats] += 100;
              GivePlayerGP(x, 150);
            }
            else
            {
              format(string, sizeof(string), "[INFO] Vocк recebeu R$%d,00 por manter a бrea %s sob controle.", TURF_PAYOUT, TurfsCoords[i][zName]);
              GivePlayerGP(x, 100);
            }
            SendClientMessage(x, COLOR_GOLD, string);
          }
        }
        GranaPix[x] = 0;
        NumPix[x] = 0;
      }
    }
  }
  for(new x = 0; x <= HighestID; x ++)
  {
    for(new i = 0; i < MAX_PIX; i ++)
    {
      if(IsPlayerConnected(x))
      {
        if(Player[x][pMember] == Pixacao[i][Dono] && Pixacao[i][Dono] != 0)
        {
          GranaPix[x] += GRANA_PIX;
          NumPix[x] ++;
        }
      }
    }
    if(NumPix[x] > 0)
    {
      format(string, sizeof(string), "[INFO] Vocк recebeu R$%d, por manter %d pixaзхes sob seu domнnio.", GranaPix[x], NumPix[x]);
      GivePlayerGP(x, GranaPix[x]);
      SendClientMessage(x, COLOR_GOLD, string);
    }
  }
}
Re: [AJUDA] Sistema de Pixaзгo da PlayHard -
Snake Serp - 03.02.2012
Ja que vocк baixo "seu servidor da playhard" acho que deveria saber mecher.
Compensa mais vocк tentar criar o seu do que tentar arrumar um GM todo bugado, ainda mais para quem nгo sabe mexer direito.
Re: [AJUDA] Sistema de Pixaзгo da PlayHard -
Fernando Vinewood - 03.02.2012
Cara, eu sei mecher muito bem no servidor, peguei ele porque jб joguei muito tempo e sei grande parte dele.
Nгo tenho saco para criar um servidor do 0, jб editei esse GM da PlayHard muito.
Pedi ajuda, se nгo veio ajudar, nгo fale besteiras amigo =/
Re: [AJUDA] Sistema de Pixaзгo da PlayHard -
Mercurio - 03.02.2012
Fail '-' Te aconselho a criar um servidor do 0 que fica melhor, ъnico e vocк vai conhecer o Modo de Jogo, Й impaciente criar do 0 ( SIM ! ) Й IMPACIENTE, mais a recompensa vale a pena ... criei um servidor do 0 e abri um shop online, to ganhando uns trocadinhos

Pense nisso!
Respuesta: [AJUDA] Sistema de Pixaзгo da PlayHard -
Luciano* - 03.02.2012
Esse GM Vazou na net, os cara roubaram e ainda nem colocaram os creditos!
(nao sei o seu, mais todos ai da net ta sem creditos)