Problema con Y_INI - Guardado con gettime
#1

Buenas, hoy vendo a pedir algo de ayuda sobre Y_INI

Pasa que realize un sistema de VIP Por tiempo usando gettime pero al desconectarse(guardar cuenta) lanza un error y no se guarda la cuenta, cheque el Log y sale un Debug en el disconnect.
Probe quitando la variable del VIP Por tiempo, y todo normal.
Estube leyengo que puedo guardarlo como string y cargarlo a int con Strval, la duda esta en
їComo lo combierto a INI con Strval?
Las lineas del VIP Son asi:

en el comando:
Usuario[playerid][uVipTiempo] = (Tiempo * 86400) + gettime();

en el guardado:
INI_WriteInt(File,"VipTiempo",Usuario[playerid][uVipTiempo]);

en el cargado:
INI_Int("VipTiempo",Usuario[playerid][uVipTiempo]);

Espero y pueda solucionarlo
Reply


Messages In This Thread
Problema con Y_INI - Guardado con gettime - by EdgarHN - 18.09.2016, 18:53
Re: Problema con Y_INI - Guardado con gettime - by jhgr16 - 18.09.2016, 20:09
Re: Problema con Y_INI - Guardado con gettime - by EdgarHN - 18.09.2016, 23:59

Forum Jump:


Users browsing this thread: 1 Guest(s)