A
Adjud
Guest
Hi,
back in GM7 i was able to read and write to .ini files in lets say "C:\game\gameload.ini"
its apparently different with the new edition of gm2..
so steer me in the right direction, I disabled sandbox in windows for gm2 then I made this code to test if it works and nothing happens:
I simply want to be able to access my ini file, read it and write to it if needed. im going to work on a save/load system using ini's but i need to make sure i get it right before attempting that.
Thank you for any help and steering me in the right direction of how to achieve this.
back in GM7 i was able to read and write to .ini files in lets say "C:\game\gameload.ini"
its apparently different with the new edition of gm2..
so steer me in the right direction, I disabled sandbox in windows for gm2 then I made this code to test if it works and nothing happens:
Code:
ini_open("C:\rpg\gameload.ini");
score = ini_read_real("pref", "score", 0 );
ini_close();
Thank you for any help and steering me in the right direction of how to achieve this.