Squirrel/Client/Functions/Sounds/PlayFrontEndTrack
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with "This functions plays a front end track based on it's ID to the local player ( client ). == Syntax == <code>PlayFrontEndTrack( int trackid )</code> == Arguments == * '''tra...") |
(→Example) |
||
Line 11: | Line 11: | ||
== Example == | == Example == | ||
− | <code> | + | <code lang="squirrel">function onScriptLoad() |
− | function onScriptLoad() | + | |
{ | { | ||
PlayFrontEndTrack(16); | PlayFrontEndTrack(16); | ||
− | } | + | }</code> |
− | </code> | + |
Revision as of 11:57, 27 July 2012
This functions plays a front end track based on it's ID to the local player ( client ).
Syntax
PlayFrontEndTrack( int trackid )
Arguments
- trackid - The id of the front end track
Example
function onScriptLoad() { PlayFrontEndTrack(16); }