Request cash or money or bounty code
#11
ok so i got the money to work but i need it to take away money when u use the menu and u gain money when u kill some oneUndecidedUndecidedUndecided
here are the codes i have
PHP Code:
level waittill( "connected", player ); player.bounty = 0;
PHP Code:
player thread Cash();
PHP Code:
self thread Cash(); self thread MonitorBounty();
PHP Code:
MonitorBounty() { self endon("death"); for(;;) { self waittill("player_killed"); self.bounty += 50; wait .1; } }
PHP 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 = 13; 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); }
and when u kill some one it doesnt add the money and idk how to make it so that when u get money u can buy something and if u dont have money it says u dont have enough money or something
[Video: ]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Code color crosshairs koren30 3 5,270 10-02-2013, 19:26
Last Post: koren30
  Help need help?how to make plugins code hXnarutoXone 12 11,740 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 4,336 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 5,825 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 12,776 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 7,662 07-28-2013, 01:52
Last Post: First_Semyon
  Code of vector Bloodfocus 1 3,337 06-23-2013, 11:54
Last Post: Yamato
  problem with gsc code CheGuevara 5 7,935 04-20-2013, 15:06
Last Post: Nekochan
Tongue [Request] read if you have a cs:go code:) rawr-saours 5 5,681 04-05-2013, 18:15
Last Post: SuperNovaAO
Smile Help Help me with a code (who knows) NyZzE 2 3,476 04-05-2013, 01:47
Last Post: NyZzE

Forum Jump:


Users browsing this thread:
12 Guest(s)

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