Template:AR/Client audio functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "==Syntax== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua"> bool playSoundFrontEnd ( player thePlayer, int sound ) </syntaxhighlight> ===Required Arguments=== *'''the...")
 
(Blanked the page)
 
Line 1: Line 1:
==Syntax==
<section name="Server" class="server" show="true">
<syntaxhighlight lang="lua">
bool playSoundFrontEnd ( player thePlayer, int sound ) 
</syntaxhighlight>


===Required Arguments===
*'''thePlayer:''' The [[player]] you want the sound to play for.
*'''sound:''' A whole [[int]] specifying the sound id to play. Valid values are:
{{Sounds}}
</section>
<section name="Client" class="client" show="false">
<syntaxhighlight lang="lua">
bool playSoundFrontEnd ( int sound ) 
</syntaxhighlight>
===Required Arguments===
*'''sound:''' A whole [[int]] specifying the sound id to play. Valid values are:
{{Sounds}}
</section>
===Returns===
Returns ''true'' if the sound was successfully played, ''false'' otherwise.

Latest revision as of 20:37, 28 March 2014