Method | Description | |
---|---|---|
AddFile ( LuaState luaState, string path ) : void |
Adds the specified and all related files to the files the client should download.
|
|
AddSingleFile ( LuaState luaState, string path ) : void |
Adds the specified file to the files the client should download.
|
|
AddWorkshop ( LuaState luaState, string workshopId ) : void |
Adds a workshop addon for the client to download before entering the server.
|
public static AddFile ( LuaState luaState, string path ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
path | string | Path of the file to be added, relative to garrysmod root folder. |
return | void |
public static AddSingleFile ( LuaState luaState, string path ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
path | string | Path of the file to be added, relative to garrysmod root folder. |
return | void |
public static AddWorkshop ( LuaState luaState, string workshopId ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
workshopId | string | The workshop ID of the file. This cannot be a collection. |
return | void |