SoundDuration

From Garry's Mod
Jump to: navigation, search
 SoundDuration( )

Description

Returns the duration of the sound specified in seconds.

BUG

This only works properly for .wav files serverside.

Issue Tracker: #936

Arguments

string soundName

The sound file path.

Returns

number

Sound duration in seconds.
Personal tools
Navigation