# GetSoundDuration

float GetSoundDuration(soundname, actormodel)

# Class

✔️ Server: CBaseEntity
Client: undefined

# Function Description

Returns float duration of the sound. Takes soundname and optional actormodelname.

# Parameters

Type Name Description
string soundname No Description Set
string actormodel No Description Set