• 0
Sign in to follow this  
christofereduardo

Vip time left.

Question

-    script    Sample    -1,{

OnPCLoginEvent:
    mes "[Points Viewer]";
    mes "Hello "+strcharinfo(0);
    mes ""+#CASHPOINTS+" Cash and "+#KAFRAPOINTS+" Free Cash.";
    mes "-----------------------------------";
    mes "Time VIP left";
    mes ""+vip_status(2)+"";
    mes "-----------------------------------";
close;
} 

 

Hello would like the vip time foce displayed Days / month / or hours / minutes is somewhat confusing the way it is there.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
-	script	Sample	-1,{

OnPCLoginEvent:
	mes "[Points Viewer]";
	mes "Hello "+strcharinfo(0);
	mes ""+#CASHPOINTS+" Cash and "+#KAFRAPOINTS+" Free Cash.";
	mes "-----------------------------------";
	mes "Time VIP left";
	mes Time2Str(vip_status(VIP_STATUS_REMAINING) + gettimetick(2));
	mes "-----------------------------------";
	close;
} 

Or

Time2Str(VIP_STATUS_EXPIRE)

Edited by n0tttt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this