Skip to content

playSound does not throw any warning/errors #5299

Description

@gh0st2k2

Describe the bug

Calling playSound with non-existing sound files or broken file paths fails silently with no warnings or errors in the debug output

Steps to reproduce

playSound("non_existing_file_path")

Version

Client: Multi Theft Auto v1.6-release-24133
Copyright (C) 2003 - 2026 Multi Theft Auto

Server: MTA:SA Server v1.6-release-23312

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions