• ply:GetColor() returning 255 for all
    2 replies, posted
Hello all, I'm working on a HUD and there's going to be sme specific parts that are colored based off the player color assigned when using the playermodel menu. I found Entitiy:GetColor() and an example for player, so used it. It's simply returning 255,255,255,255 in the table all the time. I'm convinced this could only be changed if I was to be colored by someone else using a tool gun, but I need to find a way to get the color assigned through the meny. If anyone could help me out, i't'd be greatly appreciated. Code to get and print color: for key, ply in pairs( player.GetAll() ) do local col = ply:GetColor(); print( "Printing " .. ply:Nick() .. "'s color!" ); PrintTable( col ); print(ply:GetColor()) end
Player/GetPlayerColor
Thank you!
Sorry, you need to Log In to post a reply to this thread.