Closed ghost closed 8 years ago
You've missed the most important part - the value of file
, i.e. the filename.
Oh sorry, I didn't put in the example, but it is in my gamemode: Edited
Yes, I thought that was the case. Windows is \, not /.
I thought the system-level fopen calls and thus the Pawn runtime was slash-agnostic? Or is it y_ini that enforces \ on windows and / on linux?
Currently, \ provides me : error 027: invalid character constant. However the file is created at the good place while using / with windows
You need "\" if you have a string, to stop it acting as the escape character. Southclaw: honestly no idea, but when something doesn't work and something is obviously wrong, that's a good place to start.
Does that mean you solved the problem?
Currently, i have this problem. The YSI have any requirement for windows server 2012? use any .dll or something?
Nope. It is purely PAWN.
Good morning, I meet an issue where when I use Y_INI on Windows SA:MP server (such as local one for testing), all system which use Y_INI for saving INI files are not writing content. The file is created but nothing is saved it. However, when i test it on a linux SA:MP server, no problem appears for saving content. It appears for anything which use Y_INI
Example: