Audio::playPedRingtone: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
Line 1: Line 1:
All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/RFb4GTny<br><br>AUDIO::PLAY_PED_RINGTONE('Remote_Ring', PLAYER::PLAYER_PED_ID(), 1);<br>AUDIO::PLAY_PED_RINGTONE('Dial_and_Remote_Ring', PLAYER::PLAYER_PED_ID(), 1);<br>
All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/RFb4GTny<br><br>AUDIO::PLAY_PED_RINGTONE('Remote_Ring', PLAYER::PLAYER_PED_ID(), 1);<br>AUDIO::PLAY_PED_RINGTONE('Dial_and_Remote_Ring', PLAYER::PLAYER_PED_ID(), 1);<br>
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.playPedRingtone(ringtoneName, ped, p2);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.playPedRingtone(ringtoneName, ped, p2);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''ringtoneName:''' String
*'''ringtoneName:''' String

Revision as of 21:04, 6 May 2017

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

AUDIO::PLAY_PED_RINGTONE('Remote_Ring', PLAYER::PLAYER_PED_ID(), 1);
AUDIO::PLAY_PED_RINGTONE('Dial_and_Remote_Ring', PLAYER::PLAYER_PED_ID(), 1);

Syntax

mp.game.audio.playPedRingtone(ringtoneName, ped, p2);

Required Arguments

  • ringtoneName: String
  • ped: Ped handle or object
  • p2: Boolean

Return value

  • Undefined

Example

// todo

See also