Skip to content

GetLockTeams

Read the current team-lock flag from lobby options.

options:GetLockTeams()

Inputs: None beyond the GameOptions receiver.

Output: The boolean value, or nil when it cannot be read.

Errors and unavailable states: An unavailable lobby or unreadable native setting returns nil; no Lua argument is required.

Call on a fresh value from GetCurrentGameOptions(). See Lobby options overview.