05.08.2010, 19:25
I want to check how much money a player has and then set a random amount to give to another player.
So i want to make a /ransom command. This command is used when a player is kidnapped. The ransom should be random. I want it so the player who is kidnapped types /ransom and a random amount of money that they have is given to the kidnapper.
I can do the giving the player the money part, i just need to know how to check to see how much money a player has, and then make a random amount to give to another player.
So i want to make a /ransom command. This command is used when a player is kidnapped. The ransom should be random. I want it so the player who is kidnapped types /ransom and a random amount of money that they have is given to the kidnapper.
I can do the giving the player the money part, i just need to know how to check to see how much money a player has, and then make a random amount to give to another player.