SA-MP Forums Archive
DestroyDynamicObject - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: DestroyDynamicObject (/showthread.php?tid=568560)



DestroyDynamicObject - Ugaustin - 23.03.2015

it dosent destroy these objects..




DestroyDynamicObject(myobject91);
DestroyDynamicObject(myobject92);
DestroyDynamicObject(myobject93);
DestroyDynamicObject(myobject94);
DestroyDynamicObject(myobject95);
DestroyDynamicObject(myobject96);
DestroyDynamicObject(myobject97);
DestroyDynamicObject(myobject9;
DestroyDynamicObject(myobject99);
DestroyDynamicObject(myobject100);
DestroyDynamicObject(myobject101);
DestroyDynamicObject(myobject102);
DestroyDynamicObject(myobject103);


Re: DestroyDynamicObject - mirou123 - 23.03.2015

It could be that you created them using CreateObject not CreateDynamicObject.


Re: DestroyDynamicObject - Ugaustin - 23.03.2015

with createdynamicobject I did


Re: DestroyDynamicObject - mirou123 - 23.03.2015

Show us some code then


Re: DestroyDynamicObject - X337 - 23.03.2015

Show code for variables myobject91 ~ myobject103


Re: DestroyDynamicObject - Ugaustin - 23.03.2015

I cant post it.. its too big.. i need example how to make it..i have trees at job and when he finish to delete trees..from trunk..


Re: DestroyDynamicObject - mirou123 - 23.03.2015

Paste where it says myobject91 = //some code here.