Bool in Fini/Ini
#2

Maybe try to format the variable before saving it and after loading it?

pawn Код:
//Saving:
new Formatted_Variable = 0;
if(Variable == true)  Formatted_Variable = 1;
//Loading:
if(Loaded_Variable == 1) Variable = true; else Variable = false;
Untested, but should work.
Reply


Messages In This Thread
Bool in Fini/Ini - by Roko_foko - 06.07.2012, 18:00
Re: Bool in Fini/Ini - by coole210 - 06.07.2012, 22:55
Re: Bool in Fini/Ini - by Roko_foko - 07.07.2012, 08:24

Forum Jump:


Users browsing this thread: 1 Guest(s)