SA-MP Forums Archive
Police Shield is a Solid 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Police Shield is a Solid Object? (/showthread.php?tid=196781)



Police Shield is a Solid Object? - GROVE4L - 06.12.2010

Hi, the police shield resists weapons bullets??
Thanks


Re: Police Shield is a Solid Object? - woot - 06.12.2010

Objects attached to players are never solid, but if its not attached it is solid, yes.


Re: Police Shield is a Solid Object? - Mauzen - 06.12.2010

If added as normal object, it is I think. But if you attach an object to a player (no matter what object) it looses it collision, so it wouldnt block bullets.


Respuesta: Police Shield is a Solid Object? - GROVE4L - 06.12.2010

Amm ok, thanks for your fast responses


Re: Police Shield is a Solid Object? - wups - 06.12.2010

That's bad. The shield is useless then!


Re: Police Shield is a Solid Object? - Camacorn - 06.12.2010

You could easily script it so that if you have a sheild, you get extra health though, since no shields work fully, theres always that 1 shot that gets you from a weak point.


Re: Police Shield is a Solid Object? - Mauzen - 06.12.2010

Basically, with your OnPlayerShootPlayer, you can at least check if a player is hit from the front, and if yes, decrease the damage.

If I have some free time, I might add an high-accurate police shield check to my system, to show that it is absolutely not useless if you take yourself some time to script.