Garry's Mod Wiki

Revision Difference

net.ReadUInt#546019

<function name="ReadUInt" parent="net" type="libraryfunc"> <description> Reads an unsigned integer with the specified number of bits from the received net message. <warning>You **must** read information in same order as you write it.</warning> ⤶ <warning>You **must** read information in same order as you write it.</warning> </description> <realm>Shared</realm> <args> <arg name="numberOfBits" type="number">The size of the integer to be read, in bits.</arg> </args> <rets> <ret name="" type="number">The unsigned integer read, or 0 if the integer could not be read.</ret> <ret name="" type="number">The unsigned integer read, or `0` if the integer could not be read.</ret> </rets> </function>