Audio::playPoliceReport: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
Line 1: Line 1:
Please change to void. (Does not return anything!)<br><br>Plays the given police radio message.<br><br>All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/GBnsQ5hr
Please change to void. (Does not return anything!)<br><br>Plays the given police radio message.<br><br>All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/GBnsQ5hr<br><br>Changing the time halts the police reports, which means scripts that constantly update the time break this function.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.audio.playPoliceReport(name, p1);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.playPoliceReport(name, p1);</syntaxhighlight>

Latest revision as of 15:17, 4 July 2020

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

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

Required Arguments

  • name: String
  • p1: float

Return value

  • unknown (to be checked)

Example

// todo

See also