Myst
Posts : 27 Join date : 2010-04-12 Age : 30 Location : The Netherlands
| Subject: Pest control; adding void Wed Apr 14, 2010 2:51 pm | |
| Open Mostclicking.java search: c.pcPoints (scroll down, after you see "if(c.option === 3 && c.pcPoints." etc. then put this under it: - Code:
-
if(c.option == 4 && c.pcPoints >= 750 && System.currentTimeMillis() - c.lastAction > c.actionInterval){ c.addItem(----, 1); c.addItem(----, 1); c.addItem(----, 1); c.addItem(----, 1); c.addItem(----, 1); c.pcPoints -= 750; c.closeInterface(); c.actionInterval = 6000; c.lastAction = System.currentTimeMillis(); } if(c.option == 4 && c.pcPoints < 5 && System.currentTimeMillis() - c.lastAction > c.actionInterval){ c.sM("You do not have enough points! You need 750!"); c.actionInterval = 6000; c.lastAction = System.currentTimeMillis(); Replace "----" with void id | |
|