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



how to delete object - Craker - 12.05.2013

hello guys, i want to know if i can delete object from the game like lights or house ..


Re: how to delete object - Tamer - 12.05.2013

If you are a server owner/scripter,you may use the DestroyObject(objectid); function to delete it. https://sampwiki.blast.hk/wiki/DestroyObject

If you are a mapper,you may use JerneyL's map editor. https://sampforum.blast.hk/showthread.php?tid=282801


Re: how to delete object - ReVo_ - 12.05.2013

https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

To remove gta sa objects

DestroyObject to destroy created object w/ CreateObject.

As tamer_t said, use the JerneyL's map editor to generale easly RemoveBuildingForPlayer lines.