Audio::playPoliceReport: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
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==Syntax==<syntaxhighlight lang="javascript">audio.playPoliceReport(name, p1);</syntaxhighlight>=== Required Arguments ===*'''name:''' String*'''p1:''' float===Return value===*'''unknown (to be checked)'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
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==
<syntaxhighlight lang="javascript">mp.game.audio.playPoliceReport(name, p1);</syntaxhighlight>
=== Required Arguments ===
*'''name:''' String
*'''p1:''' float
===Return value===
*'''unknown (to be checked)'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

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