Posts: 202
Threads: 18
Joined: Sep 2011
Reputation:
0
I want a script, that after a vehicle dies, that means after then vehicle health becomes 0, the vehicle to stay at that position and never to respawn again. That means after a vehicle blows, it will stay there forever as the broken car without respawning as a new car. I tried using -1 in 'respawn_delay' of CreateVehicle, but that didn't work. It just respawned the vehicle. So, can anyone help me out?
Posts: 658
Threads: 32
Joined: Mar 2013
Reputation:
0
As far as I know, that's not possible.
It's a SA issue, they made it blow up and disappear, I don't think you can do that.
Unless there is an object like that, then you can do something like:
Car health is 0, CreateObject at that place, you get the idea?
Posts: 658
Threads: 32
Joined: Mar 2013
Reputation:
0
OR, I got a good idea.
CreateExplosion on the inside of the car, if the health is less than 250, and make the health 250.
So even with the explosion, it will stay at 250 at all times.
Also make the explosion create some fire, would look nice and do you what you wanted.