Bem-vindo ao Fórum!

Registre-se agora mesmo e fique por dentro da maior comunidade de Cheats do Brasil!

Sign in to follow this  
Gord0n

Rainbow DrawHealth - ESP

Recommended Posts

Rainbow DrawHealth - ESP

Creditos : Allen "H4x0r"

2017_March25191316.jpg

// Maneira mais facil de utilizar ;
void DrawHealthBar ( UCanvas* Canvas, APawn* Pawn, FLOAT X, FLOAT Y )
{
   float Health = Pawn->Health;   

   /**
       You may change these to adjust the size of the healthbars
       and their tiles, however if you wish to have more or less
       individual health bar tiles you will need to adjust the
       colours array (order is important) and also the for loop below
   */
   int boxSizeX = 2;   
   int boxSizeY = 6;
   int boxGap = 1;

   FColor colours[] = { ColorRed, ColorRed, ColorRed, ColorRed, ColorOrange, ColorOrange, ColorOrange, ColorOrange, ColorYellow, ColorYellow, ColorYellow, ColorYellow, ColorGreen, ColorGreen, ColorGreen, ColorGreen, ColorGreen, ColorGreen, ColorBlue, ColorBlue };   
   for ( int i = 0 ; i < 20; i++ )
   {
       if ( Health > ( 5 * i ) )
           Canvas->pCanvasUtil->DrawTile( X, Y, X+boxSizeX, Y+boxSizeY, 0, 0, boxSizeX, boxSizeY, 0, (UMaterial*)WhiteTexture, colours[i], 0 );
       else
           Canvas->pCanvasUtil->DrawTile( X, Y, X+boxSizeX, Y+boxSizeY, 0, 0, boxSizeX, boxSizeY, 0, (UMaterial*)WhiteTexture, ColorGrey, 0 );

       X = X + boxSizeX+ boxGap;
   }
}


Calma mozão , tá machucando o coleguinha :rolleyes:

Skype > [email protected]

 

https://youtu.be/2_fFO2Bverw?t=4

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this