SA-MP Forums Archive
SPRUNKS - 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: SPRUNKS (/showthread.php?tid=505419)



SPRUNKS - Ozer2635 - 08.04.2014

How can I add sprunks to my server? There is not added any sprunks


Re: SPRUNKS - Twizted - 08.04.2014

https://sampforum.blast.hk/showthread.php?tid=277997
https://sampforum.blast.hk/showthread.php?tid=80107
https://sampforum.blast.hk/showthread.php?tid=314058


Re: SPRUNKS - CutX - 08.04.2014

Quote:
Originally Posted by Ozer2635
Посмотреть сообщение
How can I add sprunks to my server? There is not added any sprunks
You could do it like this:

-> add the object to the location of your choice
-> get the coordinates in front of it
-> Play the vending machine animation whenever someone is at that location and is pressing enter (use OnPlayerKeyStateChange)
-> add some health to that player and -1 cash

like this, it'll look like a normal vending machine.
You could also attach a can to the players hand while he's playin' the animation
and add some sound to make it even more realistic.