CreatePlugin (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
m Text replacement - "<code lua>" to "<SyntaxHighlight code="lua">" Tags: mobile web edit mobile edit |
m Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">" |
||
Line 13: | Line 13: | ||
{{Example| | {{Example| | ||
This code will create a plugin using the PluginManager: | This code will create a plugin using the PluginManager: | ||
< | <syntaxhighlight lang="lua"> | ||
plugin = PluginManager():CreatePlugin() | plugin = PluginManager():CreatePlugin() | ||
</SyntaxHighlight> | </SyntaxHighlight> |
Revision as of 04:44, 27 April 2023
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
![]() | |
Returns | Instance |
Description: | Returns a Plugin. |
Member of: | PluginManager |
Example
This code will create a plugin using the PluginManager:
plugin = PluginManager():CreatePlugin()