SSCANF2 error
#1

Hello,

Quote:

(SAMP)\Core\pawno\include\sscanf2.inc(30) : fatal error 111: user error: sscanf (possibly the PAWN version) already defined.

?? What's this?

(while including S32_House.inc)

Quote:

#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <foreach>
#include <a_mysql>
#include <a_players>
#include <SII>
#include <streamer>

Thanks a lot
Reply
#2

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



?? What's this?

(while including S32_House.inc)



Thanks a lot
Download the latest 0.3d Updated Package. Use the 0.3d Client.

Or

Download the latest version of sscanf2 by ******!
Reply
#3

Already update, and i try with the SSCANF 2 V8 and nothing changes
Reply
#4

open the "S32_House.inc" file, goto line 30 and see if theres the old, scripted, sscanf defined. if so, delete it - its obsolete by now
if you get any more compiling issues then, you need to make sure that the sscanf2.inc gets included before the house.inc in your gamemode.
Reply
#5

From SSCANF INC

Deleted line 30 : #error sscanf (possibly the PAWN version) already defined.

In my gamemode :
#include <sscanf2>
#include <S32_House>


Errors :
Код:
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(43) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(46) : error 017: undefined symbol "GetMaxPlayers"
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(46) : error 029: invalid expression, assumed zero
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(46) : warning 215: expression has no effect
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(47) : error 017: undefined symbol "funcidx"
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(47) : warning 215: expression has no effect
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(47) : error 001: expected token: ";", but found ")"
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(47) : error 029: invalid expression, assumed zero
S:\Serveur\GTA (SAMP)\Core\pawno\include\sscanf2.inc(47) : fatal error 107: too many error messages on one line
btw : My line 30 of S32_House.inc is empty
Код:
L27#if !defined _inc_foreach
L28	#include <foreach>
L29#endif
L30
That's impossible to understand...

My includes are in this order :

Код:
#include <sscanf2>
#include <S32_House>
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
#include <a_samp>
#include <zcmd>
//#include <sscanf2>
#include <foreach>
#include <a_mysql>
#include <a_players>
#include <SII>
#include <streamer>
#include <F_Streamer>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)