From Liberty Unleashed Wiki
This function plays an internal GTA mission sound.
- bool PlayFrontEndTrack( player plr, int sound )
- plr - The player to play the sound for
- sound - The ID of the sound to play
Explanation for the example
- function onPlayerCommand( player, cmd )
- if ( cmd == "playtrack" )
- PlayFrontEndTrack( player, 350 );
- return 1;
-- The call onPlayerCommand was used in in this example. More info about this in the corresponding page.