Thread: Making object tele staff problem

Results 1 to 3 of 3
  1. #1 Making object tele staff problem 
    Registered Member
    Join Date
    Apr 2010
    Posts
    46
    Thanks given
    9
    Thanks received
    1
    Rep Power
    0
    Hello RS, i know there might be a simple solution to this problem but i cant find it so i hope somebody here can help.

    I made this command to make a stair at home teleport staffs to staff hq:

    case 1747:
    if(c.playerRights >= 1) {
    c.getPA().movePlayer(3285, 2759, 0);
    c.sendMessage("Welcome to the Military HQ.");
    } else {
    c.sendMessage("This is the stairs to our military HQ, you cant go there!");
    }
    break;
    But to make people donators on my source you have to make them "Rights = 7". So i'd like to make it so the command would only work until rank 6.

    Sincerely RSRoyal
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2009
    Posts
    41
    Thanks given
    4
    Thanks received
    8
    Rep Power
    5
    Code:
    case 1747:
    if(c.playerRights >= 1 && c.playerRights < 7) {
    c.getPA().movePlayer(3285, 2759, 0);
    c.sendMessage("Welcome to the Military HQ.");
    } else {
    c.sendMessage("This is the stairs to our military HQ, you cant go there!");
    }
    break;
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Apr 2010
    Posts
    46
    Thanks given
    9
    Thanks received
    1
    Rep Power
    0
    Quote Originally Posted by Amigos View Post
    Code:
    case 1747:
    if(c.playerRights >= 1 && c.playerRights < 7) {
    c.getPA().movePlayer(3285, 2759, 0);
    c.sendMessage("Welcome to the Military HQ.");
    } else {
    c.sendMessage("This is the stairs to our military HQ, you cant go there!");
    }
    break;
    Thank you so much!
    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

Similar Threads

  1. Please help my object tele code?
    By H3llk03r in forum Help
    Replies: 3
    Last Post: 04-26-2010, 07:37 AM
  2. [508]Making Staff Spots and tele Commands
    By 'Ramon in forum Tutorials
    Replies: 36
    Last Post: 02-13-2010, 06:00 PM
  3. How do i tele with object in devo ?
    By Akeid in forum Help
    Replies: 9
    Last Post: 12-05-2009, 09:15 PM
  4. Staff/Tele/Kill Commands are not working?
    By Re4master8 in forum Projects
    Replies: 3
    Last Post: 11-27-2008, 09:06 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •