Loading my level from file?
#1

Hey guys,

Does anyone know what could be the problem , i got about 20lines of saving all of them saves , but when it comes to
loading , only 19 loads, the first one which is:

pawn Код:
if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); playerDB[playerid][Level] = strval( val ); }
That line doesn't load above, everything else loads and they are same like that line above:

pawn Код:
if( strcmp( key , "Patirtis" , true ) == 0 ) { val = ini_GetValue( Data ); playerDB[playerid][Patirtis] = strval( val ); }
anyone knows the problem? rly annoying..


EDIT: It loads onplayerlogin, and saves onplayerupdateaccount, i always check after closing the server if theres the LEVEL, and there IS!when i connect its still there, just as i login it vanishes to 0or nothing.
Reply


Messages In This Thread
Loading my level from file? - by 0ne - 26.04.2010, 12:43
Re: Loading my level from file? - by SiJ - 26.04.2010, 12:59
Re: Loading my level from file? - by 0ne - 26.04.2010, 13:05
Re: Loading my level from file? - by SiJ - 26.04.2010, 13:10
Re: Loading my level from file? - by 0ne - 26.04.2010, 13:18
Re: Loading my level from file? - by 0ne - 27.04.2010, 10:49
Re: Loading my level from file? - by SiJ - 27.04.2010, 13:32
Re: Loading my level from file? - by 0ne - 27.04.2010, 13:45
Re: Loading my level from file? - by 0ne - 28.04.2010, 10:48
Re: Loading my level from file? - by MenaceX^ - 28.04.2010, 10:57

Forum Jump:


Users browsing this thread: 1 Guest(s)