er2.playMusic 7

Plays a music track globally.


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1stringThe name of the clip to play. Check the music table for the id name
2float(Optional) The volume percentage to play the music. Default is 1.0. The value must be between 0.00 and 1.00

Examples

No examples available.


Back to Scripting API