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;
|
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:
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.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;
Sincerely RSRoyal
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;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |