saving system crashes
#5

Quote:
Originally Posted by boyan96
Посмотреть сообщение
PHP код:
forward save2();
public 
save2()
{
    
format(file3,sizeof(file3), "realityrp/gcom.ini");
    
format(file9,sizeof(file9),"realityrp/vehicles/Vindex.ini");
    
dini_IntSet(file3"gowned"gcom[gowned]);
    
dini_IntSet(file3"gbank"gcom[gbank]);
    for(new 
0sizeof(BizzInfo); b++)
    {
        
format(file2sizeof(file2),"realityrp/bizzes/%d.ini"b);
        
dini_IntSet(file2"bforsale"BizzInfo[b][bforsale]);
        
dini_IntSet(file2"Bvalue"BizzInfo[b][Bvalue]);
        
dini_IntSet(file2"bbank"BizzInfo[b][bbank]);
        
dini_IntSet(file2"customers"BizzInfo[b][customers]);
        
dini_IntSet(file2"bprods"BizzInfo[b][bprods]);
        
dini_IntSet(file2"bopen"BizzInfo[b][bopen]);
        }
    
dini_IntSet(file9"topnumber",Index[topnumber]);
    
dini_IntSet(file9"topbnumber"Index[topbnumber]);
    for(new 
0sizeof(House); h++)
    {
    
format(file5sizeof(file5),"realityrp/houses/%d.ini"h);
    {
        
dini_IntSet(file5"hforsale",House[h][hforsale]);
        
dini_IntSet(file5"hprice",House[h][hprice]);
        
dini_IntSet(file5"howner",House[h][howner]);
        
dini_IntSet(file5"hlocked",House[h][hlocked]);
        
dini_IntSet(file5"Setted",House[h][Setted]);
    }
    return 
1;

whats the difference?

EDIT: this one misses a bracelet
Reply


Messages In This Thread
saving system crashes - by milanosie - 06.02.2012, 11:26
Re: saving system crashes - by Hoborific - 06.02.2012, 11:46
Re: saving system crashes - by milanosie - 06.02.2012, 11:50
Re: saving system crashes - by boyan96 - 06.02.2012, 11:50
Re: saving system crashes - by milanosie - 06.02.2012, 11:52

Forum Jump:


Users browsing this thread: 1 Guest(s)