Garry's Mod Wiki

string.FromColor

string.FromColor

string string.FromColor( table color )

Description

Creates a string from a Color variable.

Arguments

1 table color
The color to put in the string.

Returns

1 string
Output

Example

Demonstrates the use of string.FromColor

MsgN(string.FromColor(Color(255, 0, 255, 125)))
Output: "255 0 255 125"

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 43
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6