Can't set some buttons through usercommand

Through the user command object provided by GM:CreateMove, you should be able to set buttons such as +forward, +attack, etc.

I used this code to test it:


lua_run_cl hook.Add( "CreateMove", _G, function( cmd ) cmd:SetButtons( cmd:GetButtons( ) | IN_MOVERIGHT ) end )


Nothing happens. No endlessly strafing right.


lua_run_cl hook.Add( "CreateMove", _G, function( cmd ) cmd:SetButtons( cmd:GetButtons( ) | IN_ATTACK ) end )


This behaves as expected and it as though I am holding down my attack button.

Anyone confirm? Tell me what I am doing wrong?