Перейти к содержанию

Audio::playPoliceReport

Материал из RAGE MP Wiki Archive
Версия от 15:17, 4 июля 2020; imported>Krotter
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

<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