public override void SendInfoTo(NetState state, bool sendOplPacket)
{
if (state.Mobile != null && state.Mobile.AccessLevel >= AccessLevel.Administrator)
base.SendInfoTo(state, sendOplPacket);
}
oooh, where would this go? I'm trying to make it so GMs cant see hidden Faction traps only Admins +.Hey,
I think if you overwrite the following method (in your item) with this it should do the trick:
C#:public override void SendInfoTo(NetState state, bool sendOplPacket) { if (state.Mobile != null && state.Mobile.AccessLevel >= AccessLevel.Administrator) base.SendInfoTo(state, sendOplPacket); }
Just place it anywhere in the BaseFactionTrap class and it should workoooh, where would this go? I'm trying to make it so GMs cant see hidden Faction traps only Admins +.
Thank you
Thank you!Just place it anywhere in the BaseFactionTrap class and it should work
We use essential cookies to make this site work, and optional cookies to enhance your experience.