Changing playermodel colour

Hello, I am trying to change the colour of a playermodel and am using the ply:SetPlayerColor() method. However, the model only appears in what seems to be 0 or 1 for each r, g and b value. instead of any value between 0 and 1. I am using this code:

		red = red value (0->255) -- set by a Colour Picker
		green = green value (0->255)
		blue = blue value (0->255)

Is it just that multiplayer can only accept these colours? When outputting the values for red/255 green/255 and blue/255 I get 0.somelongdecimal. Could it be the length of this decimal? Any help will be appreciated, Thanks :slight_smile:

Press C, click on player model, and click on the second tab

@Frying1Pans, this isn’t exactly what I was looking for. I know how to do it that way. I need to know how to correctly achieve the full range of colours through lua only.