Blocking Sprunks and machines to not give HP (any ideas?)
#1

Hi,

I'm thinking of blocking sprunks to not give HP.
I tried to use SEIF's OnPlayerDrinkSprunk but its fail, it first give HP, later removes money.

I also know the animations used by machines, but there are no function like IsPlayerUsingAnimation(playerid, animation).

Any ideas?
Reply
#2

i tried this and it works,place another sprunk directly in front of it,when you add a sprunk as an object it is non functional meaning it cannot be used

Код:
CreateObject(1775, -2063.286621, -490.953796, 35.628288, 0.0000, 0.0000, 0.0000);
For instance this is one outside of the dirt track stadium in San Fierro blocking anyone from being able to use that one machine.

Time consuming yes but walk up to each sprunk and vending machine you want unusable and do /save (message)then add using CreateObject with the co-ords to block it with a machine the same size but non working as not to look messy.
Reply
#3

You could use IsPlayerInArea and SetPlayerPosition.
Reply
#4

But I need coords of all of it
Reply
#5

Quote:
Originally Posted by kacperoo
But I need coords of all of it
Are you also disabling all cluckin beel/burger shot/pizza stacks?
Reply
#6

Quote:
Originally Posted by Mr_FinnigaN
Quote:
Originally Posted by kacperoo
But I need coords of all of it
Are you also disabling all cluckin beel/burger shot/pizza stacks?
Disabled interior's enterances.
Reply
#7

So then apart from 2 spunks outside SF dirt track stadium,how many outside machines are there in the game? Can't be too many to take to long to block them?
Reply
#8

i guess im going to have to use one of those methods!
Reply
#9

Eh, making a list of sprunks ;/
Reply
#10

im still fine with mine i dont mind
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)