take out
'removeAllItems();'
|
Well, I'm trying to add it so that when you die in the duel arena, you get teleported inside the duel arena place and you keep my items. The teleporting part works, but you still lose your items. Here is my code:
Anyone know how to fix?Code:if((absX >= 3332 && absX <= 3358 && absY >= 3243 && absY <=3258 )) { teleportToX = 3377; teleportToY = 3277; sendMessage("You have lost the duel!"); removeAllItems(); return false; } refreshSkills(); KillerId = playerId; deathStage = 0; } }
take out
'removeAllItems();'
Yes, also remove the killerid thing.
remove:
And add rest of code under ApplyDead()Code:removeAllItems(); KillerId = playerId; deathStage = 0;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |