Is it possible to check if a player is using a Soda/Snakck 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it possible to check if a player is using a Soda/Snakck Machine? (
/showthread.php?tid=79972)
Is it possible to check if a player is using a Soda/Snakck Machine? -
Castle - 01.06.2009
^Title^
Re: Is it possible to check if a player is using a Soda/Snakck Machine? -
Redirect Left - 01.06.2009
No, not natively.
You can however get all the co-ords of all of the vending machines, and if they're infront of it, and pressed the correct key to activate it, make your script do something. (PlayerToPoint & GetPlayerKeys)
Re: Is it possible to check if a player is using a Soda/Snakck Machine? -
Castle - 01.06.2009
Ok Thanks I'll think about it..
Re: Is it possible to check if a player is using a Soda/Snakck Machine? -
KeyWay - 01.06.2009
Where would you need it?
(sry im so curious)
Re: Is it possible to check if a player is using a Soda/Snakck Machine? -
Lewwy - 01.06.2009
Possibly for roleplay so people can't "cheat" health.
Re: Is it possible to check if a player is using a Soda/Snakck Machine? -
weedarr - 01.06.2009
Knew I seen these somewhere before:
http://forum.sa-mp.com/index.php?top...84687#msg84687
Enjoy!
WeeDarr