y_ini
#1

I want to switch from dini in yini

Can you just switch this one, so I'll see how and do the rest

OnPlayerRegister
pawn Код:
format(var, 64,"Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
OnPlayerUpdate
pawn Код:
format(var, 64,"Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
OnPlayerLogin
pawn Код:
if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); }
Reply


Messages In This Thread
y_ini - by ZmaXy - 13.02.2012, 00:34

Forum Jump:


Users browsing this thread: 1 Guest(s)