Jump to content

Check if the vehicle has fallen into the water


Recommended Posts

On 05/05/2018 at 2:28 PM, Captien said:

mp.events.add('CheckWaterCrash', () => {

  let vehicle =  mp.players.local.vehicle;
  if (vehicle.isInWater() && !vehicle.getIsEngineRunning()) {

//do what you want



Thank you my friend, this will work until the engine life function works when the vehicle falls into the water.
Edited by LeozinH1
Link to comment
Share on other sites

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...