#1

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

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;
Reply
#3

Still the same. Anyone else?
Reply
#4

Download the latest sscanf2 include ?
Reply
#5

Tried. Fail.
Reply
#6

What are those lines of 'em include ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)