MapServer.PlayerObject.IsGM C# (CSharp) Method

IsGM() public method

public IsGM ( ) : bool
return bool
        public bool IsGM()
        {
            if (GameServer.IsTestMode()) return true;
            String name = this.GetName();
            if (name.IndexOf("[PM]") <= 0) return false;
            return true;
        }