SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 14/03/2009, 04:13 PM   #1
Castle
Huge Clucker
 
Castle's Avatar
 
Join Date: Aug 2008
Posts: 331
Reputation: 0
Default /heal Command, It doesn't take money from 1 player and gives it to the other

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..
__________________
Castle is offline  
Old 14/03/2009, 04:19 PM   #2
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,294
Reputation: 0
Default Re: /heal Command, It doesn't take money from 1 player and gives it to the other

You should really have changed the previous topic as opposed to posting a completely new one!
Weirdosport is offline  
Old 14/03/2009, 04:32 PM   #3
Castle
Huge Clucker
 
Castle's Avatar
 
Join Date: Aug 2008
Posts: 331
Reputation: 0
Default Re: /heal Command, It doesn't take money from 1 player and gives it to the other

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
__________________
Castle is offline  
Old 14/03/2009, 04:35 PM   #4
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,294
Reputation: 0
Default Re: /heal Command, It doesn't take money from 1 player and gives it to the other

pawn Code:
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...
Weirdosport is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Help]Heal command Giotis11 Help Archive 4 07/07/2010 12:27 AM
[HELP] /heal command? DeltaAirlines12 Help Archive 4 27/12/2009 10:38 PM


All times are GMT. The time now is 05:25 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.