SA-MP Forums Archive
ProgressBar.inc - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ProgressBar.inc (/showthread.php?tid=505603)



ProgressBar.inc - Equuuuin0X - 09.04.2014

Does anyone have an UPDATED progress.inc ?


heres my code, and it gave me errors cus the include doesnt have what I need.

pawn Код:
new ProgressBar();

public ProgressBar()
{
new Bar:score = CreateProgressBar(50.0, 300.0, _, _, 0xFF0000FF, 5000);
SetProgressBarValue(score, 5000);
ShowProgressBarForAll(score);
UpdateProgressBar(score,playerid);
return 1;
}

SetTimer("ProgressBar'', 500, 1);

pawn Код:
D:\Critical DM by EquinoXFlaken\gamemodes\CODTDM.pwn(14712) : error 017: undefined symbol "CreateProgressBar"
D:\Critical DM by EquinoXFlaken\gamemodes\CODTDM.pwn(14712) : warning 213: tag mismatch
D:\Critical DM by EquinoXFlaken\gamemodes\CODTDM.pwn(14713) : error 017: undefined symbol "SetProgressBarValue"
D:\Critical DM by EquinoXFlaken\gamemodes\CODTDM.pwn(14714) : error 017: undefined symbol "ShowProgressBarForAll"
D:\Critical DM by EquinoXFlaken\gamemodes\CODTDM.pwn(14715) : error 017: undefined symbol "UpdateProgressBar"
D:\Critical DM by EquinoXFlaken\gamemodes\CODTDM.pwn(14712) : warning 204: symbol is assigned a value that is never used: "score"



Re: ProgressBar.inc - mahardika - 09.04.2014

http://forum.sa-mp.com/showthread.ph...light=progress

or my progress.inc

http://pastebin.com/gaAjuvmd


Re: ProgressBar.inc - Equuuuin0X - 09.04.2014

Thanks, fixed.