Garry's Mod Wiki
Description
Returns a player's character model color.
The part of the model that is colored is determined by the model's materials, and is therefore different for each model.
See Player:GetWeaponColor for the accompanying function for the weapon color.
Override this function clientside on any Entity (including a player) with a supported model set (such as default player models) and returned color will apply to the model. This is done via the
PlayerColor matproxy.Returns
Example
Gets player 1's model color, and prints it to console
Output:
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 four times a day. Edits and history are not available.
Last Parsed: Loading...