Skip to content

setRadioChannel not working most of the time #4700

@rxyyy

Description

@rxyyy

Describe the bug

setRadioChannel doesn't work correctly most of the time. In my use case, I set the radio for my server's welcome screen to SF-UR - sometimes the function works and the radio plays as expected, sometimes it plays for a few milliseconds and then stops. There are no other scripts on my server which use setRadioChannel.

2026-02-11.21-21-32.mp4

Steps to reproduce

  1. Optionally use the workaround mentioned on the wiki page for setRadioChannel - setting the channel to 0 outside of any function before setting it to a radio station.
  2. Use setRadioChannel from any script to set the radio station. In my use case, I'm changing it to 5 - SF-UR.
  3. Observe that more than 50% of the time the radio will play for a few milliseconds and then stop.

Version

Client: Multi Theft Auto v1.6-release-23848
Server: MTA:SA Server v1.6-release-23848

Additional context

No response

Relevant log output

Security Policy

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

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