Help! - 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: Help! (
/showthread.php?tid=285108)
Help! -
Talha dar - 22.09.2011
Hi, people. I'm having this problem everytime i add '#include <sscanf2>" On the top of the script. Whenever i add it the compiler says
Код:
D:\Games\GTA\My Cops & Robbers Server\pawno\include\sscanf2.inc(27) : error 025: function heading differs from prototype
D:\Games\GTA\My Cops & Robbers Server\pawno\include\sscanf2.inc(27) : error 025: function heading differs from prototype
Please help me. Tell me what went wrong. I need to get this done!
Re: Help! -
IstuntmanI - 22.09.2011
Open your sscanf2.inc with notepad and replace with this:
Код:
/*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is the sscanf 2.0 SA:MP plugin.
*
* The Initial Developer of the Original Code is Alex "******" Cole.
* Portions created by the Initial Developer are Copyright © 2010
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Special Thanks to:
*
* SA:MP Team past, present and future
*/
native sscanf(const data[], const format[], {Float,_}:...);
native unformat(const data[], const format[], {Float,_}:...) = sscanf;
Re: Help! -
Talha dar - 22.09.2011
Still the same. Anyone else?
Re: Help! -
sleepysnowflake - 22.09.2011
Download the latest sscanf2 include ?
Re: Help! -
Talha dar - 22.09.2011
Tried. Fail.
Re: Help! -
sleepysnowflake - 22.09.2011

What are those lines of 'em include ?