A New Evolution of Pking
 
Legacy-PkHomeRegisterLog in

Share | 
 

 Pest control; adding void

Go down 
AuthorMessage
Myst

avatar

Posts : 27
Join date : 2010-04-12
Age : 24
Location : The Netherlands

PostSubject: 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
Back to top Go down
 
Pest control; adding void
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Legacy-Pk  :: General Disucussion-
Jump to: