Garry's Mod Wiki

PrecacheSentenceFile

Description

Load and precache a custom sentence file.

Arguments

1 string filename
The path to the custom sentences.txt.

Example

Precache a file named "customsentences.txt" in the data directory.

PrecacheSentenceFile( "data/customsentences.txt" )
Output: Loads and precaches the sentences.

Page Links


Special Pages


Wikis

?

Render Time: 108ms

DB GetPage 6
Generate Html 2
SaveChanges 81
Render Body 0
Render Sidebar 17