16.10.2011, 10:05
pawn Code:
// On the top
new Bar:Alkanumas[MAX_PLAYERS];
// OnGameModeInit
Alkanumas[playerid] = CreateProgressBar(409.000000, 432.000000, 52.0, 12.0,0xB6CE0B55, 100.0);
CMD:
ShowProgressBarForPlayer(playerid, Alkanumas[playerid]);
HideProgressBarForPlayer(playerid, Alkanumas[playerid]);
public function with a timer:
SetProgressBarValue(Alkanumas[playerid], Alkis[playerid]);
UpdateProgressBar(Alkanumas[playerid], playerid);