Timokha 0 Posted July 10, 2021 Hi all, Please advise on how to deactivate premium account. I have to set variable #VIP to 0 automatically, when the time expires. But I have no clue, how automatically in real time do that. // SCRIPT // ... set #VIP, 1; set #VIP_delay, gettimetick(2) + 60; // 1 min ... } When the time expires, the variable #VIP remain the same ( == 1 ). I use if (gettimetick(2) < #VIP_delay) to show player, if the premium is still active. But I have to set it to 0 to deactivate all benefits from Premium acc, otherwise it shall remain activated forever. ~ Highly appreciate your help. Quote Share this post Link to post Share on other sites
Hi all,
Please advise on how to deactivate premium account.
I have to set variable #VIP to 0 automatically, when the time expires.
But I have no clue, how automatically in real time do that.
// SCRIPT // ... set #VIP, 1; set #VIP_delay, gettimetick(2) + 60; // 1 min ... }
When the time expires, the variable #VIP remain the same ( == 1 ).
I use if (gettimetick(2) < #VIP_delay) to show player, if the premium is still active.
But I have to set it to 0 to deactivate all benefits from Premium acc, otherwise it shall remain activated forever. ~
Highly appreciate your help.
Share this post
Link to post
Share on other sites