there is much more than this
because the decremental counter for type 3 runs 2 ticks per seconds, it is not advise to use type 3
type 2 is much preferred, but it risk in going into negative value, so this is usually how I do it
use showdigit type 2 for the countdown, then sleep for the duration, type 3 with 0 value will remove it
and to use this practically for an event, let's say the event only last 5 minute
========================================================
Now for the weird part of this script command
No.1 it run together with pvp counter
if you enter a PVP map, and try to showdigit, it actually show both of themso NEVER use showdigit inside a PVP map
No.2 log out and log in , the counter continues
this is another weird bug about *showdigit, it only send a value to the clientthe countdown is totally handle by the client
for example from the script above,
if you log out inside the guild_vs2 map, just change character, log in back, the counter still shows
OnPCLogoutEvent also fail to remove it
External Links:
How to put countdownshowdigit will continue to countdown if the player logout
No comments:
Post a Comment