SA-MP Forums Archive
[Ajuda] GZ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] GZ (/showthread.php?tid=290897)



[Ajuda] GZ - Don_Speed - 17.10.2011

Tipo Estou Editando o Thug 2.6
Quando o cara domina a area precisa ficar detro da GZ Para ganhar R$
eu qria q o Cara Nao Precisase Ficar Dentro Da GZ Pra Ganhar R$

E como eu altero o lvl e o dinheiro de um cara q se registra?


Re: Ajuda GZ - Pharrel - 17.10.2011

o lvl e dinheiro deve ser em onplayerregister e o da GZ precisamos de codigos, n da pra adivinhar o codigo do seu GM


Re: Ajuda GZ - hitachi_uchila - 17.10.2011

no code to Thug na forward granaterritorios apenas remova os
pawn Код:
if(isplayerinareaETC)
{
// sempre que remover uma chave abrindo remova uma fechando , senгo pode bugar o gm inteiro
}
um Exemplo

ANTES:
pawn Код:
if(PlayerInfo[i][pLider] == 1 && donomorro == 1) // Policia Militar
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter Uma Бrea sobre Controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
DEPOIS:
pawn Код:
if(PlayerInfo[i][pLider] == 1 && donomorro == 1) // Policia Militar
        {
      GivePlayerMoneyEx(i, GranadoMorro);
      format(string, sizeof(string), "Vocк recebeu R$%d, Por manter Uma Бrea sobre Controle.",GranadoMorro);
      SendClientMessage(i, COLOR_GRAD3, string);

        }
Se funcionar avisa. se te ajudei clica na estrelinaha de xerife abaixo da minah fotinha =]


Re: Ajuda GZ - Don_Speed - 17.10.2011

pawn Код:
public GranaTerritorios()
{
    new string[256];
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        // Morro
        if(PlayerInfo[i][pLider] == 15 && donomorro == 1) // GROOVE
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 15 && donomorro == 1) // GROOVE
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 18 && donomorro == 2) // BALLAS
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 18 && donomorro == 2) // BALLAS
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 19 && donomorro == 3) // VAGOS
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 19 && donomorro == 3) // VAGOS
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 23 && donomorro == 7) // GMOB
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 23 && donomorro == 7) // GMOB
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 5 && donomorro == 4) // AZTECAS
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 5 && donomorro == 4) // AZTECAS
        {
            if(IsPlayerInMorro(i))
            {
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        //----- Shop
        if(PlayerInfo[i][pLider] == 15 && donoshop == 1) // GROOVE
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 15 && donoshop == 1) // GROOVE
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 18 && donoshop == 2) // BALLAS
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 18 && donoshop == 2) // BALLAS
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 19 && donoshop == 3) // VAGOS
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 19 && donoshop == 3) // VAGOS
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 23 && donoshop == 7) // GMOB
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 23 && donoshop == 7) // GMOB
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 5 && donoshop == 4) // AZTECAS
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 5 && donoshop == 4) // AZTECAS
        {
            if(IsPlayerInShop(i))
            {
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        //---- Pista de Skate
        if(PlayerInfo[i][pLider] == 15 && donoskate == 1) // GROOVE
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 15 && donoskate == 1) // GROOVE
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 18 && donoskate == 2) // BALLAS
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 18 && donoskate == 2) // BALLAS
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 19 && donoskate == 3) // VAGOS
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 19 && donoskate == 3) // VAGOS
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 23 && donoskate == 7) // GMOB
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 23 && donoskate == 7) // GMOB
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 5 && donoskate == 4) // AZTECAS
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 5 && donoskate == 4) // AZTECAS
        {
            if(IsPlayerInSkate(i))
            {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        // AeroPorto
        if(PlayerInfo[i][pLider] == 15 && donoaero == 1) // GROOVE
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 15 && donoaero == 1) // GROOVE
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 18 && donoaero == 2) // BALLAS
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 18 && donoaero == 2) // BALLAS
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 19 && donoaero == 3) // VAGOS
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 19 && donoaero == 3) // VAGOS
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 23 && donoaero == 7) // GMOB
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 23 && donoaero == 7) // GMOB
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pLider] == 5 && donoaero == 4) // AZTECAS
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
        if(PlayerInfo[i][pMembro] == 5 && donoaero == 4) // AZTECAS
        {
            if(IsPlayerInAero(i))
            {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
            }
        }
    }
    return 1;
}



Re: Ajuda GZ - hitachi_uchila - 17.10.2011

pawn Код:
public GranaTerritorios()
{
    new string[256];
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        // Morro
        if(PlayerInfo[i][pLider] == 15 && donomorro == 1) // GROOVE
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 15 && donomorro == 1) // GROOVE
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pLider] == 18 && donomorro == 2) // BALLAS
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 18 && donomorro == 2) // BALLAS
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pLider] == 19 && donomorro == 3) // VAGOS
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 19 && donomorro == 3) // VAGOS
        {

            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pLider] == 23 && donomorro == 7) // GMOB
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 23 && donomorro == 7) // GMOB
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pLider] == 5 && donomorro == 4) // AZTECAS
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 5 && donomorro == 4) // AZTECAS
        {
           
            GivePlayerMoneyEx(i, GranadoMorro);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoMorro);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        //----- Shop
        if(PlayerInfo[i][pLider] == 15 && donoshop == 1) // GROOVE
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 15 && donoshop == 1) // GROOVE
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pLider] == 18 && donoshop == 2) // BALLAS
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 18 && donoshop == 2) // BALLAS
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pLider] == 19 && donoshop == 3) // VAGOS
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 19 && donoshop == 3) // VAGOS
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pLider] == 23 && donoshop == 7) // GMOB
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 23 && donoshop == 7) // GMOB
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pLider] == 5 && donoshop == 4) // AZTECAS
        {
           
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        if(PlayerInfo[i][pMembro] == 5 && donoshop == 4) // AZTECAS
        {
         
            GivePlayerMoneyEx(i, GranadoShop);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoShop);
            SendClientMessage(i, COLOR_GRAD3, string);

        }
        //---- Pista de Skate
        if(PlayerInfo[i][pLider] == 15 && donoskate == 1) // GROOVE
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 15 && donoskate == 1) // GROOVE
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pLider] == 18 && donoskate == 2) // BALLAS
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 18 && donoskate == 2) // BALLAS
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pLider] == 19 && donoskate == 3) // VAGOS
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 19 && donoskate == 3) // VAGOS
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pLider] == 23 && donoskate == 7) // GMOB
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 23 && donoskate == 7) // GMOB
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pLider] == 5 && donoskate == 4) // AZTECAS
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 5 && donoskate == 4) // AZTECAS
        {
            GivePlayerMoneyEx(i, GranadoSkate);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoSkate);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        // AeroPorto
        if(PlayerInfo[i][pLider] == 15 && donoaero == 1) // GROOVE
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 15 && donoaero == 1) // GROOVE
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pLider] == 18 && donoaero == 2) // BALLAS
        {

            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 18 && donoaero == 2) // BALLAS
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pLider] == 19 && donoaero == 3) // VAGOS
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 19 && donoaero == 3) // VAGOS
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pLider] == 23 && donoaero == 7) // GMOB
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 23 && donoaero == 7) // GMOB
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pLider] == 5 && donoaero == 4) // AZTECAS
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
        if(PlayerInfo[i][pMembro] == 5 && donoaero == 4) // AZTECAS
        {
            GivePlayerMoneyEx(i, GranadoAero);
            format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadoAero);
            SendClientMessage(i, COLOR_GRAD3, string);
        }
    }
    return 1;
}
Cola esse no lugar daquele, se puder me ajudar e so clica na estrelinha de xerife abaixo da minha foto =].


Re: Ajuda GZ - Don_Speed - 17.10.2011

vo tentar


Re: Ajuda GZ - Don_Speed - 17.10.2011

e do lvl e do dinheiro alguem sabe?


Re: Ajuda GZ - hitachi_uchila - 17.10.2011

sim , procure no gm por TUTTIME, no final do tuttime tem os paramentros lб, ou se preferir em onplayerregister tem parametros como numero do celular, nivel , dinheiro no banco entre outras coisinhas


Re: Ajuda GZ - Don_Speed - 17.10.2011

vlw consegui mudar^^


Re: Ajuda GZ - hitachi_uchila - 17.10.2011

de nada =].