Thread: Only dice in certain cc?

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Only dice in certain cc? 
    Donator

    Join Date
    Jun 2012
    Posts
    637
    Thanks given
    129
    Thanks received
    87
    Rep Power
    57
    Only dice in certain cc?
    How can i make this posible?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2010
    Posts
    1,248
    Thanks given
    536
    Thanks received
    179
    Rep Power
    106
    Quote Originally Posted by Hi im 1 3 3 7 View Post
    Only dice in certain cc?
    How can i make this posible?
    If you've already got it implemented, just add a new rights through Player, PlayerSave, call it something like "canDice", false/true (Boolean) and
    if (!canDice) {
    dicemethod();
    } else {
    message("You cannot dice");
    }


    I'm not using the exact RSPS index like c.getPA so you'll have to use them.
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Jun 2012
    Posts
    637
    Thanks given
    129
    Thanks received
    87
    Rep Power
    57
    Quote Originally Posted by Kurdz View Post
    If you've already got it implemented, just add a new rights through Player, PlayerSave, call it something like "canDice", false/true (Boolean) and
    if (!canDice) {
    dicemethod();
    } else {
    message("You cannot dice");
    }


    I'm not using the exact RSPS index like c.getPA so you'll have to use them.
    Thanks for helping but thats not really what i am looking for
    I want so only players can dice in the clan dice
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2010
    Posts
    1,248
    Thanks given
    536
    Thanks received
    179
    Rep Power
    106
    Quote Originally Posted by Hi im 1 3 3 7 View Post
    Thanks for helping but thats not really what i am looking for
    I want so only players can dice in the clan dice
    I want so only players can dice in the clan dice
    What??
    Reply With Quote  
     

  5. #5  
    Donator

    Join Date
    Jun 2012
    Posts
    637
    Thanks given
    129
    Thanks received
    87
    Rep Power
    57
    Quote Originally Posted by Kurdz View Post
    What??
    I only want players to be able to dice in the clan named "Dice" not in any other clans
    Reply With Quote  
     

  6. #6  
    Extreme Donator Only dice in certain cc? Market Banned



    Join Date
    Dec 2010
    Age
    25
    Posts
    6,060
    Thanks given
    1,692
    Thanks received
    1,238
    Rep Power
    1765
    Quote Originally Posted by Kurdz View Post
    If you've already got it implemented, just add a new rights through Player, PlayerSave, call it something like "canDice", false/true (Boolean) and
    if (!canDice) {
    dicemethod();
    } else {
    message("You cannot dice");
    }

    I'm not using the exact RSPS index like c.getPA so you'll have to use them.
    I just died, you might want to read what you just typed.
    Reply With Quote  
     

  7. #7  
    true

    DerekH's Avatar
    Join Date
    Dec 2011
    Age
    19
    Posts
    1,183
    Thanks given
    590
    Thanks received
    261
    Rep Power
    164
    Don't know if your clan system is handled like mine, but you could basically do like :
    Code:
    if (c.clan.getTitle().equalsIgnoreCase("dice")) {
      blablafuckmehard();
    } else {
    c.sendMessage("You cannot dice in a non-dicing clan chat.");
    }
    Pretty sure.
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Sep 2010
    Posts
    1,248
    Thanks given
    536
    Thanks received
    179
    Rep Power
    106
    Quote Originally Posted by Hi im 1 3 3 7 View Post
    I only want players to be able to dice in the clan named "Dice" not in any other clans
    You made that very clear:
    Only dice in certain cc?
    How can i make this posible?
    Quote Originally Posted by Marcus` View Post
    I just died, you might want to read what you just typed.
    What are you talking about, he dindn't specify what he asked for, i gave him a basic rights code

    if (!canDice) {
    dicemethod();
    } else {
    message("You cannot dice");
    }


    Specify what's wrong with that.
    Reply With Quote  
     

  9. #9  
    Donator

    Join Date
    Jun 2012
    Posts
    637
    Thanks given
    129
    Thanks received
    87
    Rep Power
    57
    Quote Originally Posted by derekh View Post
    Don't know if your clan system is handled like mine, but you could basically do like :
    Code:
    if (c.clan.getTitle().equalsIgnoreCase("dice")) {
      blablafuckmehard();
    } else {
    c.sendMessage("You cannot dice in a non-dicing clan chat.");
    }
    Pretty sure.
    didnt work thanks though :l
    Reply With Quote  
     

  10. #10  
    true

    DerekH's Avatar
    Join Date
    Dec 2011
    Age
    19
    Posts
    1,183
    Thanks given
    590
    Thanks received
    261
    Rep Power
    164
    Quote Originally Posted by Hi im 1 3 3 7 View Post
    didnt work thanks though :l
    Didn't work? You probably don't even handle clans as I do, post all your clan classes?
    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

Similar Threads

  1. Make Specials only show up in certain weapons
    By JeremyM in forum Requests
    Replies: 0
    Last Post: 11-03-2009, 08:10 PM
  2. [Tut]Only you can get in certain area's
    By bradster in forum Tutorials
    Replies: 5
    Last Post: 07-18-2009, 04:22 AM
  3. Simple member only log in
    By Ayton in forum Tutorials
    Replies: 4
    Last Post: 01-21-2008, 07:54 AM
  4. Replies: 3
    Last Post: 12-31-2007, 02:23 AM
  5. Keeping stuff when you die (only in certain areas)
    By Xx nub xx in forum Tutorials
    Replies: 0
    Last Post: 05-16-2007, 05:35 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
  •