Author Topic: Request Help for win/lose gold  (Read 964 times)

yprovost

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
Request Help for win/lose gold
« on: January 17, 2016, 03:13:06 PM »
Is it possible if you are in profit / loss each round gets gold?
If someone have this code / cvar, you would like him to share with me?
thanks.

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: Request Help for win/lose gold
« Reply #1 on: January 18, 2016, 08:17:58 AM »
I don't understand your request

yprovost

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
Re: Request Help for win/lose gold
« Reply #2 on: January 18, 2016, 08:34:56 AM »
I don't understand your request

If you win the round you get 2 gold and if you lose the round you get 1 gold
gold for the shopmenu :)

Thanks

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: Request Help for win/lose gold
« Reply #3 on: January 19, 2016, 12:12:20 PM »
possible, but requires additional programming to support the feature

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: Request Help for win/lose gold
« Reply #4 on: February 10, 2016, 05:11:34 PM »
You could write your own plugin very easily that does that...

You already win 2 gold on round win, so you would need to check each player, and if they are on the losing team give them 1 gold.

yprovost

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
Re: Request Help for win/lose gold
« Reply #5 on: February 17, 2016, 06:53:47 AM »
You could write your own plugin very easily that does that...

You already win 2 gold on round win, so you would need to check each player, and if they are on the losing team give them 1 gold.

Nope i just got gold when i kill someone, is there a cvar of it ?

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: Request Help for win/lose gold
« Reply #6 on: February 18, 2016, 11:16:27 PM »
Ah, maybe it's only XP.

Still, it's a very easy plugin to write.

Use the OnRoundEnd function, check the player against winning team, give them 2 gold if so, 1 if not...  Very easy plugin.

yprovost

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
Re: Request Help for win/lose gold
« Reply #7 on: February 19, 2016, 05:44:48 PM »
Ah, maybe it's only XP.

Still, it's a very easy plugin to write.

Use the OnRoundEnd function, check the player against winning team, give them 2 gold if so, 1 if not...  Very easy plugin.

I have it, Thanks anyway

doctavio

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Email
Re: Request Help for win/lose gold
« Reply #8 on: May 24, 2016, 06:02:50 AM »
Can you explain your fix for this I'm looking for it as well thank you