[Ajuda] ProgressBar
#9

Quote:
Originally Posted by zSuYaNw
Посмотреть сообщение
Subistitui aй

pawn Код:
public OnPlayerConnect(playerid){

    FomeB[playerid] = CreateProgressBar(552.00, 321.00, 55.50, 4.19, -16776961, 100.1);
    SetProgressBarMaxValue(FomeB[playerid], 100);

    SetPVarInt(playerid,"Fome", 100);
   
    SetProgressBarValue(FomeB[playerid], GetPVarInt(playerid,"Fome"));
   
    ShowProgressBarForPlayer(playerid, FomeB[playerid]);
    return 1;
}
Perfect !!
Tudo okay ogora.
Agora vou para proxima etapa nada facil, que quando ele for avisado q sentir fome, ele come algo, e a fome retorna 100.0, tipo na hora que ele comprar o lanche a fome dele volta a 100.

depois que eu conseguir fazer esse sistema, ele estara completo, sistema de fome, sede, e sono, com um design super profi...

vlw pela ajuda +Rep
Reply


Messages In This Thread
ProgressBar - by FernandoSS - 20.07.2014, 12:07
Re: ProgressBar - by zSuYaNw - 20.07.2014, 17:04
Re: ProgressBar - by FernandoSS - 20.07.2014, 17:36
Re: ProgressBar - by zSuYaNw - 20.07.2014, 17:38
Re: ProgressBar - by FernandoSS - 20.07.2014, 17:43
Re: ProgressBar - by zSuYaNw - 20.07.2014, 17:48
Re: ProgressBar - by FernandoSS - 20.07.2014, 17:50
Re: ProgressBar - by zSuYaNw - 20.07.2014, 17:59
Re: ProgressBar - by FernandoSS - 20.07.2014, 18:26
Re: ProgressBar - by zSuYaNw - 20.07.2014, 18:27

Forum Jump:


Users browsing this thread: 2 Guest(s)