[Ajuda]Salario Org
#1

Eu estou adptando esse sistema ao meu gm, mais eu gostaria que quando o lider desse /liberarpagamento ele liberasse automaticamente para os membros da org. E tambйm o lider poderia modificar o valor do pagamento.
Defines:

#define SALARIO_CARGO1 1000 //Valor Inicial
#define SALARIO_CARGO2 2000 //Valor Inicial
#define SALARIO_CARGO3 3000 //Valor Inicial
#define SALARIO_CARGO4 4000 //Valor Inicial
#define SALARIO_CARGO5 5000 //Valor Inicial

Comando:

pawn Код:
if(strcmp(cmd, "/pagamento", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            PassadoUmDia = 0;
            SendClientMessage(playerid, 0x33CCFFAA, "Vocк liberou o salбrio dos Membros da Org.");
            for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
            {
                if(PlayerInfo[playerid][pRecebeuSalario] != char)
                {
                    PlayerInfo[playerid][pRecebeuSalario] = char;
                }
            }
        }
        return 1;
    }
Reply


Messages In This Thread
[Ajuda]Salario Org - by Matheus_Ecko - 03.05.2012, 16:09
Re: [Ajuda]Salario Org - by ViniBorn - 03.05.2012, 16:42
Re: [Ajuda]Salario Org - by Matheus_Ecko - 03.05.2012, 16:43
Re: [Ajuda]Salario Org - by ViniBorn - 03.05.2012, 16:49
Re: [Ajuda]Salario Org - by Kan - 03.05.2012, 16:51
Re: [Ajuda]Salario Org - by Matheus_Ecko - 03.05.2012, 16:53
Re: [Ajuda]Salario Org - by CidadeNovaRP - 03.05.2012, 17:22
Re: [Ajuda]Salario Org - by ViniBorn - 03.05.2012, 18:50
Re: [Ajuda]Salario Org - by Matheus_Ecko - 03.05.2012, 21:45
Re: [Ajuda]Salario Org - by ViniBorn - 03.05.2012, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)