Garry's Mod Wiki

DHTML:SetAllowLua

  DHTML:SetAllowLua( boolean allow = false )

Description

Determines whether the loaded page can run Lua code or not. See DHTML for how to run Lua from a DHTML window.

Arguments

1 boolean allow = false
Whether or not to allow Lua.