G.AddCSLuaFile

From GMod Wiki

Revision as of 06:22, 23 March 2011 by Wizard (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax AddCSLuaFile( String FileName )
Where is this used?
Description:
Used to send lua files to client.
Returns: nil
Part of Library: Global Functions
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.AddCSLuaFile]G.AddCSLuaFile [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSending to the clients the files they need.
Used onNewerServer.png
Code
AddCSLuaFile( "shared.lua" )
AddCSLuaFile( "cl_init.lua" )
OutputN/A


Additional Notes

See Also

G.IncludeClientFile

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox