[Ajuda] Alguem ajuda com esse warning ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Alguem ajuda com esse warning ? (
/showthread.php?tid=369412)
Alguem ajuda com esse warning ? -
L.D.K - 17.08.2012
Код:
C:\Documents and Settings\Administrador\Meus documentos\Meus arquivos recebidos\PODEROSO-BEC\pawno\include\servermoneyGM.inc(84) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
deu esse warning pq eu mudei objetos pra dynamicobjeto
Re: Alguem ajuda com esse warning ? -
Delay - 17.08.2012
Pode ser.. segundo o erro que deu
1є Verifique no Gamemode se existe 2 Public desta OnGameModeInit iguais, se caso nгo.. ok
Tente, mais chance de funcionar:
2є Pode ser o PLugin e a Include Streamer, troque por estes e compile!
Plugin:
http://www.mediafire.com/?nr5rryuxkwmhprw
Include:
http://www.mediafire.com/?so454w6x56g6lzf
Se preferir:
http://forum.sa-mp.com/showthread.ph...43#post2058443
Lembrando, PLugin na Pasta Plugin, e Include na PAWNO/INCLUDES .. Cuidado
Ultima opзгo \/
3є Se nгo der, permaneзa com as includes e o plugin acima /\ sao atualizados, faзa o seguinte..
Abra a include Stramer, procure por OnGameModeInit e apague a public da include
pawn Код:
public OnGameModeInit()
{
if (!Streamer_g_RI)
{
Streamer_g_OPC = funcidx("Streamer_OnPlayerConnect") != -1;
Streamer_g_OPDC = funcidx("Streamer_OnPlayerDisconnect") != -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;
Streamer_g_RI = true;
Streamer_RegisterInterface();
}
if (funcidx("Streamer_OnGameModeInit") != -1)
{
return CallLocalFunction("Streamer_OnGameModeInit", "");
}
return 1;
}