AddCSLuaFile

From Garry's Mod
Revision as of 16:08, 26 February 2013 by Facepunch bot (Talk | contribs)
Jump to: navigation, search
 AddCSLuaFile( )

Contents

Description

Marks a Lua file to be sent to clients when they join the server.

Arguments

string file

The name/path (relative to the garrysmod/lua folder) to the Lua file that should be sent.

Examples

Example

Adds the cl_init.lua file in the "lua" folder to be downloaded by connecting clients.

AddCSLuaFile( "cl_init.lua" )


Personal tools
Navigation