16.07.2015, 07:17
(
Последний раз редактировалось Sc0pion; 26.04.2017 в 10:24.
)
Fixed!
new file[100];
format(file,sizeof(file),"/Database/Achievements/%s.txt", pname);
new File:handle = fopen(file, io_write);
if(handle)// Check, if file is open
{
format(string, sizeof(string), "Robbed 10 Players.\r\n");
fwrite(handle, string);
fclose(handle);
}
else
{
// Error
print("Failed to open file the file".");
}