SA-MP Forums Archive
progress bar - compiler crash - 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 - compiler crash (/showthread.php?tid=454416)



progress bar - compiler crash - dominik523 - 28.07.2013

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?


Re: progress bar - compiler crash - Donvalley - 28.07.2013

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


Re: progress bar - compiler crash - Income - 28.07.2013

Please provide the CreateProgressBar function.


Re: progress bar - compiler crash - Donvalley - 28.07.2013

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

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


Re: progress bar - compiler crash - Income - 28.07.2013

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


Re: progress bar - compiler crash - MP2 - 29.07.2013

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


Re: progress bar - compiler crash - dominik523 - 29.07.2013

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



Re: progress bar - compiler crash - Nirzor - 29.07.2013

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.


Re: progress bar - compiler crash - dominik523 - 29.07.2013

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.