[Ajuda] ProgessBar
#2

PHP код:
// abaixo das includes
new Bar:SEDE;


CMD:desce(playerid)  {

    
SetProgressBarValue(SEDE, -10); 
    return 
1


CMD:sobe(playerid) {

    
SetProgressBarValue(SEDE10); 
    return 
1


public 
OnPlayerSpawn(playerid) {

        
SEDE CreateProgressBar(577.00407.0055.503.2012582826100.0); 
        
SetProgressBarValue(SEDE100.0); 
        
ShowProgressBarForAll(SEDE); 
        
SetProgressBarMaxValue(SEDE100.0); 
        return 
1

Nesse caso, para o sistema funcionar perfeitamente seria necessбrio uma barra de progresso para cada jogador.
Reply


Messages In This Thread
ProgessBar - by JuniorTheDM - 10.08.2015, 04:37
Re: ProgessBar - by Gii - 10.08.2015, 04:43
Re: ProgessBar - by JuniorTheDM - 10.08.2015, 04:52
Re: ProgessBar - by Gii - 10.08.2015, 04:55
Re: ProgessBar - by JuniorTheDM - 10.08.2015, 04:56
Re: ProgessBar - by Gii - 10.08.2015, 04:57
Re: ProgessBar - by JuniorTheDM - 10.08.2015, 05:01
Re: ProgessBar - by CaioTJF - 10.08.2015, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)