ft2085267
Sorceror
I want players to meet the conditions in order to see another player (this is not a stealth and hide), I read a "RunUO/Server/Item.cs" and "RunUO/Server/Mobile.cs", there SendInfoTo Item found ways to achieve this goal. But Mobile.cs not found, you can help me?
Thank you very much
I'm sorry,My English is not very good
Here is an example of an item:
public override void SendInfoTo( NetState state, bool sendOplPacket )
{
Mobile mob = state.Mobile;
if ( mob != null)
{
if ( mob.Name == this.oName )
{
base.SendInfoTo(state, sendOplPacket);
}
}
}
Thank you very much
I'm sorry,My English is not very good
Here is an example of an item:
public override void SendInfoTo( NetState state, bool sendOplPacket )
{
Mobile mob = state.Mobile;
if ( mob != null)
{
if ( mob.Name == this.oName )
{
base.SendInfoTo(state, sendOplPacket);
}
}
}