Garry's Mod Wiki

Garry's Mod Wiki

  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"

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...