progress bar - compiler crash
#1

Hey! When I add this line in my code, my compiler crashes:
Код:
new Bar:Fuelbar = CreateProgressBar(57.00, 331.00, 63.50, 3.20, 0xFFF3AFF, 100.0);
"Pawn compiler library has stopped working", I just get that text.
Does anyone know why is this happening?
Reply
#2

hmmm.... have you tried re-downloading and updating the include?
Reply
#3

Please provide the CreateProgressBar function.
Reply
#4

Quote:
Originally Posted by Income
Посмотреть сообщение
Please provide the CreateProgressBar function.
here is the include his using:

https://sampforum.blast.hk/showthread.php?tid=113443
Reply
#5

Have you tried to look for this problem at this include's main topic?
Reply
#6

I believe I experienced the same issue when I tried to use it. Clearly the guy who made it doesn't even test compilation!
Reply
#7

I updated the include and it still crashes :S
EDIT: I tried to do it on other way, and this way is better because its not crashing but I got error "invalid function or declaration".
Код:
new Bar:Fuelbar;
Fuelbar = CreateProgressBar(57.00, 331.00, 63.50, 3.20, 0xFFF3AFF, 100.0); // error here
Reply
#8

I know this happened to me to but I think you should remove all progress bar and download new include and create

them again and then it will work perfectly.
Reply
#9

I downloaded new include, which is on github. I just created new file, placed the text insider and saved it as progress.inc. Can you send me your include file? maybe it will work then.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)