Jump to content

[solved] onVehicleInWater or something like that


dzek (varez)

Recommended Posts

Posted (edited)

im looking for event triggered when ped/vehicle gets in water..

is there something like that (cant found in wiki) or should i write it by myself using onClientFrameRender and isElementInWater ?

Edited by Guest
Posted (edited)

im looking for event triggered when ped/vehicle gets in water..

is there something like that (cant found in wiki) or should i write it by myself using onClientFrameRender and isElementInWater ?

Edited by Guest
Posted
im looking for event triggered when ped/vehicle gets in water..

is there something like that (cant found in wiki) or should i write it by myself using onClientFrameRender and isElementInWater ?

There isn't any, I've checked the whole wiki but I couldn't find any, I guess you'll just have to write one.

Posted
im looking for event triggered when ped/vehicle gets in water..

is there something like that (cant found in wiki) or should i write it by myself using onClientFrameRender and isElementInWater ?

There isn't any, I've checked the whole wiki but I couldn't find any, I guess you'll just have to write one.

Posted

There's no such event. You can check periodically with isElementInWater and setTimer. (I wouldn't recommend onClientRender - in this case it's just.. overkill.)

I've posted a request for the event (as it'd be more useful) here.

Posted

There's no such event. You can check periodically with isElementInWater and setTimer. (I wouldn't recommend onClientRender - in this case it's just.. overkill.)

I've posted a request for the event (as it'd be more useful) here.

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...