Thread: [PI] Removing Objects

Results 1 to 5 of 5
  1. #1 [PI] Removing Objects 
    Registered Member Dharmesh's Avatar
    Join Date
    Jul 2010
    Posts
    433
    Thanks given
    9
    Thanks received
    13
    Rep Power
    20
    Guys how do i remove objects? I put it under playerassisant.java but it isnt removing. Please help.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Sep 2010
    Posts
    224
    Thanks given
    15
    Thanks received
    14
    Rep Power
    0
    Quote Originally Posted by Dharmesh View Post
    Guys how do i remove objects? I put it under playerassisant.java but it isnt removing. Please help.
    Offtopic - are you indian? Just asking...

    playerassistant.java?

    Hmm...

    Go into the ObjectManager.java and search for something like this:

    Code:
       public void loadCustomSpawns(Client c) {
    Then add something like this underneath it:

    c.getPA().checkObjectSpawn(-1, CordX of the Object, CordY of the Object, 0, 10);
    Reply With Quote  
     

  3. #3  
    Registered Member Dharmesh's Avatar
    Join Date
    Jul 2010
    Posts
    433
    Thanks given
    9
    Thanks received
    13
    Rep Power
    20
    Yer im indian
    Reply With Quote  
     

  4. #4  
    Registered Member Dharmesh's Avatar
    Join Date
    Jul 2010
    Posts
    433
    Thanks given
    9
    Thanks received
    13
    Rep Power
    20
    Soz for double post but when i try to remove doors how come it doesnt work?

    objectToRemove2(2319, 3677);
    objectToRemove2(2319, 3690);
    Reply With Quote  
     

  5. #5  
    Learner

    Kaiser Btw's Avatar
    Join Date
    Dec 2010
    Posts
    2,420
    Thanks given
    509
    Thanks received
    445
    Rep Power
    209
    replace these things in playerassistant then try might work
    Code:
    	public void removeObject(int x, int y) {
    		object(-1, x, x, 10, 10);
    	}
    	
    	private void objectToRemove(int X, int Y) {
    		object(-1, X, Y, 10, 10);
    	}
    
    	private void objectToRemove2(int X, int Y) {
    		object(-1, X, Y, -1, 0);
    	}
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [PI] Removing objects
    By Nighel in forum Help
    Replies: 2
    Last Post: 04-17-2011, 07:32 PM
  2. Removing Objects
    By Chastity in forum Help
    Replies: 5
    Last Post: 03-23-2011, 02:07 PM
  3. [PI] Removing Objects?
    By Acquittal in forum Help
    Replies: 7
    Last Post: 02-13-2011, 03:30 AM
  4. PI Removing objects
    By n10si t in forum Help
    Replies: 0
    Last Post: 11-30-2010, 01:26 AM
  5. Replies: 1
    Last Post: 04-01-2010, 03:31 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •