SA-MP Forums Archive
ERRORS - 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: ERRORS (/showthread.php?tid=502163)



ERRORS - AhmedMohamed - 22.03.2014

Hello all, how to fix these errors??
errors:
pawn Код:
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(1069) : error 017: undefined symbol "DestroyProgressBar"
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(32896) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(32896) : warning 213: tag mismatch
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(32897) : error 017: undefined symbol "SetProgressBarMaxValue"
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(32898) : error 017: undefined symbol "SetProgressBarColor"
1069:
pawn Код:
DestroyProgressBar(Download[playerid]);
32896:
pawn Код:
Download[playerid] = CreateProgressBar(499.00, 103.00, 107.50, 3.20, -16776961, 100.0);
32897:
pawn Код:
SetProgressBarMaxValue(Download[playerid], 100);
32898:
pawn Код:
SetProgressBarColor(Download[playerid], COLOR_GREEN);



Re: ERRORS - Avi Raj - 22.03.2014

Include progress include.


Re: ERRORS - Dignity - 22.03.2014

pawn Код:
#include <progress>
Uploaded a mirror for you here: https://hostr.co/TEfsqrNGfyS3


Re: ERRORS - AhmedMohamed - 22.03.2014

the same errors
if any one wanna really help me please add me on skype: " noname_redfairy "


Re: ERRORS - Konstantinos - 22.03.2014

The script uses the old version of it: http://pastebin.com/SBdyNnSj


Re: ERRORS - AhmedMohamed - 22.03.2014

now i got that error in the progress itself xD
pawn Код:
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\progress.inc(1) : error 010: invalid function or declaration
btw REP+ Konstantinos


Re: ERRORS - AhmedMohamed - 22.03.2014

fixed, found
pawn Код:
п»ї
on the line 1 removed and fixed anyway thank you again


Re: ERRORS - Konstantinos - 22.03.2014

Displaying it in RAW and then saving it can somehow add few random characters before the comments. It used to happen to me too. Open the progress.inc and select all. Delete them and paste it again.

EDIT: Oh okay, you got it fixed.


Re: ERRORS - AhmedMohamed - 22.03.2014

Errors return but this time many
pawn Код:
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\progress.inc(0) : error 075: input line too long (after substitutions)
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\progress.inc(2) : error 075: input line too long (after substitutions)
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\progress.inc(10) : error 075: input line too long (after substitutions)
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\progress.inc(12) : error 010: invalid function or declaration
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(1069) : error 017: undefined symbol "DestroyProgressBar"
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(32896) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(32896) : warning 213: tag mismatch
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(32897) : error 017: undefined symbol "SetProgressBarMaxValue"
C:\Users\Ahmed Hassan\Desktop\New folder\LSC-RP\gamemodes\LSC-RP.pwn(32898) : error 017: undefined symbol "SetProgressBarColor"



Re: ERRORS - Konstantinos - 22.03.2014

Something is wrong with the include you saved. The first lines are comments so it makes nosense and from the errors below, it's like it doesn't include it at all.

I uploaded it for you: http://www.solidfiles.com/d/a75c848184/progress.inc

and once at the top (under #include <a_samp>):
pawn Код:
#include <progress>