
Which is the same for every line ( undefined if the stanza has no lines
indent ( undefined | string) The leading indent of the stanza,. Stanza, by which it is identified in an ra file ( undefined if the stanza name ( undefined | string) The value of the first line of the. Stanza ( undefined if the stanza has no lines yet). nameKey ( undefined | string) The key of the first line of the. options.checkIndent boolean - Check if a stanza is indentedĬonsistently and keep track of the indentation. If you do not want it to do this, use fs = require ( 'fs' ) const ) jpg files with the same name, with a separate error for each missing file. For convenience, this function will automatically add any other files that are related to the selected one, and throw an error if it can't find them. The capitalization of the path must match the actual path. "/".fdir ) end end for k,v in pairs (file.Find (dir. "/*" ) for _, fdir in pairs (list ) do if fdir != ".svn" then // Don't spam people with useless. Resource.AddFile ( "materials/models/sf_block_red_lod1.vmt" )Īdds directories and all the files inside recursively.įunction AddDir (dir ) // Recursively adds everything in a directory to be downloaded by client local list = file.FindDir ( "./".dir. Resource.AddFile ( "materials/models/sf_block_red.vmt" ) Resource.AddFile ( "materials/models/sf_block_metal_lod1.vmt" ) Resource.AddFile ( "materials/models/sf_block_metal.vmt" ) Resource.AddFile ( "materials/models/sf_block_gib_crosssection.vmt" ) Resource.AddFile ( "materials/models/SF_Block_Blue_lod1.vmt" ) Resource.AddFile ( "materials/models/SF_Block_Blue.vmt" ) Resource.AddFile ( "materials/models/sf_block_black.vmt" ) Resource.AddFile ( "models/sf/block_3d_1x2.mdl" ) //SourceForts Materials This requires the "Sourceforts Model Pack" //Models for the 3d 1*2 block Sends models, and materials for the Sourceforts model pack. Resource.AddFile ( "resource/fonts/csd.ttf" )
Send the counter strike font to all the clients that decide to play on the server. Adds a file (and all related files) to the download list for clients.