Hello, I'm new to mta scripting and I researched this issue but couldn't find any tutos, I would like to add a border to the following text :
dxDrawText(v.text, sx - (0.5 * width), yPos, sx - (0.5 * width), yPos - (i * fontHeight), tocolor(unpack(v.color)), 1, font, "left", "top", false, false, false)
the text moves with the player idk if that's worth mentioning, but I tried to add a border like this :
dxDrawText(v.text, sx - (0.5 * width), yPos, sx - (0.505 * width), yPos - (i * fontHeight), tocolor(0,0,0), 1, font, "left", "top", false, false, false)
dxDrawText(v.text, sx - (0.5 * width), yPos, sx - (0.495 * width), yPos - (i * fontHeight), tocolor(0,0,0), 1, font, "left", "top", false, false, false)
dxDrawText(v.text, sx - (0.505 * width), yPos, sx - (0.5 * width), yPos - (i * fontHeight), tocolor(0,0,0), 1, font, "left", "top", false, false, false)
dxDrawText(v.text, sx - (0.495 * width), yPos, sx - (0.5 * width), yPos - (i * fontHeight), tocolor(0,0,0), 1, font, "left", "top", false, false, false)
dxDrawText(v.text, sx - (0.5 * width), yPos, sx - (0.5 * width), yPos - (i * fontHeight), tocolor(unpack(v.color)), 1, font, "left", "top", false, false, false)
but the borders looks weird and glitchy, if anyone knows any solution plz help. and Thanks in advance.