[SOLVED]Createobjects and removeobject question.
#1

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.
Reply


Messages In This Thread
[SOLVED]Createobjects and removeobject question. - by Faith - 11.05.2010, 22:15
Re: Createobjects and removeobject question. - by aircombat - 11.05.2010, 22:23
Re: Createobjects and removeobject question. - by Faith - 11.05.2010, 22:27
Re: Createobjects and removeobject question. - by aircombat - 11.05.2010, 22:43
Re: Createobjects and removeobject question. - by Faith - 11.05.2010, 22:45
Re: Createobjects and removeobject question. - by Las Venturas CNR - 11.05.2010, 23:43
Re: Createobjects and removeobject question. - by aircombat - 12.05.2010, 00:03
Re: Createobjects and removeobject question. - by Faith - 12.05.2010, 20:13
Re: Createobjects and removeobject question. - by Zimon95 - 12.05.2010, 20:35
Re: Createobjects and removeobject question. - by Faith - 12.05.2010, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)