Thread: Inwild Help please stop people from attacking Certain Members

Results 1 to 6 of 6
  1. #1 Inwild Help please stop people from attacking Certain Members 
    Registered Member jdakiller2's Avatar
    Join Date
    Dec 2013
    Posts
    433
    Thanks given
    13
    Thanks received
    7
    Rep Power
    19
    hey currently ive added a rank to stop people from attacking someone in the wild, however how do i make it where lets say
    mods can only attack mods?
    no one else can attack mods?
    Reply With Quote  
     

  2. #2  
    Registered Member jdakiller2's Avatar
    Join Date
    Dec 2013
    Posts
    433
    Thanks given
    13
    Thanks received
    7
    Rep Power
    19
    Bump
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    in attack player method add

    something like this not spoonfeeding
    Code:
     (c.playerRights < 1 && o.playerRights >1) {
    c.sendMessage("No")'
    returm;
    }
    Reply With Quote  
     

  4. #4  
    Donator

    Join Date
    Jun 2012
    Posts
    637
    Thanks given
    129
    Thanks received
    87
    Rep Power
    57
    Code:
    if (c.playerRights != o.playerRights) {
    c.sendMessage("Msg");
    return;
    }
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Aug 2014
    Posts
    318
    Thanks given
    0
    Thanks received
    25
    Rep Power
    0
    Code:
    if (c.playerRights != o.playerRights) {
    c.sendMessage("You cannot attack this player.");
    return;
    }
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by NoChildSupport View Post
    Code:
    if (c.playerRights != o.playerRights) {
    c.sendMessage("Msg");
    return;
    }
    Would work to for all rights but i think he wants mod only or i didnt understand it
    Quote Originally Posted by Zankz View Post
    Code:
    if (c.playerRights != o.playerRights) {
    c.sendMessage("You cannot attack this player.");
    return;
    }
    You just copied NoChildSupport's code and changed the message rep hungrey much you aint getting any credits leecher
    Reply With Quote  
     

  7. Thankful user:



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. Stopping people from attacking you
    By relex lawl in forum Snippets
    Replies: 2
    Last Post: 12-07-2011, 04:43 AM
  2. Replies: 10
    Last Post: 08-27-2009, 02:33 AM
  3. Replies: 30
    Last Post: 07-15-2009, 10:36 PM
  4. Replies: 3
    Last Post: 03-15-2009, 05:48 AM
  5. Replies: 21
    Last Post: 02-29-2008, 10:17 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •