Scripting/Client/Functions/PlayFrontEndTrack
Plays one background track (a new call replaces the old one).
Syntax
PlayFrontEndTrack("file.mp3")StopFrontEndTrack()Arguments
- any "file.mp3"
Example
function onScriptLoad()
{
PlayFrontEndTrack( 0 );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Sound
Categories: Client functions | Sound