26.09.2012, 17:31
Quote:
nao sei se esta correto mais tenta
pawn Код:
|
Todas as linhas:
Код:
if(PlayerInfo[i][pMembro] == 3 && donoFloresta == 1) {if(IsPlayerInFloresta(i)){GivePlayerMoney(i, GranadaFloresta); format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadaFloresta);SendClientMessage(i, COLOR_GRAD3, string);}} if(PlayerInfo[i][pLider] == 3 && donoFloresta == 1){if(IsPlayerInFloresta(i)){GivePlayerMoney(i, GranadaFloresta); format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadaFloresta);SendClientMessage(i, COLOR_GRAD3, string);}} if(PlayerInfo[i][pMembro] == 15 && donoFloresta == 2){if(IsPlayerInFloresta(i)){GivePlayerMoney(i, GranadaFloresta); format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadaFloresta);SendClientMessage(i, COLOR_GRAD3, string);}} if(PlayerInfo[i][pLider] == 15 && donoFloresta == 2){if(IsPlayerInFloresta(i)){GivePlayerMoney(i, GranadaFloresta); if(IsPlayerInFloresta(i)){GivePlayerMoney(i, GranadaFloresta); format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadaFloresta);SendClientMessage(i, COLOR_GRAD3, string);}} if(PlayerInfo[i][pMembro] == 23 && donoFloresta == 3){if(IsPlayerInFloresta(i)){GivePlayerMoney(i, GranadaFloresta); format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadaFloresta);SendClientMessage(i, COLOR_GRAD3, string);}} if(PlayerInfo[i][pLider] == 23 && donoFloresta == 3){if(IsPlayerInFloresta(i)){GivePlayerMoney(i, GranadaFloresta); format(string, sizeof(string), "Vocк recebeu R$%d, Por manter esta area sobre controle.",GranadaFloresta);SendClientMessage(i, COLOR_GRAD3, string);}}}}return true;}