SA-MP Forums Archive
How to delete an object? - 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: How to delete an object? (/showthread.php?tid=307569)



How to delete an object? - Outcast - 31.12.2011

How can I delete an object that is added with CreateObject... in a gamemode with a filterscript?


Re: How to delete an object? - SuperViper - 31.12.2011

pawn Код:
new object;

object = CreateObject(...);

DestroyObject(object);