string.FromColor

From Garry's Mod
Jump to: navigation, search
 string.FromColor( )

Contents

Description

Creates a string from a Color variable.

Arguments

table color

The color to put in the string.

Returns

string

Output

Examples

Example

Demonstrates the use of string.FromColor

MsgN(string.FromColor(Color(255, 0, 255, 125)))

Output:

"255 0 255 125"
Personal tools
Navigation