2013-05-26 15:20:49 -04:00
|
|
|
|
|
|
|
-- ProtectionAreas.lua
|
|
|
|
-- Defines the main plugin entrypoint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function Initialize(a_Plugin)
|
|
|
|
a_Plugin:SetName("ProtectionAreas");
|
|
|
|
a_Plugin:SetVersion(1);
|
|
|
|
|
2013-06-04 17:05:33 -04:00
|
|
|
InitializeStorage();
|
2013-05-26 15:20:49 -04:00
|
|
|
InitializeHooks(a_Plugin);
|
|
|
|
InitializeCommandHandlers();
|
|
|
|
|
|
|
|
-- TODO: We might be reloading, so there may be players already present in the server
|
|
|
|
-- Reload areas for all present players
|
|
|
|
|
|
|
|
return true;
|
|
|
|
end
|