Help Me Warning 204
#1

Script :
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];
}
}

Eror :

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.

Reply


Messages In This Thread
Help Me Warning 204 - by wanshot11 - 06.03.2015, 12:02
AW: Help Me Warning 204 - by Kaliber - 06.03.2015, 12:04
Re: Help Me Warning 204 - by wanshot11 - 06.03.2015, 12:16
Re: Help Me Warning 204 - by CalvinC - 06.03.2015, 12:19
AW: Re: Help Me Warning 204 - by Kaliber - 06.03.2015, 12:20
Re : Help Me Warning 204 - by Golimad - 06.03.2015, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)