PDA

View Full Version : Decrease textdrawtextsize every 1 sec


zowzow
06/04/2019, 06:59 AM
https://media.discordapp.net/attachments/483912132207968260/563978987429429249/unknown.png



public SecondCount()
{
foreach (new i : Player)
{
if(Bar[i] >= 100)
{
// Normal bar
PlayerTextDrawTextSize(i, Textdraws[i][0], 200.000, 14.029999);
PlayerTextDrawShow(i, Textdraws[i][0]);
} else {
// Decrease every 1 sec
PlayerTextDrawTextSize(i, Textdraws[i][0], 190.000, 14.029999);
PlayerTextDrawShow(i, Textdraws[i][0]);
}
}
return 1;
}

I want Textdraws[i][0] to keep decrease -10 until 0 How to build something like this