18.05.2012, 12:29
load it like this
pawn Код:
public OnGameModeInit()
{
new string[64]; // Create the string to store the read text in
new File:example = fopen("cars.txt", io_read); // Open the file
fread(example, string); // Fread from the file and store what's read in 'string'
fclose(example); // Close the file
printf("%s",string); // Print what was read
return 1;
}