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



OnPlayerShootDynamicObject - Baltimore - 28.06.2015

Hi!

It's not possible to check if player shoot a modelid object?

++


Re : OnPlayerShootDynamicObject - Dutheil - 28.06.2015

You can store in an array, the modelid of each object with his ID and with OnPlayerWeaponShot/OnPlayerShootDynamicObject, scan in your array the modelid with the objetid.


Re: OnPlayerShootDynamicObject - Baltimore - 28.06.2015

And if it is an object attached to a player ?