Skip to content

GetPlayerColor

The player’s color as set.

GetPlayerColor(pid)
Parameter Type
pid number the player

number - 0xRRGGBBAA; 0 = the default

local c = GetPlayerColor(pid)

SetPlayerColor · the Players group of the index