Sprunk Machines Pre-Coded?
#1

Hello!

I'm just wondering, are the sprunk machines in the game precoded so you can buy a drink from them, or do you have to script it yourself for them to work? By script it yourself, I mean: get the positon and use a command or key to buy a drink.

Thank You!
Reply
#2

Its a standard samp function.
Just stand infront of them and press enter.

[Doppeyy
Reply
#3

Quote:
Originally Posted by ๔๏קקєyy
Its a standard samp function.
Just stand infront of them and press enter.

[Doppeyy
So I dont have to code that? And any clue if any money gets taken away and health gets re-gained?
Reply
#4

it takes 1 dollar and fills your health, I belive.
Reply
#5

Yes, it takes away $1 and gives about 30% health or so.
Reply
#6

Quote:
Originally Posted by Kevin Fallow / KevKo
Yes, it takes away $1 and gives about 30% health or so.
Agree.
Reply
#7

Any way I can change that dollar amount from $1 to like $2 and switch the health amount from 30% to like 5%?
Reply
#8

Yes actually.

You can check if a player is infront if a sprunk machine, if he is wait for him pressing enter or f and then take away 1 extra dollar, check the health he got before he pressed f/enter and set it to +5
Reply
#9

Quote:
Originally Posted by [SAP
Sidhu ]
Any way I can change that dollar amount from $1 to like $2 and switch the health amount from 30% to like 5%?
Seif created an include for creating custom machines, sprunk and candy. Use that.
Reply
#10

M... Here: http://forum.sa-mp.com/showpost.php?...03&postcount=9
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)