Garry's Mod Wiki

SoundDuration

number SoundDuration( string soundName )

Description

Returns the duration of the sound specified in seconds.

This only works properly for .wav files.

Issue Tracker: 936

Arguments

1 string soundName
The sound file path.

Returns

1 number
Sound duration in seconds.

Page Links


Special Pages


Wikis

?

Render Time: 164ms

DB GetPage 7
Generate Html 2
SaveChanges (1) 131
Render Body 0
Render Sidebar 20