Lua Events/OnInitGlobalModData

From PZwiki



Event

OnInitGlobalModData

Description

Triggered after GlobalModData has been initialized.

Parameters

  • Boolean Whether this is a new game or not.

Examples

local function OnInitGlobalModData(isNewGame)
	-- Your code here
end

Events.OnInitGlobalModData.Add(OnInitGlobalModData)

See also