Problem with save gang zone
#1

PHP код:
forward SaveTurfs();
public 
SaveTurfs()
{
    new 
idx;
    new 
Filefile3;
    while (
idx sizeof(turfs))
    {
        new 
coordsstring[512];
        
format(coordsstringsizeof(coordsstring), "%d|%s|%s|%d|%d|%d|%d|[%s|%d]|%d|%d|%d|%d|%d___________________\n",
            
turfs[idx][turfID],
            
turfs[idx][turfName],
            
turfs[idx][cityName],
            
turfs[idx][zMinX],
            
turfs[idx][zMinY],
            
turfs[idx][zMaxX],
            
turfs[idx][zMaxY],
                [------       
turfs[idx][TurfColor], ----]
        [------    
turfs[idx][TurfOwner], ----- ]
            
turfs[idx][TurfAttacker],
            
turfs[idx][TurfKills],
            
turfs[idx][TurfAttackKills],
            
turfs[idx][TurfWarStarted],
            
turfs[idx][MIT]);
        if(
idx == 0)
        {
            
file3 fopen("Factions/Turfs.ini"io_write);
        }
        else
        {
            
file3 fopen("Factions/Turfs.ini"io_append);
        }
        
fwrite(file3coordsstring);
        
idx++;
        
fclose(file3);
    }
    return 
1
}
Problem is save team own zone TEAM_GROVE and colors. I use %s %d and dont work. Help me please
Reply


Messages In This Thread
Problem with save gang zone - by Cr3dO - 22.03.2015, 18:35
Re: Problem with save gang zone - by Misiur - 22.03.2015, 18:42
Re: Problem with save gang zone - by Cr3dO - 22.03.2015, 18:57
Re: Problem with save gang zone - by Misiur - 22.03.2015, 19:03
Re: Problem with save gang zone - by Cr3dO - 22.03.2015, 19:35

Forum Jump:


Users browsing this thread: 4 Guest(s)