MySQL Problem - 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: MySQL Problem (
/showthread.php?tid=164555)
MySQL Problem -
Luis_Leone - 31.07.2010
I am making a Register/Login System I am using the Tut to make it, But i got these weird errors?
Код:
error 021: symbol already defined: "main"
error 021: symbol already defined: "OnGameModeInit"
error 021: symbol already defined: "OnGameModeExit"
error 021: symbol already defined: "OnPlayerRequestClass"
Re: MySQL Problem -
Vince - 31.07.2010
That indicates that you just blatantly copied the code instead of following the tutorial.
If you search for the 'main' function, for example, you'll find it in your script twice. Put them together in one function.
Re: MySQL Problem -
Luis_Leone - 31.07.2010
Quote:
Originally Posted by Vince
That indicates that you just blatantly copied the code instead of following the tutorial.
If you search for the 'main' function, for example, you'll find it in your script twice. Put them together in one function.
|
I searched for them but only found the one?
Re: MySQL Problem -
Jamal' - 31.07.2010
example OnGameModeInit
you cant put OnGameModeInit you cant put it more than one time just put in the one what you need
Re: MySQL Problem -
Luis_Leone - 31.07.2010
Quote:
Originally Posted by Jamal'
example OnGameModeInit
you cant put OnGameModeInit you cant put it more than one time just put in the one what you need
|
I have only one "OnGameModeInit"
Re: MySQL Problem -
Daren_Jacobson - 31.07.2010
Quote:
Originally Posted by Jamal'
example OnGameModeInit
you cant put OnGameModeInit you cant put it more than one time just put in the one what you need
|
Liar, I have 4 OnGameModeInit's.