Garry's Mod Wiki

SoundDuration

SoundDuration

  number SoundDuration( string soundName )

Description

Returns the duration of the specified sound in seconds.

This function doesn't work proprely on MacOS and Linux.

Issue Tracker: 936

Arguments

1 string soundName
The sound file path.

Returns

1 number
Sound duration in seconds.

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 8