Sscanf2 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: Sscanf2 Errors? (
/showthread.php?tid=431620)
Sscanf2 Errors? -
TKZ227 - 19.04.2013
When I try and include sscanf2 (#include <sscanf2>) I get an error when compiling.
Код:
C:\Users\tyler\Desktop\GTA - San Andreas\pawno\include\sscanf2.inc(227) : warning 202: number of arguments does not match definition
C:\Users\tyler\Desktop\GTA - San Andreas\pawno\include\sscanf2.inc(240) : error 025: function heading differs from prototype
Ideas?
Re: Sscanf2 Errors? -
Zex Tan - 19.04.2013
Show us the lines... Need to see line 227 and 240
Re: Sscanf2 Errors? -
Gamer_007 - 19.04.2013
Show us the line 227 and 240 btw this error happens because u have changed its forward name but not public one
Re: Sscanf2 Errors? -
JaKe Elite - 19.04.2013
@Gamer_007
Код:
C:\Users\tyler\Desktop\GTA - San Andreas\pawno\include\sscanf2.inc(240)
It is from sscanf2. Read the error line next time.
Anyway, Did you modified the sscanf2.inc, @TKZ227
Re: Sscanf2 Errors? -
TKZ227 - 19.04.2013
Quote:
Originally Posted by ******
227:
pawn Код:
SSCANF_OnPlayerDisconnect(playerid, reason);
240:
pawn Код:
forward SSCANF_OnPlayerDisconnect(playerid, reason);
The evidence would seem to suggest that another include or script has got the parameters to OnPlayerDisconnect wrong (not fobbing the problem off, but they're not wrong there and that's usually the cause).
|
Thanks for pointing out that conflict. All I had to was re-position the include above the others.
Re: Sscanf2 Errors? -
Edix - 06.06.2013
Had this aswell the problem was with including foreach before sscanf.
jsut include foreach after all the other includes.