Can't get SSKCorona percentageBar to work properly

Hi,

I’ve got a problem using the percentageBar of SSKCorona. What I want is a simple horizontal bar without text, red when 100% and black when 0%.

this is my code

healthHUD = ssk.huds:createPercentageBar(hudsContainer, centerX, 20, { w = 300, h = 6, barSrc = {128, 0, 0}, backSrc = {0, 0, 0}, text = false, percent = 100 })

What I got is a bar with a width of 600 half red and half black instead of a red bar with a width of 300.

I don’t understand where I’m wrong with the code so I need some help.

Thanks