SA-MP Forums Archive
Check if object is broken / deleted? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Check if object is broken / deleted? (/showthread.php?tid=84244)



Check if object is broken / deleted? - Yoyoyo - 29.06.2009

How can we check if a object like glass has been broken.
Or the explosive barrels, is there a way to find out if they exploded?

Or

If the person shoots the object you can delete it?

Thanks for any reply's . . .


Re: Check if object is broken / deleted? - refshal - 29.06.2009

It's not possilble. Because when an Object gets destroyed or broken, the Object will still be considered as a normal Object with no damage.


Re: Check if object is broken / deleted? - Ignas1337 - 30.06.2009

that is because objects at the moment do not possess any health or anything which they could decrease on hit or explosion and get themselves logically destroyed.