Progress Bar - 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: Progress Bar (
/showthread.php?tid=656943)
Progress Bar -
Dawkin - 28.07.2018
warning 202: number of arguments does not match definition
Start[playerid][MinerBar] = CreatePlayerProgressBar(playerid, 296.00, 170.00, 54.50, 1.50, 13395660, 100.0, 0);
What wrong?
Re: Progress Bar -
Sanady - 28.07.2018
Hello, I don`t know what is the problem because you haven`t provided us with enough info about your code or which version of include are you using, so here is the link of progress bar, read documentation on github. This should help you solve your problem:
https://sampforum.blast.hk/showthread.php?tid=537468
Re: Progress Bar -
Florin48 - 28.07.2018
Show the enum of MinerBar
Re: Progress Bar -
JasonRiggs - 28.07.2018
I believe that's not the way you create a progress bar using Southclaw's include, Because it gets defined like textdraws, but created locally as far as I'm concerned..
So you must for example define it like that..
PHP код:
new PlayerBar:Bar1
Then create it like that under OnPlayerConnect..
PHP код:
Bar1= CreatePlayerProgressBar(X, Y, Width, Height, Color, Maximum, Direction)
Then just show it to the player locally..