diff options
Diffstat (limited to '')
-rw-r--r-- | Plugins/NewTest/main.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Plugins/NewTest/main.lua b/Plugins/NewTest/main.lua new file mode 100644 index 000000000..cd8df03e5 --- /dev/null +++ b/Plugins/NewTest/main.lua @@ -0,0 +1,17 @@ +LOGINFO("main.lua!!")
+LOOLOL = "12345"
+PLUGIN = {}
+
+function Initialize( Plugin )
+ LOGINFO("Initialize in main.lua")
+ PLUGIN = Plugin
+
+ Plugin:SetName("LOLOL new plugin!")
+
+ PluginManager = cRoot:Get():GetPluginManager()
+ PluginManager:AddHook( Plugin, cPluginManager.E_PLUGIN_TICK )
+
+ LOGINFO("Plugin name is: " .. Plugin:GetName() )
+
+ return true
+end
\ No newline at end of file |