Skip to main content

readfile

Returns the contents of the file, or nil if the file doesn't exist.

readfile(filename: string): string

Arguments

NameDescriptionType
filenameThe filename relative to the CS:GO directory.string

Returns string