если ты про двери то попробуй это
using Oxide.Core.Plugins;
using Rust;
using System;
namespace Oxide.Plugins
{
[Info("NoDoorAnimation", "xryyyyyy", "2")]
public class NoDoorAnimation : RustPlugin
{
[HookMethod("OnRpc")]
private object OnRpc(BasePlayer player, BaseEntity entity, string rpcName)
{
if (entity == null) return null;
if (entity is Door door)
{
if (rpcName == "RPC_OpenDoor")
{
door.SetFlag(BaseEntity.Flags.Open, true);
door.SendNetworkUpdateImmediate();
return false;
}
if (rpcName == "RPC_CloseDoor")
{
door.SetFlag(BaseEntity.Flags.Open, false);
door.SendNetworkUpdateImmediate();
return false;
}
}
return null;
}
}
}