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



sscanf - Urefeu - 22.08.2011

Hello.

I just downloaded 2.0 sscanf on the forum.

In the archive, a plugin sscanf, include a sscanf2 pawno and a folder for sscanf.

I put everything I add the plugin in the server.cfg, I include the plugin in my FS and I have an error (two):
C:\GTA\Server\pawno\include\sscanf2.inc (27): error 025: function heading differs from prototype
C:\GTA\Server\pawno\include\sscanf2.inc (27): error 025: function heading differs from prototype

How to fix it?

thank you


Re: sscanf - Elbert_Hutchinson - 22.08.2011

What's line 27?


Re: sscanf - Improvement™ - 22.08.2011

Quote:
Originally Posted by Urefeu
Посмотреть сообщение
Hello.

I just downloaded 2.0 sscanf on the forum.

In the archive, a plugin sscanf, include a sscanf2 pawno and a folder for sscanf.

I put everything I add the plugin in the server.cfg, I include the plugin in my FS and I have an error (two):
C:\GTA\Server\pawno\include\sscanf2.inc (27): error 025: function heading differs from prototype
C:\GTA\Server\pawno\include\sscanf2.inc (27): error 025: function heading differs from prototype

How to fix it?

thank you
Could you show us the line 27 & the callback (public) of that forward.
This way we can help you slove your problem.


Re : sscanf - Urefeu - 22.08.2011

Sure, sorry !

( 1-26 ) = COMMENTS

( l.27 ) native sscanf(const data[], const format[], {Float,_}:...);
( l.28 ) native unformat(const data[], const format[], {Float,_}:...) = sscanf;


Re: sscanf - Elbert_Hutchinson - 22.08.2011

Okay are you trying to compile the sscanf2.inc or the sscanf.dll?

If so, simply saving them works, compiling is only for .pwn files.


Re : sscanf - Urefeu - 22.08.2011

I've no compile these files...


Re: sscanf - Elbert_Hutchinson - 22.08.2011

Quote:

( 1-26 ) = COMMENTS

( l.27 ) native sscanf(const data[], const format[], {Float,_}:...);
( l.28 ) native unformat(const data[], const format[], {Float,_}:...) = sscanf;

This is exactly how it looks in the sscanf2.inc

Are you sure you're not trying to compile sscanf2.inc?


Re : sscanf - Urefeu - 22.08.2011

Yes !


Re : sscanf - Urefeu - 22.08.2011

Ah, I thought. I sscanf function includes one of my ...


Re: sscanf - Thresholdold - 12.12.2011

I'm also having this problem, please help me