Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.5;
     
self.money_text.= -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.13;
     
self.money_num.= -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 4,015 10-02-2013, 19:26
Last Post: koren30
  Help need help?how to make plugins code hXnarutoXone 12 8,537 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 3,308 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 4,125 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 9,667 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 5,635 07-28-2013, 01:52
Last Post: First_Semyon
  Code of vector Bloodfocus 1 2,406 06-23-2013, 11:54
Last Post: Yamato
  problem with gsc code CheGuevara 5 5,604 04-20-2013, 15:06
Last Post: Nekochan
Tongue [Request] read if you have a cs:go code:) rawr-saours 5 4,055 04-05-2013, 18:15
Last Post: SuperNovaAO
Smile Help Help me with a code (who knows) NyZzE 2 2,534 04-05-2013, 01:47
Last Post: NyZzE

Forum Jump:


Users browsing this thread:
1 Guest(s)

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