GetPlayerTextColor(Entity, Color)
client
Arguments
Returns
- color return a replacement color to override the default color
Note: Returning is not required
Returning from hooks is not required. Only do so if you mean to override behaviour. The first hook that returns a value will be the final value, skipping all following hooks.
Examples
hook GetPlayerTextColor – "Allows overriding the color of the player's name in the scoreboard."