Lua Events/OnSteamWorkshopItemCreated

From PZwiki
< Lua Events
Revision as of 21:27, 23 June 2023 by Faalagorn (talk | contribs) (Faalagorn moved page Lua Events/OnSteamWorkshopItemCreated to Lua Events/OnSteamWorkshopItemCreated: Remove Modding: prefix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



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.