10-20-2011, 23:51
i need help making a point system.... i can put something like this
it will show the $ but it wont show the numbers
if i put
it wont show the whole text
plz help
Code:
Cash()
{
self.money_text destroy();
self.money_num destroy();
//Money text
self.money_text = newClientHudElem(self);
self.money_text.alignX = "left";
self.money_text.alignY = "bottom";
self.money_text.horzAlign = "left";
self.money_text.vertAlign = "bottom";
self.money_text.alpha = 1;
self.money_text.x = 5;
self.money_text.y = -100;
self.money_text.fontscale = 1.4;
self.money_text.color = (0,0.6,0);
self.money_text setText("$ ");
//Money number
self.money_num = newClientHudElem(self);
self.money_num.alignX = "left";
self.money_num.alignY = "bottom";
self.money_num.horzAlign = "left";
self.money_num.vertAlign = "bottom";
self.money_num.x = 55;
self.money_num.y = -100;
self.money_num.alpha = 1;
self.money_num.fontscale = 1.4;
self.money_num.color = (0,0.6,0);
self.money_num setValue(self.bounty);
}
it will show the $ but it wont show the numbers
if i put
Code:
Cash()
{
self.money_text destroy();
self.money_num destroy();
//Money text
self.money_text = newClientHudElem(self);
self.money_text.alignX = "left";
self.money_text.alignY = "bottom";
self.money_text.horzAlign = "left";
self.money_text.vertAlign = "bottom";
self.money_text.alpha = 1;
self.money_text.x = 5;
self.money_text.y = -100;
self.money_text.fontscale = 1.4;
self.money_text.color = (0,0.6,0);
self.money_text setText("$ "+self.bounty);
}
it wont show the whole text
plz help