er2.playClipOnRadio 39

Play a global Audio Clip with a radio distortion effect (.wav)


Return value

Return TypeDescription
voidthis function doesn't return anything

Parameters

ParameterTypeDescription
1stringFile name and extension of the clip to play. Currently only .wav files are supported. File must be placed inside a folder called "sounds" inside your mission folder (C://..../yourmission/sounds/)
2bool(Optional) Set to true if you want the clip to be played on all clients. False if you want it to be played on the client executing the script only. Default is True
3float(Optional) Delay in seconds before playing the clip. Default is 0

Examples

No examples available.


Back to Scripting API