Thread: [508] MagicOnPlayer in safe zone

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 [508] MagicOnPlayer in safe zone 
    Gohan.
    Guest
    Like the title says.
    I have no clue fixing this.
    Help really appreciated.
    Reply With Quote  
     

  2. #2  
    Gohan.
    Guest
    Anyone?
    Reply With Quote  
     

  3. #3  
    Registered Member
    The Lizard King's Avatar
    Join Date
    Jun 2008
    Posts
    837
    Thanks given
    13
    Thanks received
    12
    Rep Power
    169
    dont double post please
    Quote Originally Posted by Jim Morrison
    These days, I think you have to be a politician or an assassin to really be a superstar
    Quote Originally Posted by Jim Morrison
    This is the strangest life I've ever known.
    From los angeles california The Doors.
    Reply With Quote  
     

  4. #4  
    Gohan.
    Guest
    Whats wrong with it, and dont say anything nor helping.
    Reply With Quote  
     

  5. #5  
    Runebay™
    Guest
    Quote Originally Posted by Wouter1992 View Post
    dont double post please
    dont spam please.
    Reply With Quote  
     

  6. #6  
    Gohan.
    Guest
    Quote Originally Posted by tookie View Post
    dont spam please.
    Neither do you =/
    Just help instead of fucking spamming.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Nov 2008
    Posts
    61
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    what source you got? if you got espeon send me your magiconplayer and i will fix it
    Reply With Quote  
     

  8. #8  
    Registered Member Marcus|fury upon u's Avatar
    Join Date
    Oct 2008
    Posts
    239
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    add something like this in it.

    if (!Server.engine.wildernessArea(p.absX, p.absY) && p.duelFight()) {
    p.frames.sendMessage(p, "You cannot attack other players in this area.");
    p.resetMagic();
    return;
    }
    Something like that. You can add the zones that u don't want them to be able to attack in.
    -----------------------------------------------------------------------
    Reply With Quote  
     

  9. #9  
    Donator

    iZAjz's Avatar
    Join Date
    Mar 2007
    Age
    26
    Posts
    3,675
    Thanks given
    105
    Thanks received
    47
    Rep Power
    1882
    Hes using pali's as he stated to me
    Reply With Quote  
     

  10. #10  
    Community Veteran


    Join Date
    Dec 2008
    Posts
    4,264
    Thanks given
    405
    Thanks received
    432
    Discord
    View profile
    Rep Power
    1684
    i think pali al ready has the fix in his server?? but if not add this
    Code:
    if (!Server.engine.wildernessArea(p.absX, p.absY) && p.duelFight()) {
    p.frames.sendMessage(p, "You cannot attack other players in this area.");
    p.resetMagic();
    return;
    }
    in your magic.java or magiconplayer.java
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •