Garry's Mod Wiki

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"

Page Links


Special Pages


Wikis

?

Render Time: 32ms

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