Posts: 765
Threads: 183
Joined: Sep 2011
Reputation:
0
I have searched but i don't find any mysql one.
Can anybody tell me how to make a vip system with a limited time of 1 month and save it in mysql database.
Thank You.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
Are you talking about something like a vip with specified days, and when the day comes, the player's vip expired?
If you're talking about that, You might need to use unixtimestamp.
Posts: 912
Threads: 116
Joined: Jun 2012
Reputation:
0
If you don't understand how to use Unix Timestamps then i suggest you post a reply on one of the six script request threads or look for a filterscript since i know there is one somewhere on the forums, just can't find it for you at this current time.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
go to ___'s tutorial, He create a whole explanation about Unix Timestamp.
Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
You have to check if he is vip maybe every connection or where you want.. you need to create a query by saving the current date plus one month after which uses another query to check if the current date is greater than the date that you saved
Posts: 1,223
Threads: 5
Joined: Sep 2011
Reputation:
0
Ehh, I just made one that checks if day > daylastintxtfile days++ then save that (along with the getdate day). Then again, I only did that so they didn't lose VIP days if the server was down for an entire day.