03.08.2012, 15:36
deu 2 warnings ainda..
a linha 10497 й essa
minha include fico assim..
\=
pawn Код:
\pawno\include\streamer.inc(334) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
\BPP 0.3e\gamemodes\BPP.pwn(10497) : warning 235: public function lacks forward declaration (symbol "GameModeInitEX")
pawn Код:
public OnGameModeInit()
pawn Код:
public OnGameModeInit()
{
Streamer_g_OPC = funcidx("Streamer_OnPlayerConnect") != -1;
Streamer_g_OPDC = funcidx("Streamer_OnPlayerDisconnect") != -1;
Streamer_g_OPEO = funcidx("Streamer_OnPlayerEditObject") != -1;
Streamer_g_OPSO = funcidx("Streamer_OnPlayerSelectObject") != -1;
Streamer_g_OPPP = funcidx("Streamer_OnPlayerPickUpPickup") != -1;
Streamer_g_OPEC = funcidx("Streamer_OnPlayerEnterCP") != -1;
Streamer_g_OPLC = funcidx("Streamer_OnPlayerLeaveCP") != -1;
Streamer_g_OPERC = funcidx("Streamer_OnPlayerEnterRaceCP") != -1;
Streamer_g_OPLRC = funcidx("Streamer_OnPlayerLeaveRaceCP") != -1;
if (funcidx("Streamer_OnGameModeInit") != -1)
{
return CallLocalFunction("Streamer_OnGameModeInit", "");
}
return CallLocalFunction("GameModeInitEx", "");
}
#if defined _ALS_OnGameModeInit
#undef OnGameModeInit
#else
#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit GameModeInitEX
forward OnGameModeInitEx();