public override void OnSpeech(SpeechEventArgs e) { if (e.Mobile != Owner || !IsInside(e.Mobile)) { return; } if (e.Speech.ToLower() == "check house rent") { ForSaleSign.CheckRentTimer(); } }
public override void OnSpeech(SpeechEventArgs e) { if (e.Mobile != Owner || !IsInside(e.Mobile)) { return; } if (e.Speech.ToLower() == "check house rent") { ForSaleSign.CheckRentTimer(); } Timer.DelayCall(TimeSpan.Zero, new TimerStateCallback(AfterSpeech), e.Mobile); }