edumander Posted September 11, 2019 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 04/18/16 Last Seen: November 22, 2019 Share Posted September 11, 2019 I'm trying to put this command but it doesn't show the time set .@timer, vip_status(2); mes "[VIP]"; mes "TVIP left: "+.@timer; Quote Link to comment Share on other sites More sharing options...
0 pajodex Posted September 12, 2019 Group: Members Topic Count: 79 Topics Per Day: 0.03 Content Count: 439 Reputation: 173 Joined: 12/12/17 Last Seen: Monday at 05:33 PM Share Posted September 12, 2019 - script vip_info -1,{ OnVIPInfo: if (!vip_status(VIP_STATUS_ACTIVE)) { dispbottom "You are not a VIP member. You may purchase one at Cash Shop.",0xff0000; end; } dispbottom "VIP Time Left: "+ Time2Str(vip_status(VIP_STATUS_REMAINING)+gettimetick(2)),0x5cdcff; end; OnInit: bindatcmd "vipinfo", strnpcinfo(0)+"::OnVIPInfo"; } Quote Link to comment Share on other sites More sharing options...
0 edumander Posted September 12, 2019 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 04/18/16 Last Seen: November 22, 2019 Author Share Posted September 12, 2019 Doesn't work... This is my full npc // Portal saída sec_in02,127,162,0 warp quiz_0233783#prontera155183 2,2,prontera,155,183; // Loja de Utilidades sec_in02,130,166,5 shop Utilidades 740,611:-1,1750:-1,1752:-1,1754:-1,1755:-1,1065:-1,717:-1,610:-1,514:-1 //*************\\ // MAPFLAGS \\ //=============\\ sec_in02.gat mapflag nosave SavePoint sec_in02.gat mapflag noteleport sec_in02.gat mapflag nowarpto sec_in02.gat mapflag nowarp sec_in02.gat mapflag noskill sec_in02.gat mapflag noreturn sec_in02.gat mapflag nodrop sec_in02.gat mapflag novending //*************\\ // WARPER \\ //=============\\ prontera,147,170,6 script Porteiro VIP 720,{ if(getgroupid() >= 1){ set .@timer, vip_status(2); mes "[Porteiro VIP]"; mes "Tempo de VIP restante: "; next; mes "Gostaria de entrar na Sala VIP?"; next; switch(select("Sim:Não")) { case 1: mes "[Porteiro VIP]"; mes "Vamos nessa..."; next; warp "sec_in02", 146, 162; close2; break; case 2: mes "[Porteiro VIP]"; mes "Certo!"; mes "Até mais!"; close2; break; } }else{ mes "[Porteiro VIP]"; mes "Desculpe, você não é VIP."; } OnInit: waitingroom "Sala VIP", 0; end; } Quote Link to comment Share on other sites More sharing options...
Question
edumander
I'm trying to put this command but it doesn't show the time
set .@timer, vip_status(2);
mes "[VIP]";
mes "TVIP left: "+.@timer;
Link to comment
Share on other sites
2 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.