This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
tazerman2
hello all i have make this in gatekeeper is for show a message with time bar.
ingame show me message + bar timer but do teleport without click [ OK ] button.
i need someone help me with this problem and do teleport if player click only [ OK ]
here is the code
if (condition == COND_REGULAR) { ConfirmDlg showBar = new ConfirmDlg(SystemMessageId.WILL_BE_MOVED.getId()); showBar.addZoneName(getX(), getY(), getZ()); showBar.addTime(5000); player.sendPacket(showBar); doTeleport(player, whereTo); return; }Edited by tazerman210 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now