SAMP_INCLUDES_VERSION warning - 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: SAMP_INCLUDES_VERSION warning (
/showthread.php?tid=673519)
SAMP_INCLUDES_VERSION warning -
MrCesar - 29.03.2020
Hello guys, a weird warning I am getting, I am updating to mysql r41-4 plugin, and once I installed the new plugin, and copy pasted the script from
here
Now, the script works fine and everything works fine, but after 1 time I launch the server I suddenly start getting these error:
pawn Code:
(381) : warning 203: symbol is never used: "SAMP_INCLUDES_VERSION"
line 381 is the end of the script, it's actual copy paste from the link, nothing was defined by me..
Anyone knows what may cause this error? Thanks!
Re: SAMP_INCLUDES_VERSION warning -
SiaReyes - 29.03.2020
You can find that in a_samp.inc. I don't know for what it is used for. You can comment it!
Code:
public const SAMP_INCLUDES_VERSION = 0x037030;
Re: SAMP_INCLUDES_VERSION warning -
MrCesar - 29.03.2020
Quote:
Originally Posted by SiaReyes
You can find that in a_samp.inc. I don't know for what it is used for. You can comment it!
Code:
public const SAMP_INCLUDES_VERSION = 0x037030;
|
Weird, downloaded a new server and my a_samp.inc doesn't have this line
Re: SAMP_INCLUDES_VERSION warning -
SiaReyes - 29.03.2020
Quote:
Originally Posted by MrCesar
Weird, downloaded a new server and my a_samp.inc doesn't have this line
|
oh, can you show the full warning?
Re: SAMP_INCLUDES_VERSION warning -
MrCesar - 29.03.2020
Quote:
Originally Posted by SiaReyes
oh, can you show the full warning?
|
Well, now I am getting confused..I've tried compiling it with pawno and it gave no errors, now when I go back to my sublime text is says can't read from file a_samp?
EDIT: found out what was bugging it, the text editor - subslime had it build path set to pawncc.exe from the previous folder version and not the new one..
Re: SAMP_INCLUDES_VERSION warning -
MrCesar - 29.03.2020
EDIT: Please delete, didn't notice the double post..