hi friends, I found this function, wonder if it's possible to do it in Health and Armor
getCarStateColor
Example:
getElementHealthStateColor
how is would this function?
local carState = "textures/carState.png"
local csr, csg, csb = getCarStateColor()
dxDrawImage(screenWidth - 30, screenHeight - 125, 24, 24, carState, 0, 0, 0, tocolor(csr, csg, csb , 255), true)