mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
24
gamemodes/ixhl2rp/plugins/goi_cityfunds/sv_hooks.lua
Normal file
24
gamemodes/ixhl2rp/plugins/goi_cityfunds/sv_hooks.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
function PLUGIN:SaveData()
|
||||
if timer.Exists("ixCityFund") then
|
||||
ix.data.Set("cityFundTimer", timer.TimeLeft("ixCityFund"))
|
||||
end
|
||||
ix.factionBudget:SaveBudgets()
|
||||
end
|
||||
|
||||
function PLUGIN:LoadData()
|
||||
ix.factionBudget:LoadBudgets()
|
||||
end
|
||||
|
||||
function PLUGIN:InitPostEntity()
|
||||
self:SetupProductionTimer()
|
||||
end
|
||||
Reference in New Issue
Block a user