Code:
SendClientMessage(i, COLOR_WHITE, "|___ BANK STATEMENT ___|");
format(string, sizeof(string), " Paycheck: $%d", checks);
SendClientMessage(i, COLOR_GRAD1, string);
format(string, sizeof(string), " Income Tax: -$%d", incometax);
SendClientMessage(i, COLOR_GRAD1, string);
if(PlayerInfo[i][pPbiskey] >= 1)
{
format(string, sizeof(string), " Business Electricity Bill: -$%d", ebill2);
SendClientMessage(i, COLOR_GRAD1, string);
}
format(string, sizeof(string), " Rent: -$%d", rent);
SendClientMessage(i, COLOR_GRAD1, string);
format(string, sizeof(string), " Balance: $%d", account);
SendClientMessage(i, COLOR_GRAD1, string);
if(PlayerInfo[i][pDonateRank] == 0)
{
tmpintrate = tmpintrate/5;
format(string, sizeof(string), " Interest rate: 0.%d percent",tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
}
else if(PlayerInfo[i][pDonateRank] == 1)
{
tmpintrate = tmpintrate/5;
format(string, sizeof(string), " Interest rate: 0.%d percent [Bronze VIP]",tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
}
else if(PlayerInfo[i][pDonateRank] == 2)
{
tmpintrate = tmpintrate/5;
format(string, sizeof(string), " Interest rate: 0.%d percent [Silver VIP]",tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
}
else if(PlayerInfo[i][pDonateRank] == 3)
{
tmpintrate = tmpintrate/10;
format(string, sizeof(string), " Interest rate: %d percent [Gold VIP]",tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
}
else if(PlayerInfo[i][pDonateRank] == 4)
{
tmpintrate = tmpintrate/10;
format(string, sizeof(string), " Interest rate: %d percent [Platinium VIP]",tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
}
else if(PlayerInfo[i][pDonateRank] == 5)
{
tmpintrate = tmpintrate/10;
format(string, sizeof(string), " Interest rate: %d percent [VIP Moderator]",tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
}
format(string, sizeof(string), " Interest gained $%d", interest);
SendClientMessage(i, COLOR_GRAD3, string);
SendClientMessage(i, COLOR_GRAD4, "|------------------------------------------|");
format(string, sizeof(string), " New Balance: $%d", PlayerInfo[i][pAccount]);
SendClientMessage(i, COLOR_GRAD5, string);