Thread: Help Please. Delta!

Results 1 to 4 of 4
  1. #1 Help Please. Delta! 
    Casanova
    Guest
    Hey, i am trying to customize my "jail" command a bit. i'm trying to make it so you have to earn 1m in jail to be set free so i decided to make it that you need 1m to go through a magic portal. but the code ain't working....


    Heres My code :

    if(objectID == 2156 && absX == 2935 && absY == 3279) && HasItemAmount(995, 1000000)){
    triggerTele(3099, 3503, 0);
    deleteItem(995, 1000000);
    sM("You are free to go.");
    }



    Heres my error :

    client.java:7276: illegal start of expression
    if(objectID == 2156 && absX == 2935 && absY == 3279) && HasItemAmount(995, 1000000)){
    ^
    client.java:7276: ';' expected
    if(objectID == 2156 && absX == 2935 && absY == 3279) && HasItemAmount(995, 1000000)){

    ^
    2 errors


    If someone could Edited my code to make it work I woulld be very happy!

    rep++
    Reply With Quote  
     

  2. #2  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    use the CODE format please how to do [ CODE] <-- No Space And Ending the statement [ /CODE] < NO SPACE
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Aug 2008
    Posts
    273
    Thanks given
    0
    Thanks received
    0
    Rep Power
    103
    if(objectID == 2156 && !isInJail()){
    if(playerHasItem(995, 1000000)){
    triggerTele(3099, 3503, 0);
    deleteItem(995, 1000000);
    sM("You are free to go.");
    }
    try that, i think it works
    Hola
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    Isn't there some code about this in delta? Requires you to have 250 silver or some bull shit?
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •