public static void OnUnmountTaxi(Character ch,Trajet t) { ch.MountModel = (int)0; ch.taxiOn = false; ch.Copper =(uint)(ch.Copper - ch.TaxiPrice); if(ch.Summon != null) ch.Summon.Freeze = false; int offset = 4; ch.Speed = 8f; ch.RunSpeed = 7f; Converter.ToBytes( 1, ch.tempBuff, ref offset ); Converter.ToBytes( (byte)0, ch.tempBuff, ref offset ); ch.PrepareUpdateData( ch.tempBuff, ref offset , UpdateType.UpdateFull, false ); ch.Send( OpCodes.SMSG_UPDATE_OBJECT, ch.tempBuff, offset ); ch.ItemsUpdate(); ch.ForcePosition(t[t.Count - 1].x,t[t.Count - 1].y,t[t.Count - 1].z,ch.Orientation); }