Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Range/Volume checks not working? #3

@FALL1N1

Description

@FALL1N1

Hello,

I'm using latest revision/version of the plugin as of today (a7da79f) and the radius check doesn't seem to work (despite how far you go- neither the volume changes nor it stops), the volume check also does not work for the player who "started" the sound while it works fine for the players nearby. For example - if Player1 starts a sound he will hear it with 100% volume (despite it being 0.0X in the code), while the nearby will hear it for the proper value.

My code can be found here - https://github.com/FALL1N1/FiveM-Prophunt, and the PlayCustomSounds implementation - here https://github.com/FALL1N1/FiveM-Prophunt/blob/ae6a3655a230f62b05b7e48e1b9c85a2dcaec85d/PropHuntV.Client/PropHunt.cs#L190

(The commented out line below works as well the same way)

Anyone got any clues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions