Sscanf2 Errors?
#1

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?
Reply
#2

Show us the lines... Need to see line 227 and 240
Reply
#3

Show us the line 227 and 240 btw this error happens because u have changed its forward name but not public one
Reply
#4

@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
Reply
#5

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.
Reply
#6

Had this aswell the problem was with including foreach before sscanf.
jsut include foreach after all the other includes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)