SA-MP Forums Archive
object destoroy - 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: object destoroy (/showthread.php?tid=585834)



object destoroy - Karolukas123 - 17.08.2015

Hey, so can sameone help.. How to make if object created and i hit him 3dtext for object hp update and if object hp 0 players near what object gets item


Re: object destoroy - Abagail - 17.08.2015

You can use OnPlayerWeaponShot in lagcomp mode to detect SA-MP objects being hit and OnPlayerShootDynamicObject to detect if a player shoots a dynamic object.