示例#1
0
    public static void PlaySfx(SfxCatagory Catagory, int Index, Vector3 Pos, float Muffle)
    {
        if (PlayLocally)
        {
            PlaySfxLocally(Catagory, Index, Muffle);
        }

        if (PlayRemote)
        {
            Self.Rpc(nameof(PlaySfxAt), Catagory, Index, Pos, Muffle);
        }
    }