Garry's Mod Wiki

Player:DisableWorldClicking

  Player:DisableWorldClicking( boolean disable )

Just Added

This was just added in the latest version (2023.01.25). It might only be available on the Dev Branch right now.

Description

Disables world clicking for given player. See Panel:SetWorldClicker and Player:IsWorldClickingDisabled.

Arguments

1 boolean disable
Whether the world clicking should be disabled.