Load from file y_ini problem [errors] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Load from file y_ini problem [errors] (
/showthread.php?tid=345617)
Load from file y_ini problem [errors] -
Libra_PL - 25.05.2012
Hi.
I'm doing saving system at the moment which doesn't work at the moment. Loading code from file is fine, but not saving. Code I'm using:
Code:
new INI:File = INI_Open("ServerInfo.ini");
INI_Int("CurrentRound",CurrentRound);
INI_Int("PlayersJoined",PlayersJoined);
INI_Close(File);
And errors I have are...
Code:
error 017: undefined symbol "name"
error 017: undefined symbol "value"
error 017: undefined symbol "name"
error 017: undefined symbol "value"
I have no idea how to fix them and a tutorial by someone which I used to do it didn't help me. Can anyone help me (it's important for me right now)?
Thanks for any anwsers.
Re: Load from file y_ini problem [errors] -
HDFord - 25.05.2012
if you're using 0.3e, it's fucked and wont save anything in the .ini, live with it until y_less make it work
Re: Load from file y_ini problem [errors] -
TzAkS. - 25.05.2012
Can you post the lines with errors?
You didn`t created name and value..