[Ajuda] Salvar level e exp
#1

To com um problema, o sistema de level e exp que estou usando funciona certinho sу que apуs passar ele de dini para dof2 nгo estб mais salvando eu queria saber se alguйm poderia me ajudar.

Код:
	
Ongamemodeinit
if(!fexist("levels")) DOF2_CreateFile("levels.ini");

 OnPlayerConnect  
if(DOF2_IsSet("levels",PlayerName(playerid))) Level[playerid] =(playerid,DOF2_GetInt("levels",PlayerName(playerid)));
if(DOF2_IsSet("exp",PlayerName(playerid))) Exp[playerid] = (playerid,DOF2_GetInt("exp",PlayerName(playerid)));

 OnPlayerDisconnect       
 DOF2_SetInt("levels",PlayerName(playerid),Level[playerid]);
 DOF2_SetInt("exp",PlayerName(playerid),Exp[playerid]);
Se alguйm puder me ajudar Obrigado
Reply


Messages In This Thread
Salvar level e exp - by Forrest - 07.07.2013, 22:10
Re: Salvar level e exp - by Forrest - 07.07.2013, 23:43
Re: Salvar level e exp - by DannielCooper - 08.07.2013, 01:30
Re: Salvar level e exp - by Gleisson_. - 08.07.2013, 01:53
Re: Salvar level e exp - by Standby - 08.07.2013, 02:06

Forum Jump:


Users browsing this thread: 1 Guest(s)