Player:GetWeaponColor
Description
Returns a player's weapon color.
The part of the model that is colored is determined by the model itself, and is different for each model.
See Player:GetPlayerColor for the accompanying function for the player character model color.
Returns
Example
Gets player 1's weapon color, and prints it to console
Output: Vector( 1, 1, 1 )
Garry's Mod
Rust
Steamworks
Wiki Help