[Ajuda] Criar Progress Bar de Vida
#5

Quote:
Originally Posted by Powered
Посмотреть сообщение
Tem um exemplo?
Claro. Vк se funciona.

PHP код:

public OnPlayerSpawn(playerid)
{
    
SetTimer("MostrarVida"10001);
    return 
1;
}
forward MostrarVida(playerid);
public 
MostrarVida(playerid)
{
    new 
Float:VidaJogador;
    
GetPlayerHealth(playerid,VidaJogador);
    
SetProgressBarValue(NOMEPROGRESSVidaJogador);
    
UpdateProgressBar(NOMEPROGRESSplayerid);
    return 
1;

Reply


Messages In This Thread
Criar Progress Bar de Vida - by Powered - 15.02.2018, 21:24
Re: Criar Progress Bar de Vida - by GuiKommander - 15.02.2018, 21:33
Re: Criar Progress Bar de Vida - by Tassi - 15.02.2018, 21:33
Re: Criar Progress Bar de Vida - by Powered - 15.02.2018, 21:44
Re: Criar Progress Bar de Vida - by Tassi - 15.02.2018, 22:05
Re: Criar Progress Bar de Vida - by Lovejoy - 16.02.2018, 00:55
Re: Criar Progress Bar de Vida - by Tassi - 16.02.2018, 08:42
Re: Criar Progress Bar de Vida - by GuilhermeW - 16.02.2018, 12:21
Re: Criar Progress Bar de Vida - by Lovejoy - 16.02.2018, 12:47
Re: Criar Progress Bar de Vida - by victorara - 17.02.2018, 07:43

Forum Jump:


Users browsing this thread: 1 Guest(s)