Blocking Sprunks and machines to not give HP (any ideas?) -
kacperoo - 22.08.2009
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?
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
Mr_Finnigan - 22.08.2009
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.
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
Infamous - 22.08.2009
You could use IsPlayerInArea and SetPlayerPosition.
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
kacperoo - 22.08.2009
But I need coords of all of it
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
Mr_Finnigan - 22.08.2009
Quote:
Originally Posted by kacperoo
But I need coords of all of it
|
Are you also disabling all cluckin beel/burger shot/pizza stacks?
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
kacperoo - 22.08.2009
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.
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
Mr_Finnigan - 22.08.2009
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?
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
XCultz - 23.08.2009
i guess im going to have to use one of those methods!
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
kacperoo - 23.08.2009
Eh, making a list of sprunks ;/
Re: Blocking Sprunks and machines to not give HP (any ideas?) -
XCultz - 23.08.2009
im still fine with mine i dont mind