"error 021: symbol already defined:" Problem.
#1

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 =/
Reply
#2

Maybe post in that topic? Delete it from your script and add whatever it is in your script to the INC.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)