Garry's Mod Wiki

bit.arshift

  number bit.arshift( number value, number shiftCount )

Description

Returns the arithmetically shifted value.

Arguments

1 number value
The value to be manipulated.
2 number shiftCount
Amounts of bits to shift.

Returns

1 number
shiftedValue