- Messages
- 1,322
- Reaction score
- 752
- Points
- 973
Im using Loz infobox. When I spawn the background works, but the text wont set. anyone know how to fix or what i'm missing?
Picture:
Code:
drawMenuInfoBar()
{
self.infoBar["bg"] = self createShader("white", "CENTER", "BOTTOM", 0, 0, 2000, 24, (0,0,0), .8, 2);
if(self.menu.open)
{
self.infoBar["string"] = self drawText(self.infoBar["normalOpen"], "objective", 1.5, "CENTER", "BOTTOM", 0, 0, (1,1,1), 1, 2);
}
else
self.infoBar["string"] = self drawText(self.infoBar["close"], "objective", 1.5, "CENTER", "BOTTOM", 0, 0, (1,1,1), 1, 2);
}
Code:
MenuInit()
{
self thread drawMenuInfoBar();
}