Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help point system
#1
i need help making a point system.... i can put something like this
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 Sad
Reply

#2
self.bounty is the problem, what is self.bounty is it defined?
[Image: 1fxsnb.jpg]
Reply

#3
(10-21-2011, 00:45)4FunPlayin Wrote: self.bounty is the problem, what is self.bounty is it defined?

your self.defined

Troll
[Image: ScHmIdTy56789.png]
Reply

#4
Open callback damage gsc find player killed write eAttacker.bounty += 50; also write player.bounty = 0; in onplayerconnect

You don't need the functions above.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Upgrade my point system from files to Database, help? EnVi Sweden Rocks 11 9,479 08-03-2013, 23:31
Last Post: EnVi Sweden Rocks
  [Request] Login / Register System? South2AKA 5 5,065 07-17-2013, 13:50
Last Post: surtek
Wink [Release] Shop system for Infected gametype Nekochan 125 77,352 07-05-2013, 18:09
Last Post: mohammadnanaa
  Help Icon/point on radar 8q4s8 2 2,828 05-06-2013, 16:49
Last Post: 8q4s8
  Ban system xGo 3 3,430 12-07-2012, 19:42
Last Post: 8q4s8
  Point system Killer_xD 10 6,636 08-01-2012, 08:19
Last Post: Pozzuh
  [Request] Halo 2 MLG style Sheild system. Twizzy 2 2,516 07-25-2012, 02:08
Last Post: Twizzy
  [Release] Mod Menu System Beta1 d0h! 3 4,899 06-27-2012, 04:52
Last Post: GamingTV
  New DLC Available: Jagged Alliance - Back in Action: Point Blank DLC Steam 0 2,074 06-22-2012, 12:48
Last Post: Steam
Sad Petition to remove Rendflex's 10 point warning JariZ 3 2,837 06-04-2012, 19:04
Last Post: SuperNovaAO

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.