"error 021: symbol already defined:" 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: "error 021: symbol already defined:" Problem. (
/showthread.php?tid=116492)
"error 021: symbol already defined:" Problem. -
[Bm]rap45 - 29.12.2009
Well I'm using taxi's mapicon streamer and i got most of it but the problem is that i can't figure this problem out.
Код:
C:\Users\Computer\Desktop\SA-MP Server\gamemodes\ChillingServer.pwn(115) : error 021: symbol already defined: "tAxI_OnGameModeInit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
And those lines are 113 to 118
Код:
tAxI_OnGameModeInit()
{
SetPlayerMapIcon( playerid, 1, 1498.57, -1583.19, 13.54, 52, 0); // Bank
SetPlayerMapIcon( playerid, 1, 2363.84, 2377.58, 10.82, 52, 0); // Bank
SetPlayerMapIcon( playerid, 1, -1704.94, 785.49, 24.89, 52, 0); // Bank
}
I looked for other tAxI_OnGameModeInit() but i couldn't find it. I looked at the include and found something but i didn't wanted to touch it because i don't know if, i do something that would damage the script. But here is the part i found in "#include <MI_streamer>"
Код:
stock tAxI_OnGameModeInit()
{
SetTimer("InitiateMinimapStreamer",3000,0);
return 1;
}
But I don't know what should i do, that's why I'm posting this.
BTW I'm a beginner in pawno and sometimes i can't get to script and learn a lot because i have a lot of things to do so yea =/
Re: "error 021: symbol already defined:" Problem. -
[HiC]TheKiller - 29.12.2009
Maybe post in that topic? Delete it from your script and add whatever it is in your script to the INC.