dzek (varez) Posted January 17, 2010 Share Posted January 17, 2010 (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 January 18, 2010 by Guest Link to comment
dzek (varez) Posted January 17, 2010 Author Share Posted January 17, 2010 (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 January 18, 2010 by Guest Link to comment
Jumba' Posted January 17, 2010 Share Posted January 17, 2010 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. Link to comment
Jumba' Posted January 17, 2010 Share Posted January 17, 2010 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. Link to comment
robhol Posted January 17, 2010 Share Posted January 17, 2010 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. Link to comment
robhol Posted January 17, 2010 Share Posted January 17, 2010 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now