Interface administrators, moderator
2,813
edits
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
==Use in Scripting== | ==Use in Scripting== | ||
Once the module is loaded, all namespaces, classes, functions and properties it provides are available to use in | Once the module is loaded, all namespaces, classes, functions and properties it provides are available to use in scripts. A module's functions are available in the module namespace, inside another namespace with the name of the module. For example, if the module's namespace is "mysql" and it has a "connect" function, then in scripts you would use <code>module.mysql.connect()</code> | ||
==Notes== | ==Notes== | ||
* For more help and information regarding modules, ask on the forum or the discord! | * For more help and information regarding modules, ask on the forum or the discord! | ||
* '''For security reasons, modules can not be used on the client, and the server does not provide a way to distribute and load them onto clients.''' | * '''For security reasons, modules can not be used on the client, and the server does not provide a way to distribute and load them onto clients.''' | ||