19.07.2014, 03:34
Код:
SendClientMessage(i, COLOR_WHITE, "|_________ EXTRATO DO BANCO _________|"); if(rent >= 0) { format(string, sizeof(string), " Aluguel: [-] R$%d", rent); SendClientMessage(i, COLOR_GREY, string); GivePlayerGP(i, -rent); } if(Player[i][pMember] == 0 && Player[i][pJob] != DESEMPREGADO) { format(string, sizeof(string), " Salбrio: [+] R$%d", JOB_SAL); GivePlayerGP(i, JOB_SAL); } else if(Player[i][pMember] != 0) { format(string, sizeof(string), " Salбrio: [+] R$%d", OrgsSalaries[Player[i][pMember]]); GivePlayerGP(i, OrgsSalaries[Player[i][pMember]]); } SendClientMessage(i, COLOR_GREY, string); Player[i][pBank] -= Tax; if(Player[i][pJob] == DESEMPREGADO && Player[i][pMember] == 0) { GivePlayerGP(i, 500); SendClientMessage(i, COLOR_GREY, " Seguro Desemprego: [+] R$500"); } if(Player[i][pMember] == TEAM_BOPE || Player[i][pMember] == TEAM_FA || Player[i][pMember] == TEAM_PM || Player[i][pMember] == TEAM_PF || Player[i][pMember] == TEAM_PREF || Player[i][pMember] == TEAM_MUNICIPAL) { GivePlayerGP(i, 900); SendClientMessage(i, COLOR_GREY, " Seguro Governo: [+] R$900"); }
Код:
else if(Player[i][pMember] != 0) { format(string, sizeof(string), " Salбrio: [+] R$%d", OrgsSalaries[Player[i][pMember]]); GivePlayerGP(i, OrgsSalaries[Player[i][pMember]]); }
Sabes me informar como ou mostrar um exemplo pra mim testa ?