parent
f25597540d
commit
de7e84b45b
@ -1,20 +0,0 @@
|
|||||||
|
|
||||||
function Initialize(Plugin)
|
|
||||||
Plugin:SetName("SelfTest")
|
|
||||||
Plugin:SetVersion(1)
|
|
||||||
|
|
||||||
cPluginManager.AddHook(cPluginManager.HOOK_WORLD_STARTED, OnWorldStarted)
|
|
||||||
|
|
||||||
LOG("Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion())
|
|
||||||
return true
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function OnWorldStarted(World)
|
|
||||||
LOG("Stopping")
|
|
||||||
cRoot:Get():QueueExecuteConsoleCommand("stop");
|
|
||||||
return false
|
|
||||||
end
|
|
Loading…
Reference in New Issue
Block a user