Progress Bar
#1

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?
Reply
#2

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
Reply
#3

Show the enum of MinerBar
Reply
#4

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 код:
Bar1CreatePlayerProgressBar(XYWidthHeightColorMaximumDirection
Then just show it to the player locally..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)