09.11.2010, 17:05
Hello i have
2000 .ini files in my scriptfile/vehicle folder...
all of them are car ids
here is an example of car id8 8.ini
i want to add new line in all those 2000 .ini files
for example Nitro=0
for(new vehid; vehid < MAX_VEHICLES; vehid++)
{
code which will add new line inside .ini file for every vehid
}
so as you can understand i need (code which will add new line inside .ini file for every vehid)
+ i wan't this action to be done only once i don't need multiple Nitro=0 lines
2000 .ini files in my scriptfile/vehicle folder...
all of them are car ids

here is an example of car id8 8.ini
Quote:
Model=513 X=291.244628 Y=2535.548828 Z=17.348920 Angle=180.121566 Color1=0 Color2=106 |
for example Nitro=0
Quote:
Model=513 X=291.244628 Y=2535.548828 Z=17.348920 Angle=180.121566 Color1=0 Color2=106 Nitro=0 |
{
code which will add new line inside .ini file for every vehid

}
so as you can understand i need (code which will add new line inside .ini file for every vehid)

+ i wan't this action to be done only once i don't need multiple Nitro=0 lines
