The Users Posted November 17, 2017 Share Posted November 17, 2017 Hello, how can I implement the Pubg Zone? Link to comment
BialyDran Posted November 17, 2017 Share Posted November 17, 2017 https://wiki.multitheftauto.com/wiki/CreateColCuboid Maybe try this? Use a timer to make this smaller each few minutes and use https://wiki.multitheftauto.com/wiki/OnColShapeLeave and then use https://wiki.multitheftauto.com/wiki/SetElementHealth Good Luck Link to comment
The Users Posted November 17, 2017 Author Share Posted November 17, 2017 Thanks, but the blue shadert that I could solve it does not know anyone? Link to comment
Saml1er Posted November 18, 2017 Share Posted November 18, 2017 I'm sorry, but it's not possible to achieve what you want without a shader. To create a shader, you must learn HLSL which is a higher-level programming language used specifically for DirectX. You can check: https://wiki.multitheftauto.com/wiki/Element/Shader https://msdn.microsoft.com/en-us/library/windows/desktop/bb509561(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/bb944006(v=vs.85).aspx https://digitalerr0r.wordpress.com/2009/03/23/xna-shader-programming-tutorial-1-ambient-light/ and some examples from MTA here: https://wiki.multitheftauto.com/wiki/Shader_examples Link to comment
Simple0x47 Posted November 18, 2017 Share Posted November 18, 2017 (edited) Or just take the one from the PUBG server some russians have made and implement it in your server. But making it like a 'water shader' would be enough I think. Edited November 18, 2017 by Uknown. Link to comment
Ahmed Ly Posted November 18, 2017 Share Posted November 18, 2017 create Marker https://wiki.multitheftauto.com/wiki/CreateMarker to change size Marker https://wiki.multitheftauto.com/wiki/SetMarkerSizet to set Health player https://wiki.multitheftauto.com/wiki/SetElementHealth https://wiki.multitheftauto.com/wiki/GetElementHealth events https://wiki.multitheftauto.com/wiki/OnMarkerHit https://wiki.multitheftauto.com/wiki/OnMarkerLeave that example how to change Marker style https://community.multitheftauto.com/index.php?p=resources&s=details&id=13506 Link to comment
BrandSilva Posted March 17, 2018 Share Posted March 17, 2018 Hello, I also did the same with a createMarker and change it in size with a settimer but the problem I have is that the marker disappears when moving the camera in several directions and stops being visible as if it were a visual bug. any solution ? 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