Bump
|
Code:case 9013: if (System.currentTimeMillis() - c.lastVeng > 50000) { c.startAnimation(3129); c.lastVeng = System.currentTimeMillis(); c.sendMessage("You invoked the sceptre and teleported home."); c.teleportToX = 2607; c.teleportToY = 3096; } break;
Trying to make it do a animation Then teleport. :censor:
Bump
Still Need This.
add a timer?
Explain..
I tried using wait but it didn't do me any good, Rsps Api's are so weird.
I tryed using wait(10);
I added the void but nothing happens just a shit load of errors, Does anyone the Api wait for Rsps Api's?
Tick timers are best to use and to do the animation first you need to either put it before the
animation here
if (System.currentTimeMillis() - c.lastVeng > 50000) {
or the tick timer that you added so like
animation here
player.ticktimerhere = 2;
if(player.ticktimerhere == 0) {
teletotheplace
}
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |