Пример #1
0
    public static void PlayAt(ID ClipId, Vector3 Position)
    {
        Self.ActualPlayAt(ClipId, Position);

        if (Net.Work.IsNetworkServer())
        {
            Self.PleasePlayAtForOthers(ClipId, Position);
        }
        else
        {
            Self.RpcId(Net.ServerId, nameof(PleasePlayAtForOthers), ClipId, Position);
        }
    }