Jump to content

hartority

Members
  • Posts

    88
  • Joined

  • Last visited

  • Days Won

    17

File Reviews posted by hartority

    Levels

       978    0

    Change the colors of the icons

    ihszoR9.png

    if(!mp.game.graphics.hasHudScaleformLoaded(19)) 
    {
        mp.game.graphics.requestHudScaleform(19);
        while (!mp.game.graphics.hasHudScaleformLoaded(19)) mp.game.wait(0);
    }
    
    mp.game.graphics.pushScaleformMovieFunctionFromHudComponent(19, "SET_COLOUR");
    mp.game.graphics.pushScaleformMovieFunctionParameterInt(116); //Active bar color
    mp.game.graphics.pushScaleformMovieFunctionParameterInt(123); //Background bar color
    mp.game.graphics.popScaleformMovieFunctionVoid();
    
    mp.game.ui.setHudColour(116, 171, 51, 42, 255);// HUD_COLOUR_FREEMODE - pattern color
    mp.game.ui.setHudColour(140, 56, 36, 35, 255);// HUD_COLOUR_INGAME_BG - circle background color
    
    mp.game.graphics.pushScaleformMovieFunctionFromHudComponent(19, "SET_RANK_SCORES");
    mp.game.graphics.pushScaleformMovieFunctionParameterInt(currentRankLimit); //current rank limit
    mp.game.graphics.pushScaleformMovieFunctionParameterInt(nextRankLimit); //next rank limit
    mp.game.graphics.pushScaleformMovieFunctionParameterInt(playersPreviousXP); //players previous xp
    mp.game.graphics.pushScaleformMovieFunctionParameterInt(playersCurrentXP); //players current xp
    mp.game.graphics.pushScaleformMovieFunctionParameterInt(rank); //rank
    mp.game.graphics.popScaleformMovieFunctionVoid();
    
    mp.game.graphics.pushScaleformMovieFunctionFromHudComponent(19, "OVERRIDE_ANIMATION_SPEED");
    mp.game.graphics.pushScaleformMovieFunctionParameterInt(2000);
    mp.game.graphics.popScaleformMovieFunctionVoid();

    Credits:

    Porn πŸ‘‘ - help in development

×
×
  • Create New...