what rank is 3 and what rank is 5?
|
How would i do this ive done this
AndCode:if (c.playerRights == 5 || c.playerRights == 3) coCommands(c, playerCommand);
But the co-owner rank doesnt Inherit the commandsCode:if (c.playerRights == 3 || c.playerRights == 5) coCommands(c, playerCommand);
can you not just use
example:Code:>=
Code:if(rights == 0) { // player commands } if(rights >= 1) { // mod / admin / owner } if(rights >= 2) { // admin / owner } if(rights == 3) { // owner }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |