06.06.2010, 21:05
I wanna make when i get payday to be in texdraws so i have this code
I make textdraws so use this code
TextDrawSetString(House1, string);
TextDrawShowForPlayer(playerid,House1);
TextDrawShowForPlayer(playerid,House2);
Please help me i really need tnx
pawn Код:
SendClientMessage(i, COLOR_GREEN, "============[ PLACA ]============");
format(string, sizeof(string), "Placa: [%d$] Porez: [-%d$]"/*, checks, TaxValue*/);
SendClientMessage(i, COLOR_WHITE, string);
if(PlayerInfo[i][pPhousekey] != 255 || PlayerInfo[i][pPbiskey] != 255)
{
format(string, sizeof(string), "Racuni: [-%d$]"/*, ebill*/);
SendClientMessage(i, COLOR_GRAD1, string);
}
format(string, sizeof(string), "Stanje: [%d$]", account /*-*/ /*checks*/);
SendClientMessage(i, COLOR_WHITE, string);
format(string, sizeof(string), "Kamatna stopa: [0.%d] posto",tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
format(string, sizeof(string), "Stecenih kamata: [%d$]", interest);
SendClientMessage(i, COLOR_GRAD3, string);
SendClientMessage(i, COLOR_GREEN, "=================================");
format(string, sizeof(string), "Stanje: [%d$]", PlayerInfo[i][pAccount]);
SendClientMessage(i, COLOR_GRAD5, string);
format(string, sizeof(string), "Najam: [-%d$]", rent);
SendClientMessage(i, COLOR_GRAD5, string);
TextDrawSetString(House1, string);
TextDrawShowForPlayer(playerid,House1);
TextDrawShowForPlayer(playerid,House2);
Please help me i really need tnx