dzek (varez) Posted January 17, 2010 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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
dzek (varez) Posted January 17, 2010 Author 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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Jumba' Posted January 17, 2010 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.
Jumba' Posted January 17, 2010 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.
robhol Posted January 17, 2010 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. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
robhol Posted January 17, 2010 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. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
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