IsSoundPrecached Function

Returns if a given sound is precached.

bool IsSoundPrecached(const char[] sound)

Parameters

const char[] sound

Name of the sound to check.

Return Value

True if precached, false otherwise.