VIP with time
#1

hello guys, how to make vip with time.. example: 1 month, 1 year.. and save it with .ini

my friend tell me use timestamp. but, i dont know how to make it.. please help me !!!!
Reply
#2

UNIX Timestamp. ****** it. If you still cannot work it out, use a pre-released script.
Reply
#3

man try to use SetTimer("VIPTime", How Much time want, 1);
Reply
#4

Quote:
Originally Posted by AldoT
Посмотреть сообщение
man try to use SetTimer("VIPTime", How Much time want, 1);
Yes, it is such a great idea to set a timer for 1 YEAR!

Anyway.
First of all you need a stats-system, where you store the players stats. You can either make your own one, or use a pre-made one, that doesn't matter. Once you got this, you can easily check the playtime of any user, and activate their VIP once the wanted time is reached.
Here, you have to use SetTimer for sure, but you'll need a timer which checks ~each minute, if one of the online players passed the playtime of X hours.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)