Lua Events/OnSteamWorkshopItemCreated

From PZwiki



Event

OnSteamWorkshopItemCreated

Description

Triggered after a new Steam workshop item was successfully created.

Parameters

  • String The Steam identifier of the user who created the workshop item.
  • Boolean Whether the user has to accept the workshop legal agreement.

Examples

local function OnSteamWorkshopItemCreated(steamId, userNeedsToAcceptWorkshopLegalAgreement)
	-- Your code here
end

Events.OnSteamWorkshopItemCreated.Add(OnSteamWorkshopItemCreated)

See also

No related event.