06.03.2015, 12:02
Script :
Eror :
Quote:
if(BankRobberyTime) BankRobberyTime --; foreach(Player, i) { if(PlayerInfo[i][pLevel] > 0) { if(MoneyMessage[i]==1) { if( PlayerInfo[i][pJailed] < 1 && !IsACop(i)) { format(string,sizeof(string),"Anda gagal untuk membayar utang anda $%d - sekarang anda menjadi buronan polisi.",GetPlayerCash(i)); SendClientMessageEx(i, COLOR_LIGHTRED, string); if(PlayerInfo[i][pWantedLevel] < 6) PlayerInfo[i][pWantedLevel] += 1; PlayerInfo[i][pCrimes] += 1; SetPlayerWantedLevel(i, PlayerInfo[i][pWantedLevel]); } } account = PlayerInfo[i][pAccount]; if(PlayerInfo[i][pRenting] != INVALID_HOUSE_ID) { if(HouseInfo[PlayerInfo[i][pRenting]][hRentFee] > PlayerInfo[i][pAccount]) { PlayerInfo[i][pRenting] = INVALID_HOUSE_ID; SendClientMessageEx(i, COLOR_WHITE, "Anda telah diusir."); } else { HouseInfo[PlayerInfo[i][pRenting]][hSafeMoney] += HouseInfo[PlayerInfo[i][pRenting]][hRentFee]; PlayerInfo[i][pAccount] -= HouseInfo[PlayerInfo[i][pRenting]][hRentFee]; } } |
Quote:
D:Roleplay.pwn(28249) : warning 204: symbol is assigned a value that is never used: "account" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |