SA-MP Forums Archive
symbol already defined: "OnGameModeExit" WTF - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: symbol already defined: "OnGameModeExit" WTF (/showthread.php?tid=203394)



symbol already defined: "OnGameModeExit" WTF - Pooh7 - 26.12.2010

Код:
symbol already defined: "OnGameModeExit"
WTF!?
I have only 1 callback OnGameModeExit!
Include list:
#include <a_samp>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <D_Ikone>
#include <streamer>
#include <morphinc>
#include <dini>


How to fix this error?


Re: symbol already defined: "OnGameModeExit" WTF - [WF]Demon - 26.12.2010

show the first part of the error


Re: symbol already defined: "OnGameModeExit" WTF - Lorenc_ - 26.12.2010

^ wtf are you trying to get his name and his server directory?

btw. one of your includes use another ongamemodeinit, i suggest you search through them and make the stuff inside that callback a function, otherwise if no matches, check for a duplicate in your gamemode of ongamemodeinit


Re: symbol already defined: "OnGameModeExit" WTF - [WF]Demon - 26.12.2010

no im trying to see if its in a include or in his script, dont go saying shit like im hacking people, damn.


Re: symbol already defined: "OnGameModeExit" WTF - Lorenc_ - 26.12.2010

alright but that error mostly comes throughout the gamemode >.<


Re: symbol already defined: "OnGameModeExit" WTF - ToPhrESH - 26.12.2010

Try going through this include :
pawn Код:
#include <D_Ikone>
I think that might be the one there


Re: symbol already defined: "OnGameModeExit" WTF - Marricio - 26.12.2010

check if you have two 'public OnGameModeInit()'.


Re: symbol already defined: "OnGameModeExit" WTF - WillyP - 26.12.2010

Quote:
Originally Posted by Marricio
Посмотреть сообщение
check if you have two 'public OnGameModeInit()'.
You mean: OnGameModeExit