[Ajuda] erro no sscanf2 include
#1

alguem me ajuda pfv, estou com um problema adicionei o sscanf2 nas includes do pawno e adicionei #include <sscanf2> no topo do gm, agora ele nгo compila mais, da este erro, quem souber resolver isso eu agradeзo.

Код:
C:\Users\User\Desktop\GM\pawno\include\sscanf2.inc(258) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GM\pawno\include\sscanf2.inc(271) : error 025: function heading differs from prototype
C:\Users\User\Desktop\GM\gamemodes\grandlarc.pwn(18) : error 021: symbol already defined: "unformat"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
pesquisei muito antes de postar, por isso jogo agora as linhas do erro da include.
PHP код:
255. public OnPlayerDisconnect(playeridreason)
256.     {
257.         #if defined SSCANF_OnPlayerDisconnect 
258.             SSCANF_OnPlayerDisconnect(playeridreason);//LINHA DO ERRO
259.         #endif
260.         SSCANF_Leave(playerid);
261.         return 1;
262.     }
263. 
264.     
#if defined _ALS_OnPlayerDisconnect
265.         #undef OnPlayerDisconnect
266.     #else
267.         #define _ALS_OnPlayerDisconnect
268.     #endif
269.     #define OnPlayerDisconnect SSCANF_OnPlayerDisconnect
270.     #if defined SSCANF_OnPlayerDisconnect
271.         forward SSCANF_OnPlayerDisconnect(playeridreason); //LINHA DO ERRO
272.    #endif
273. #endif
274. 
275. 
#define SSCANF_Init
276. #define SSCANF_Join
277. #define SSCANF_Leave 
Код:
linha do error no gm

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


Messages In This Thread
erro no sscanf2 include - by BobbMarley - 21.08.2016, 20:39
Re: erro no sscanf2 include - by Dayvison_ - 21.08.2016, 21:20
Re: erro no sscanf2 include - by BobbMarley - 21.08.2016, 21:25
Re: erro no sscanf2 include - by RodrigoMSR - 21.08.2016, 21:27
Re: erro no sscanf2 include - by BobbMarley - 21.08.2016, 22:44
Re: erro no sscanf2 include - by Wellington1999 - 22.08.2016, 01:49

Forum Jump:


Users browsing this thread: 1 Guest(s)