SA-MP Forums Archive
Cant we Detect a Hit on 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: Cant we Detect a Hit on object? (/showthread.php?tid=433043)



Cant we Detect a Hit on object? - Avi Raj - 25.04.2013

Hello,

I Wanna ask that can i detect that if any player had hitted on an object.
Like im using IsPlayerInRangeOfPoint.
Can i get that like if a player hitted in that range, he/she sends a message?
If we can, please Reply.

Thanks.


Re: Cant we Detect a Hit on object? - MP2 - 25.04.2013

It depends on the object. In general, it's not possible (at least, not in an accurate and reliable way).


Re: Cant we Detect a Hit on object? - Avi Raj - 26.04.2013

Hmm, Ok.
Thanks.