Garry's Mod Wiki

Revision Difference

net.ReadColor#544756

<function name="ReadColor" parent="net" type="libraryfunc"> <description> Reads a <page>Color</page> from the current net message. <warning>You **must** read information in same order as you write it.</warning> </description> <realm>Shared</realm> <file line="83">lua/includes/extensions/net.lua</file> <rets> <ret name="" type="table">The <page>Color</page> read from the current net message, or Color(0,0,0,0) if the color could not be read.</ret> <ret name="" type="table">The <page>Color</page> read from the current net message, or `Color( 0, 0, 0, 0 )` if the color could not be read.</ret> </rets> </function>