summaryrefslogtreecommitdiffstats
path: root/Plugins/NewTest/main.lua
blob: cd8df03e5135bb81f5965d409df222eab1929b3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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