PHP код:
new maxs = savesystem;
if (maxs == 0) return SendClientMessage2(playerid, COLOR_RED, "Error: You didn't have any state.");
new tmp3[100], tmp5[256], tmp6[256], tmmp[256], sname[256], tmp4[100];
for (new t=1; t <= maxs; t++)
{
format(tmp, sizeof(tmp), "dstat_%d", t);
format(tmp5, sizeof(tmp5), "wstat_%d", t);
format(tmp6, sizeof(tmp6), "snstat_%d", t);
format(tmmp, sizeof(tmmp), "Date%d", t);
if(my saving system, tmp6))
{
format(sname, sizeof(sname), "%s", tmp6);
}
else
{
sname= " ";
}
format(tmp3, sizeof(tmp3), "%s%s\t%d\t%d\t%s\n", tmp3, tmmp, tmp, sname);
format(tmp4, sizeof(tmp4), "Date\tIn\tOut\tRecipient\n%s", tmp3);
}
ShowPlayerDialog2(playerid, DIALOG_BANKSTATES, DIALOG_STYLE_TABLIST_HEADERS, "Your Bank State", tmp4, "Ok", "");
help me please i want to get the last withdraw or deposited money at 1st but whenever i do withdraw it makes it at last
Your code doesn't really make any sense. Could you provide the exact excerpt of the code