SA-MP Forums Archive
object hit of player - 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 hit of player (/showthread.php?tid=569256)



object hit of player - bugheada - 29.03.2015

can i detect object hit of the player ? I rotating the object and i if player hitted, must be thrown out of position object

exist any function or how to detection collision of player and object?


Re: object hit of player - bugheada - 31.03.2015

maybe it not possible...


Re: object hit of player - CalvinC - 31.03.2015

You could try checking this out:
http://forum.sa-mp.com/showpost.php?...5&postcount=18
Or this include to handle collision physics:
https://sampforum.blast.hk/showthread.php?tid=446286
There may be something usefull in one of those.