How to check money
#6

Quote:
Originally Posted by Kar
Посмотреть сообщение
okay. this is what you gotta do. with thje kidnapper you made the id and playerid in "global variables" then you check if the person is being kidnapped and if he still has a kidnapper. then you release the kidnapped dont wait for a stupid person to release the kidnapped
Yeah, that's what i'm trying to do.


What i want is, When a player is kidnapped, they are able to type /cutrope (which works) and if that fails /ransom. What /ransom does is, it checks how much money the person who is kidnapped has, and chooses a random amount depending on how much they have and gives it to the kidnapper and the kidnapped player is automatically released.



I know how to do the release part and most of the command, i just need help on how to check for the amount and how to set the amount to random to give to the kidnapper.
Reply


Messages In This Thread
How to check money - by MWF2 - 05.08.2010, 19:25
Re: How to check money - by jonrb - 05.08.2010, 19:31
Re: How to check money - by MWF2 - 05.08.2010, 21:33
Re: How to check money - by MWF2 - 06.08.2010, 01:40
Re: How to check money - by Kar - 06.08.2010, 04:28
Re: How to check money - by MWF2 - 06.08.2010, 14:35
Re: How to check money - by Kar - 06.08.2010, 14:45
Re: How to check money - by MWF2 - 06.08.2010, 14:51
Re: How to check money - by MWF2 - 06.08.2010, 20:00
Re: How to check money - by Kar - 06.08.2010, 20:16
Re: How to check money - by MWF2 - 06.08.2010, 22:00
Re: How to check money - by Kar - 06.08.2010, 22:03
Re: How to check money - by MWF2 - 06.08.2010, 22:11
Re: How to check money - by westre - 06.08.2010, 22:25
Re: How to check money - by Kar - 06.08.2010, 23:50

Forum Jump:


Users browsing this thread: 2 Guest(s)