Soda Machine - 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: Soda Machine (
/showthread.php?tid=613066)
Soda Machine -
Ahmed21 - 24.07.2016
Hello everyone, I'm talking about the Soda Machines that are placed around the map. We use them to refill our health. So my question is:
Is there any function or callback gets called when the player uses the Machine? Like: OnPlayerUseMachine? If not. Then how can I make it to pay $1000 to use the Machine like some servers? Or how to make it we cant use anim commands while drinking (Using machine)?
Re: Soda Machine -
TaiRinsuru - 24.07.2016
OnPlayerUseVending
Re: Soda Machine -
Ahmed21 - 24.07.2016
Quote:
Originally Posted by TaiRinsuru
|
Thank you so much!