Garry's Mod Wiki

Player:DisableWorldClicking

  Player:DisableWorldClicking( boolean disable )

Description

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

Arguments

1 boolean disable
Whether the world clicking should be disabled.