Hi, I have been trying to figure out how to display to users their remaining VIP account time.
However, I wasn't able to figure out how to do it.
From what I see, VIP time is stored in the login database as "vip_time", however, the numbers which are displayed there are confusing.
I have managed to create a script to "Add VIP time" using:
atcommand "@vip +24h "+strcharinfo(0)+"";
But how can I display how much VIP time is left for the account each time the user logs in?
I noticed that whenever I use the script above, it bottomdisplays my VIP time remaining, where can I find this code? Is it possible to modify the text it currently displays?
Question
Profile
Hi, I have been trying to figure out how to display to users their remaining VIP account time.
However, I wasn't able to figure out how to do it.
From what I see, VIP time is stored in the login database as "vip_time", however, the numbers which are displayed there are confusing.
I have managed to create a script to "Add VIP time" using:
But how can I display how much VIP time is left for the account each time the user logs in?
I noticed that whenever I use the script above, it bottomdisplays my VIP time remaining, where can I find this code? Is it possible to modify the text it currently displays?
Thanks!
Edited by Profile7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.