Garry's Mod Wiki

Revision Difference

DMenuOptionCVar:SetConVar#517575

<function name="SetConVar" parent="DMenuOptionCVar" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the [console variable](/gmod/ConVars) to be used by <page>DMenuOptionCVar</page>.</description> <description>Sets the <page text="console variable">ConVars</page> to be used by <page>DMenuOptionCVar</page>.</description> <realm>Client</realm> <args> <arg name="cvar" type="string">The [console variable](/gmod/ConVars) name to set</arg> <arg name="cvar" type="string">The <page text="console variable">ConVars</page> name to set</arg> </args> </function>