SA-MP Forums Archive
Car turning over during an earthquake - 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: Car turning over during an earthquake (/showthread.php?tid=574644)



Car turning over during an earthquake - CoachCarter - 19.05.2015

Hi guys there's a system on LS RP that makes some cars turn over during an earthquake i already did the shaky cam but i can't figure out how to makes cars with driver and passengers turn over can you help, here's the video to help you notice what i am talking about.

https://www.youtube.com/watch?v=YbWhQWXF--k


Re: Car turning over during an earthquake - J0sh... - 19.05.2015

Isn't that the blast from CreateExplosion?

I don't know the id but there is one what pushes back cars/players.


Re: Car turning over during an earthquake - CoachCarter - 19.05.2015

I want some cars to turn over when i want to, that's what i am looking for but i can't find the way.


Re: Car turning over during an earthquake - Banana_Ghost - 19.05.2015

Try this function:
https://sampwiki.blast.hk/wiki/SetVehicleAngularVelocity


Re: Car turning over during an earthquake - Dignity - 19.05.2015

Here's the actual code used in LS-RP for earthquakes: http://forum.sa-mp.com/showpost.php?...3&postcount=28