require
require( string name )
Description
First tries to load a binary module with the given name, if unsuccessful, it tries to load a Lua module with the given name.
This function will try to load local client file if
sv_allowcslua is set to 1Binary modules can't be installed as part of an addon and have to be put directly into
garrysmod/lua/bin/ to be detected.
This is a safety measure, because modules can be malicious and harm the system.Arguments
Page views: 29,950
Updated: This Year
Updated: This Year
Garry's Mod
Rust
Steamworks
Wiki Help