problem with growing weed!
#1

I made a weed system.
First weed spawn under you and then it should grow(-> MoveObject)

Код:
	if(!strcmp(cmd, "/weed", true))
	{
		new weedobject;
		new Float:XWeed, Float:YWeed, Float:ZWeed;
		GetPlayerPos(playerid,XWeed,YWeed,ZWeed);
		weedobject = CreateObject(823, XWeed, YWeed, ZWeed - 2, 0, 0, 0);
		MoveObject(weedobject, XWeed, YWeed, ZWeed , 2);
		return 1;
	}
but it only create weed but doesnt move..

someone know whats wrong?^^

Reply


Messages In This Thread
problem with growing weed! - by BMGP - 17.10.2009, 15:27
Re: problem with growing weed! - by Jefff - 17.10.2009, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)