Skripta koju koristim:Cyber
Detaljan opis problema:zanima me kao ovo da stavim u dijalog tj platu evo toga:
interest = (PlayerInfo[pAccount]/1000)*(tmpintrate);
PlayerInfo[pExp]++;
PlayerPlayMusic(i);
PlayerInfo[pAccount] = account+interest;
SendClientMessage(i, CRVENA, "[===============[ PLACA ]===============]");
format(string, sizeof(string), "Plata: %d$ Porez: -%d$", checks/5, TaxValue);
SendClientMessage(i, BELA, string);
if(PlayerInfo[pPhousekey] != 255 || PlayerInfo[pPbiskey] != 255)
{
format(string, sizeof(string), "Racuni: -%d$", ebill);
SendClientMessage(i, BELA, string);
}
format(string, sizeof(string), "Stanje: %d$", account);
SendClientMessage(i, BELA, string);
format(string, sizeof(string), "Kamatna stopa: 0.%d",tmpintrate);
SendClientMessage(i, BELA, string);
format(string, sizeof(string), "Stecenih kamata: %d$", interest);
SendClientMessage(i, BELA, string);
SendClientMessage(i, CRVENA, "[======================================]");
format(string, sizeof(string), "Novo stanje: %d$", PlayerInfo[pAccount]);
SendClientMessage(i, BELA, string);
format(string, sizeof(string), "Rent: -%d$", rent);
SendClientMessage(i, BELA, string);
format(string, sizeof(string), "~g~Placa");
GameTextForPlayer(i, string, 5000, 1);
rent = 0;
PlayerInfo[pPayDay] = 0;
PlayerInfo[pPayCheck] = 0;
PlayerInfo[pConnectTime] += 1;
if(PlayerInfo[pKredit]== 0)
{
PlayerInfo[pKredit] = 0;
}
else if (PlayerInfo[pKredit]> 0)
{
PlayerInfo[pKredit] = PlayerInfo[pKredit]-500;
JB_GivePlayerMoney(i,500);
SendClientMessage(i, PLAVA, "* Rata kredita -500$.");
}
if(PlayerInfo[twixDonatorRank] > 0)
{
PlayerInfo[pPayDayHad] += 1;
if(PlayerInfo[pPayDayHad] >= 5)
{
PlayerInfo[pExp]++;
PlayerInfo[pPayDayHad] = 0;
}
}
}
ako mozete pomci pokusavao sam ali nista.?
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):