Jump to content

Skramonk

Member
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Skramonk's Achievements

Lurker

Lurker (1/6)

0

Reputation

  1. So in a previous post I requested a pvp skript that gives money to a player who kills another player, and that money is removed from the killed player. Here is my skript: on death of player: set {_max} to victim's balance set {_amount} to {_max} / 2 send "&a&l+ &aHalf players money!" to attacker send "&c&l- &cHalf your money!" to victim add {_amount} to attacker's balance remove {_amount} from victim's balance The issue I have is i want to send the amount removed/added to both the attacker and victim but simply adding {_amount} isnt working. Is there a simple fix for this? Thanks!!
  2. Hi Everyone! I'm a very new Skripter who still has a lot to read and a lot to learn! My current dilemma is creating a PvP system where a Player can kill another player and take some of their money for killing them. The amount taken is shown to both the killer and victim. The amount taken is constant, until a victim has less than the amount, in which case their account is drained to zero - the killer gets the remaining money, but if they kill a player with $0 they get nothing! In other words: Player kills victim with $600, Player gets $500, victim loses $500. Player kills same victim (now with $100), Player gets $100, Victim loses $100 Player kills same victim again (now with $0), Player gets $0, Victim has nothing to lose so stays at $0. I would like to maybe implement that killing a player takes a Percentage of their balance, that way it ecourages killing rich players and ignoring poor ones. Killing player with $1000 gives $750, Killing player with $10 gives $7.50 and so on... I was wondering if a skript similar to this exists or if anyone is willing to make one or send me the groundwork for such a skript. Thanks everyone!
×
×
  • Create New...