10.08.2015, 04:43
PHP код:
// abaixo das includes
new Bar:SEDE;
CMD:desce(playerid) {
SetProgressBarValue(SEDE, -10);
return 1;
}
CMD:sobe(playerid) {
SetProgressBarValue(SEDE, 10);
return 1;
}
public OnPlayerSpawn(playerid) {
SEDE = CreateProgressBar(577.00, 407.00, 55.50, 3.20, 12582826, 100.0);
SetProgressBarValue(SEDE, 100.0);
ShowProgressBarForAll(SEDE);
SetProgressBarMaxValue(SEDE, 100.0);
return 1;
}