SlashCo Wiki

SlashCo.OfferingVoteSuccess

  SlashCo.OfferingVoteSuccess( number id )

Description

Applies the winning Offering vote for the lobby, running the SlashCo:UnselectOffering hook for the previous Offering (if any) and the SlashCo:SelectOffering hook for the new one.
Ends the vote for every player. Does nothing if the given Offering is already the active one.

Arguments

1number id

ID of the Offering that won the vote