Garry's Mod Wiki

net.ReadColor

net.ReadColor

  table net.ReadColor( boolean hasAlpha = true )

Description

Reads a Color from the current net message.

You must read information in same order as you write it.

Arguments

1 boolean hasAlpha = true
If the color has alpha written or not. Must match what was given to net.WriteColor.

Returns

1 table
The Color read from the current net message, or Color( 0, 0, 0, 0 ) if the color could not be read.

Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 4
Generate Html 5
SaveChanges (1) 10
Render Body 0
Render Sidebar 9