Garry's Mod Wiki

Revision Difference

CUserCmd:RemoveKey#529504

<function name="RemoveKey" parent="CUserCmd" type="classfunc"> <description>Removes a key bit from the current key bitflag. For movement you will want to use <page>CUserCmd:SetSideMove</page>, <page>CUserCmd:SetForwardMove</page> and <page>CUserCmd:SetSideMove</page>.</description> <description>Removes a key bit from the current key bitflag. For movement you will want to use <page>CUserCmd:SetForwardMove</page>, <page>CUserCmd:SetUpMove</page> and <page>CUserCmd:SetSideMove</page>.</description> <realm>Shared</realm> <args> <arg name="button" type="number">Bitflag to be removed from the key bitflag, see <page>Enums/IN</page>.</arg> </args> </function>