27.03.2011, 10:51
I'm changeing my saving system to dini
Old looks like this:
New will look like this ?
is that " PlayerInfo[playerid][pSHealth] = floatstr(valtmp); " right ? must i just let it or change it to something else ?
Old looks like this:
Код:
fread(file, valtmp);PlayerInfo[playerid][pAmmo6] = strval(valtmp); fread(file, valtmp);PlayerInfo[playerid][pSHealth] = floatstr(valtmp);
Код:
PlayerInfo[playerid][pAmmo6] = dini_Int(string2,"Ammo6"); PlayerInfo[playerid][pSHealth] = floatstr(valtmp);