prontera,155,181,5 script Sample 757,{
set .charName$,strcharinfo(0);
mes "[Marco Hombreng]";
mes "Anda hanya memiliki 10 menit di dalam map.";
next;
menu "Gua Iblis[" + getmapusers("morocc") + " / 10]",mangkat;
mangkat:
announce "[Marco Hombreng]: "+strcharinfo(0)+" Masuk Gua Iblis",0;
warp.Map$,0,0;
initnpctimer;
end;
OnInit:
set .Map$,"morocc";
set .timeOut,60000;
end;
OnTimer1000:
if(getnpctimer(0)>=.timeOut)
goto TimesUp;
else
{
message .charName$,"You have "+((.timeOut-getnpctimer(0))/1000)+" Seconds.";
initnpctimer;
}
end;
TimesUp:
message .charName$,"Time's Up!! You will be warped out right now..";
mapannounce .Map$,"Time's Up !! You will be warped out right now..",0;
mapwarp .Map$,"prontera",155,181;
end;
}
please correct my script went wrong, the script timeout not working properly.
OnInit:
set .Map$,"morocc";
set .timeOut,60000;
end;
OnTimer1000:
if(getnpctimer(0)>=.timeOut)
goto TimesUp;
else
{
message .charName$,"You have "+((.timeOut-getnpctimer(0))/1000)+" Seconds.";
initnpctimer;
}
end;
Question
Yasunari Ishibashi
please correct my script went wrong, the script timeout not working properly.
thanks
Edited by Yasunari IshibashiLink to comment
Share on other sites
15 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.