/heal Command, It doesn't take money from 1 player and gives it to the other - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /heal Command, It doesn't take money from 1 player and gives it to the other (
/showthread.php?tid=68900)
/heal Command, It doesn't take money from 1 player and gives it to the other -
Castle - 14.03.2009
Ok, I Re-Wrote the Heal command.
Now it works with PlayerID of the person who needs heal.
But it doesn't take money from HealedPlayer and gives it to PlayerID
here is the CMD:
http://pastebin.com/f4299c7d9
Please help..
Re: /heal Command, It doesn't take money from 1 player and gives it to the other -
Weirdosport - 14.03.2009
You should really have changed the previous topic as opposed to posting a completely new one!
Re: /heal Command, It doesn't take money from 1 player and gives it to the other -
Castle - 14.03.2009
Well, No 1 was answering there plus it went to the second page and no one checks it

and I rewrote it and changed the entire CMD now...
but now I told the problem
Re: /heal Command, It doesn't take money from 1 player and gives it to the other -
Weirdosport - 14.03.2009
pawn Код:
PlayerHealPayment = strval(tmp);//Player Payment Amount Setting
If I am not mistaken, tmp is the playerid, so the amount the player has to pay will be equal to their ID. If you tested this with player id 0 (more than likely) you would see no change in money...