22.06.2012, 14:15
Код:
public OnGameModeInit()
{
new string[256]; // Create the string to store the read text in
new File:example = fopen("cars.cfg", io_read); // Open the file
while(fread(example, string)) //reads the file line-by-line
{
AddStaticVehicle(string);
printf("%s", string);
}
fclose(example);
return 1;
}

