21.08.2016, 20:39
(
Последний раз редактировалось Lуs; 21.08.2016 в 21:54.
)
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.
pesquisei muito antes de postar, por isso jogo agora as linhas do erro da include.
Код:
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.
PHP код:
255. public OnPlayerDisconnect(playerid, reason)
256. {
257. #if defined SSCANF_OnPlayerDisconnect
258. SSCANF_OnPlayerDisconnect(playerid, reason);//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(playerid, reason); //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;


