Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Shoot in a car = turn off the engine

$
0
0
Hey guys! I did a system some years ago that when a cop shoots with the weapon 34 (country rifle) in a car, the engine turns off, but i totally forgot how to do it!

i was thinking about "OnPlayerWeaponShot" but i can't set the vehicle to turn off the engine so...how i can make this system?? i only remember that i used

Code:

SetVehicleParamsEx(vehicle, 0, lights, alarm, doors, bonnet, boot, objective);

to turn off the engine

PS: Sorry for the bad english, i'm brazilian and in the portuguese forum we don't have good scripters...

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>