Changeing saving system
#1

I'm changeing my saving system to dini

Old looks like this:
Код:
			fread(file, valtmp);PlayerInfo[playerid][pAmmo6] = strval(valtmp);
			fread(file, valtmp);PlayerInfo[playerid][pSHealth] = floatstr(valtmp);
New will look like this ?
Код:
			PlayerInfo[playerid][pAmmo6]  = dini_Int(string2,"Ammo6");			
                                      PlayerInfo[playerid][pSHealth] = floatstr(valtmp);
is that " PlayerInfo[playerid][pSHealth] = floatstr(valtmp); " right ? must i just let it or change it to something else ?
Reply
#2

This is loading system.

Show your saving system.
Reply
#3

working on the loading system at the moment wanted to now if im on the right way ?

so its right ?
Reply
#4

It all depends how you write the info to the file.
Reply
#5

No... No... Why exactly are you switching to dini if It's working with what you have?
dini is the slowest system you can find. Use y_ini or another cache ini system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)