log help
#1

i made an log of bank stats
i want to put the last withdrawn money log at 1st but its showing it at last
but i want the latest on top anyone help me please
PHP код:
new maxs savesystem;
                  if (
maxs == 0) return SendClientMessage2(playeridCOLOR_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<= maxst++)
                   {
                     
format(tmpsizeof(tmp), "dstat_%d"t);
                  
format(tmp5sizeof(tmp5), "wstat_%d"t);
                  
format(tmp6sizeof(tmp6), "snstat_%d"t);
                  
format(tmmpsizeof(tmmp), "Date%d"t);
                  if(
my saving systemtmp6))
                  {
                   
format(snamesizeof(sname), "%s"tmp6);
                  }
                  else
                  {
                   
sname" ";
                  }
                  
format(tmp3sizeof(tmp3), "%s%s\t%d\t%d\t%s\n"tmp3tmmptmpsname);
                  
format(tmp4sizeof(tmp4), "Date\tIn\tOut\tRecipient\n%s"tmp3);
                }              
                
ShowPlayerDialog2(playeridDIALOG_BANKSTATESDIALOG_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
please help me
Reply
#2

Your code doesn't really make any sense. Could you provide the exact excerpt of the code
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)