11.05.2010, 22:15
I'm starting to make the impossible.. for me.
Atleast i hope that i could get a little help with this one.
I've made a command to /planttree.
I've implemented a timer and it works great.
Here comes my question.
First, i'm gonna make the tree created at the players position. I think i have an idea of how to do that.
public PlantedTree
{
Createobject at playerposition?
}
Second, i'm going to make a /cuttree
But the person has to be near the tree to cut it, and then the tree gets destroyed.
Do you have any idea of how i can do that?
The problem that i so far noticed that, if i give the object a name, Etc FinishedTree = CreateObject, and i be nearby FinishedTree and do DestroyObject, then all the trees gets removes and not the one nearby.
Help greatly appreciated.
Atleast i hope that i could get a little help with this one.
I've made a command to /planttree.
I've implemented a timer and it works great.
Here comes my question.
First, i'm gonna make the tree created at the players position. I think i have an idea of how to do that.
public PlantedTree
{
Createobject at playerposition?
}
Second, i'm going to make a /cuttree
But the person has to be near the tree to cut it, and then the tree gets destroyed.
Do you have any idea of how i can do that?
The problem that i so far noticed that, if i give the object a name, Etc FinishedTree = CreateObject, and i be nearby FinishedTree and do DestroyObject, then all the trees gets removes and not the one nearby.
Help greatly appreciated.