Revision Difference
Global.require#511321
<function name="require" parent="Global" type="libraryfunc">⤶
<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.⤶
⤶
<bug issue="1041" request="813">Running this function with <page>Global.pcall</page> or <page>Global.xpcall</page> will still print an error that counts towards sv_kickerrornum.</bug>⤶
</description>⤶
<realm>Shared and Menu</realm>⤶
<args>⤶
<arg name="name" type="string">The name of the module to be loaded.</arg>⤶
</args>⤶
</function>⤶
⤶