Bump
|
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?
Bump
in attack player method add
something like this not spoonfeeding
Code:(c.playerRights < 1 && o.playerRights >1) { c.sendMessage("No")' returm; }
Code:if (c.playerRights != o.playerRights) { c.sendMessage("You cannot attack this player."); return; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |