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

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

#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]

#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.



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Upgrade my point system from files to Database, help? EnVi Sweden Rocks 11 12,456 08-03-2013, 23:31
Last Post: EnVi Sweden Rocks
  [Request] Login / Register System? South2AKA 5 6,970 07-17-2013, 13:50
Last Post: surtek
  Help Icon/point on radar 8q4s8 2 3,956 05-06-2013, 16:49
Last Post: 8q4s8
  Ban system xGo 3 4,702 12-07-2012, 19:42
Last Post: 8q4s8
  Point system Killer_xD 10 8,946 08-01-2012, 08:19
Last Post: Pozzuh
  [Request] Halo 2 MLG style Sheild system. Twizzy 2 3,551 07-25-2012, 02:08
Last Post: Twizzy
  [Release] Mod Menu System Beta1 d0h! 3 6,285 06-27-2012, 04:52
Last Post: GamingTV
Sad Petition to remove Rendflex's 10 point warning JariZ 3 4,184 06-04-2012, 19:04
Last Post: SuperNovaAO
  [Release] BO Ultimate Admin System V1 alistair3149 31 31,908 04-06-2012, 09:56
Last Post: OrangePL
  MW2 Ultimate Admin System v3 d0h! 15 40,014 04-03-2012, 08:19
Last Post: alvarogt95

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.