Object hits a player / vehicle - 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 hits a player / vehicle (
/showthread.php?tid=621966)
Object hits a player / vehicle -
NeXoR - 17.11.2016
Hey guys, I have a system which players can launch missiles from a Rustler to the ground (Ground Z using ColAndreas)
Let's say that the object hits a vehicle, it doesn't really blow, can I do that it will ?
OnObjectHitPlayer/Vehicle or something ?
Re: Object hits a player / vehicle -
AmigaBlizzard - 17.11.2016
You can use CreateExplosion to damage/destroy the vehicle when the object is near the vehicle.
Re: Object hits a player / vehicle -
NeXoR - 17.11.2016
Quote:
Originally Posted by AmigaBlizzard
You can use CreateExplosion to damage/destroy the vehicle when the object is near the vehicle.
|
The missile is launched to the ground and works smoothly, what I want to do is make it blow when it touches a vehicle/player
Re: Object hits a player / vehicle -
AbyssMorgan - 17.11.2016
https://sampforum.blast.hk/showthread.php?tid=609788