undefined Posted February 1, 2014 Share Posted February 1, 2014 (edited) Hey Guys. I did a hud but I have one missing. How to breath bar should I do? ...Sry to my bad English... Edited February 1, 2014 by Guest Link to comment
Gallardo9944 Posted February 1, 2014 Share Posted February 1, 2014 https://wiki.multitheftauto.com/wiki/GetPedOxygenLevel Link to comment
undefined Posted February 1, 2014 Author Share Posted February 1, 2014 I've added oxygen. However, it seems out of the water while. I added this code. However, the script did not work. if isElementInWater(source) then dxDrawRectangle(sWidth-185,sHeight-90.5, 154, 6.5, tocolor ( 0, 0, 0, 150 ), false)-- Oxygen Bar dxDrawRectangle(sWidth-183,sHeight-89,OxygenBar,3.5,tocolor(0,200,255,250) ,false) -- Oxygen end Link to comment
Castillo Posted February 1, 2014 Share Posted February 1, 2014 Change 'source' to 'localPlayer'. Link to comment
undefined Posted February 1, 2014 Author Share Posted February 1, 2014 Thank you Castillo. It's solved. 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