/acceptheal answer - 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)
+--- Thread: /acceptheal answer (
/showthread.php?tid=403161)
/acceptheal answer -
T_Boy - 29.12.2012
Hello! I want to make a /heal command with answering system. So, the medic is offering to heal the player for a sum of money, and the player can accept this offer or not. Well, I don't know how to script this. Can you help me?
SendClientMessage(receiver, COLOR_LIME,"Type /acceptheal to accept this offer!");
PlayerHasHealthOffer[receiver] = 1;
I can't make a new command, because it won't recognize the cost from the /heal command