Garry's Mod Wiki

Revision Difference

DBinder:SetSelectedNumber#518906

<function name="SetSelectedNumber" parent="DBinder" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the current key bound by the <page>DBinder</page>, and updates the button's text as well as the <page>ConVar</page>.</description> <realm>Client</realm> <args> <arg name="keyCode" type="number">The key code of the key to bind. See <page>KEY</page>.</arg> <arg name="keyCode" type="number">The key code of the key to bind. See <page>Enums/KEY</page>.</arg> </args> </function>