Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[BUG]Admin Vs. Admin
#3
Nean Wrote:So, when I try to attack another Admin, it says "You cannot attack him, for thou art an Admin", however it still does the damage to him. It does the same, if the other char has no access. I checked out the:
Code:
' Check to make sure that they dont have access
    If GetPlayerAccess(Attacker) > ADMIN_MONITOR Then
        Call PlayerMsg(Attacker, "You cannot attack any player for thou art an admin!", BrightBlue)
        Exit Function
    End If
, and I see no problems....

Read that code and what it says

You can not attack anyone else cause though art an admin

That means you cant attack anyone else because you are an admin. So remove that if you want to kill helpless people

if you want so as an admin you cant be attacked change to...

well you gotta see if attacker is =< ADMIN_MONITOR and then see if person being attacked is >

that way admins can attack anyone but if your below admin you cant attack admins
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)