None boom cars - 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: None boom cars (
/showthread.php?tid=90643)
None boom cars -
sTreTcheD - 09.08.2009
i developing RP mode..
and i wanna when someone destroy car, the car just stop to move and dont bombed..
Like, Just the engine turn off.. and the car dont really destroyed and burnd...
Thx

?
Re: None boom cars -
abhinavdabral - 09.08.2009
just set the vehicle's Health to 0 or anything less than 20 ... its will make the Car on Fire and it will be BOOMED after that ..
I hope this information was helpfull.
Thank You
-Abhinav
Re: None boom cars -
Rickk - 09.08.2009
I don't think that is what he ment.
You can try: If vehicle health is lower than 20: TogglePlayerControllable (playerid, 0) Then let him exit the vehicle with /exit (RemovePlayerFromVehicle). I Think that will work.
For the Vehiclehealth lower than 20 I would make an
public
Re: None boom cars -
Sergei - 09.08.2009
Use seif_vehicles include. You have a function there which won't allow vehicles to explode
Re: None boom cars -
sTreTcheD - 09.08.2009
Quote:
Originally Posted by Sergiy
Use seif_vehicles include. You have a function there which won't allow vehicles to explode 
|
What the function? Thx!
Edit:
This include will be repair the car automaticly after few seconds..
I need the vechile never can be repair until the towcar come..
(Its RP mode...)
Quote:
Originally Posted by Rickk
I don't think that is what he ment.
You can try: If vehicle health is lower than 20: TogglePlayerControllable (playerid, 0) Then let him exit the vehicle with /exit (RemovePlayerFromVehicle). I Think that will work.
For the Vehiclehealth lower than 20 I would make an public 
|
Exacly, Can you help me make that?
Re: None boom cars -
WrathOfGenesis - 09.08.2009
You must wait a minimum of 12 hours before bumping a topic.
Hes just explained how to do it. Have a go at making it and if it doesnt work, show us what you have done and we wil try and fix it for you. At least show us that your willing to try and do it yourself.
Re: None boom cars -
Sergei - 09.08.2009
Just edit that function that it won't repair car automaticly and you are done
Re: None boom cars -
sTreTcheD - 09.08.2009
But you have to put the command to each vechile in the mode... i cant do it...
i have 300 cars at least..
Re: None boom cars -
Sergei - 09.08.2009
OnPlayerUpdate?