17.10.2009, 15:27
I made a weed system.
First weed spawn under you and then it should grow(-> MoveObject)
but it only create weed but doesnt move..
someone know whats wrong?^^
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; }
someone know whats wrong?^^