G.IncludeClientFile
From GMod Wiki
Function | |
Syntax |
IncludeClientFile( String filepath ) Where is this used? |
Description: | |
Convenience function used in shared files If called serverside the filepath is passed on to AddCSLuaFile. If called clientside the filepath is passed on to include. |
|
Returns: | nil |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.IncludeClientFile]G.IncludeClientFile [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Do not be tempted to use this function to include the script you are calling it from, that causes an error
- Source