Skip to main content

Audio::playPoliceReport

Please change to void. (Does not return anything!)

Plays the given police radio message.

All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/GBnsQ5hr

Changing the time halts the police reports, which means scripts that constantly update the time break this function.

Syntax

```js mp.game.audio.playPoliceReport(name, p1); ```

Required Arguments

  • name: String
  • p1: float

Return value

  • unknown (to be checked)

Example

```js // todo ```

See also