Thread: Portal help

Results 1 to 3 of 3
  1. #1 Portal help 
    Registered Member Rancid's Avatar
    Join Date
    Oct 2008
    Posts
    43
    Thanks given
    0
    Thanks received
    0
    Rep Power
    14
    Okay I want to make a portal that teles you to one area if your wearing a tem-46-cape and teles you to a different area if your wearing a different team cape. Can anyone help me at all?
    Reply With Quote  
     

  2. #2  
    Registered Member pkd you5's Avatar
    Join Date
    Feb 2009
    Posts
    41
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Make if statments in your code or something.. my guess would be like case whatever:
    if playerequipt[cape] cape number
    toX
    toY
    if playerequipt[cape] cape number
    so on and so on...
    Reply With Quote  
     

  3. #3  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    Code:
    if (playerEquipment[playerCape] = 4405) {
    toX ####;
    toY ####;
    }
    else {
    return true;
    }
    something like that, change it around to fit your needs and server specifications

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    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
  •