SA-MP Forums Archive
Storing a value in .ini with Y_INI - 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: Storing a value in .ini with Y_INI (/showthread.php?tid=629098)



Storing a value in .ini with Y_INI - Emsaic - 20.02.2017

Hello, I've been trying to script something, and looked at some Y_INI tutorials but I still have no idea what I'm doing.

So I would like to create a variable which stores its content in a .ini file, so then I can use it in the GM and change it with some command in game,

Any suggestions on how to do this or another method to store variables even when the server restarts? thanks