FazDev

Creating a custom hud

Recommended Posts

Hi, i am developing a user interface for my server and faced the following question. Can I replace the health and stamina bar? How can this be done?

 

Share this post


Link to post
Share on other sites
Posted (edited)
6 hours ago, Dr.Deft said:

That function will hide the minimap aswell.
 

mp.game.graphics.pushScaleformMovieFunction(1, "SET_HEALTH_ARMOUR_BAR_VISIBLE");
mp.game.graphics.pushScaleformMovieFunctionParameterBool(false);
mp.game.graphics.popScaleformMovieFunctionVoid();

 

Edited by Muphy

Share this post


Link to post
Share on other sites

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.