Garry's Mod Wiki

resource.AddSingleFile

  resource.AddSingleFile( string path )

Description

Adds the specified file to the files the client should download.

If you wish to add textures or models, consider using resource.AddFile to add all the files required for a texture/model.

There's a 8192 downloadable file limit. If you need more than 8192, consider using Workshop addons - resource.AddWorkshop. You should also consider the fact that you have way too many downloads. This limit is shared among all resource.Add functions.
The file must exist on the server or players will not download it!

Arguments

1 string path
Path of the file to be added, relative to garrysmod/