Garry's Mod Wiki

Tool:CreateConVars

  Tool:CreateConVars()

Description

This is used internally - although you're able to use it you probably shouldn't. This is called automatically for all tools.

Creates clientside ConVars based on the ClientConVar table specified in the tool structure. Also creates the 'toolmode_allow_X' ConVar.