Yini problem
#1

Hi

I have problem with saving gettime() in yini..for example its:

Код:
1521244746
and i can't save it...Which is max value for INI_WriteInt ? Is there and other way to store it with yini..


thanks
Reply
#2

Show us your code, where you are saving the timestamp.
Reply
#3

yes, y ini cant save big value for write integer, divide it by 10 and when you load it multiply it by 10. or save it as string and load it as string.
Reply
#4

Quote:
Originally Posted by Stev
Посмотреть сообщение
Show us your code, where you are saving the timestamp.
Код:
PlayerInfo[playerid][pVip] = (gettime() +86400*30); //one month for vip..
And simple save

Код:
INI_WriteInt(File,"Vip",PlayerInfo[playerid][pVip]);
Quote:
Originally Posted by xMoBi
Посмотреть сообщение
yes, y ini cant save big value for write integer, divide it by 10 and when you load it multiply it by 10. or save it as string and load it as string.

I will try this. Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)