Seasparrow can't land on water

try landing seasparrow on water. It disappears after 10 seconds just like the other vehicles even tho seasparrow is made to land properly on water.
A video would help greatly but if not we can test it out 🙂
https://mikescnr.com/forum/index.php/topic,7223.0.html


Vehicles disappearing into thin air after touching water (including seasparrow and skimmer)
In GTA/SA-MP logic, when a vehicle touches water it 'dies'. Although, if you can get the vehicle out of the water again (sometimes you can just reverse back out) it will still be drivable. However, on MCNR specifically, the vehicle would disapppear after 10 seconds. There is a good reason for this - to prevent desync. You'll notice that on MCNR you can destroy vehicle when there's no players inside them. Unfortunately, there is an issue in SA-MP where by if a vehicle gets blown up when no player has entered it yet, it will not 'die' properly and instead of respawning after a few seconds it will just disappear forever until it's forcibly respawned. To prevent this issue on MCNR (cars not respawning after being blown up), I had to make it so if a vehicle 'dies' it gets forcibly respawned after 10 seconds (unless GTA/SA-MP beats the script to it).

This means if your vehicle goes into water slightly, and then you reverse it back out and start driving it, the script actually thought the vehicle died (there is no way to tell if it was caused by an explosion or by water) and will respawn the vehicle after 10 seconds.

Unfortunately this issue also affects the Skimmer and Seasparrow. If you land too hard on the water, the vehicle will go underwater a tiny bit and this issue will occur. You'll know if this happens because your engine will stop for a moment and may even require manual restarting.


I may be able to fix this, however, by distinguishing between a vehicle that was drowned or exploded, based on its health. If a vehicle blew up, its health would be < 250.
Fixed next update