resource.AddSingleFile

From Garry's Mod
Jump to: navigation, search
 resource.AddSingleFile( )

Description

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

NOTE

There's a 8192 downloadable file limit. If you need more, 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.

Arguments

string path

Path of the file to be added, relative to garrysmod/
Personal tools
Navigation