4 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: 4 errors. (
/showthread.php?tid=375521)
4 errors. -
Benzke - 07.09.2012
Код:
C:\Users\Acer\Desktop\All files\My Project\gamemodes\RP.pwn(19) : error 017: undefined symbol "INVALID_BAR_ID"
C:\Users\Acer\Desktop\All files\My Project\gamemodes\RP.pwn(188) : error 017: undefined symbol "GetProgressBarValue"
C:\Users\Acer\Desktop\All files\My Project\gamemodes\RP.pwn(192) : error 017: undefined symbol "GetProgressBarValue"
C:\Users\Acer\Desktop\All files\My Project\gamemodes\RP.pwn(194) : error 017: undefined symbol "SetProgressBarValue"
C:\Users\Acer\Desktop\All files\My Project\gamemodes\RP.pwn(196) : error 017: undefined symbol "GetProgressBarValue"
I'm using the progress bar system.. Any idea ? I'm using the latest progress bar include.
Re: 4 errors. -
Jeffry - 07.09.2012
Have this added in your script?: #include <progress>
Have you placed progress.inc into your /includes/ folder?
If both yes:
Close pawno, and open it from: C:\Users\Acer\Desktop\All files\My Project\pawno\pawno.exe again.
Re: 4 errors. -
Benzke - 07.09.2012
Didn't worked.
Re: 4 errors. -
Jeffry - 07.09.2012
Quote:
Originally Posted by Benzke
Didn't worked.
|
Ah, I checked the topic. The functions changed.
Change:
INVALID_BAR_ID => INVALID_PLAYER_BAR_ID
GetProgressBarValue => GetPlayerProgressBarValue
SetProgressBarValue => SetPlayerProgressBarValue
You can find the functions here:
http://forum.sa-mp.com/showpost.php?...48&postcount=1
Re: 4 errors. -
Benzke - 07.09.2012
Darn it, Now I'm getting even more warnings like Number of Arguments does not match definition and Tag Mismatch, any ideas ?
Re: 4 errors. -
Jeffry - 07.09.2012
Quote:
Originally Posted by Benzke
Darn it, Now I'm getting even more warnings like Number of Arguments does not match definition and Tag Mismatch, any ideas ?
|
Care to share your code? ^^