Garry's Mod Wiki

PrecacheSentenceGroup

  PrecacheSentenceGroup( string group )

Description

Precache a sentence group in a sentences.txt definition file.

Arguments

1 string group
The group to precache.

Example

Precache all metropolice sentences.

PrecacheSentenceGroup( "METROPOLICE" )
Output: Precaches sounds used in all sentences starting with "METROPOLICE".