SA-MP Forums Archive
error 021: symbol already defined: "RemoveBuildingForPlayer" - 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)
+--- Thread: error 021: symbol already defined: "RemoveBuildingForPlayer" (/showthread.php?tid=335694)



error 021: symbol already defined: "RemoveBuildingForPlayer" - SiEx - 19.04.2012

Hey Guys

I Have this Problem
Код:
C:\Users\Rancas\Desktop\Shelby RPs\gamemodes\Shelby.pwn(1360) : error 021: symbol already defined: "RemoveBuildingForPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
What should i do to fix it ?


Re: error 021: symbol already defined: "RemoveBuildingForPlayer" - MP2 - 19.04.2012

You probably put it outside a set of brackets.


Re: error 021: symbol already defined: "RemoveBuildingForPlayer" - [MG]Dimi - 19.04.2012

Did you do
pawn Код:
native RemoveBuildingForPlayer(...);
//or
#define RemoveBuildingForPlayer(...)
?


Re: error 021: symbol already defined: "RemoveBuildingForPlayer" - IstuntmanI - 19.04.2012

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
Did you do
pawn Код:
native RemoveBuildingForPlayer(...);
//or
#define RemoveBuildingForPlayer(...)
?
Shut up.

You must to use it as a function, like SetPlayerPos and others, put it under OnPlayerConnect.


Re: error 021: symbol already defined: "RemoveBuildingForPlayer" - [MG]Dimi - 19.04.2012

Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
Shut up.

You must to use it as a function, like SetPlayerPos and others, put it under OnPlayerConnect.
Don't tell me shut up... If he did what I said it will return him error he posted. I NEVER said he must have that. Grow up. Think before you say something.


Re: error 021: symbol already defined: "RemoveBuildingForPlayer" - SiEx - 19.04.2012

Thank You Guys !! Rep + for all