Error 021: Undefined Symbol
#1

I wanna add this in my code but pawno gives this error:

Код:
D:\*\Games Archive\Grand Theft Auto - San Andreas\Server-WCRP\gamemodes\larp.pwn(85246) : error 021: symbol already defined: "MP_OPC"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Now here's the code:

Код HTML:
85245	public OnPlayerConnect(playerid)
85246	{
85247	RemoveBuildingForPlayer(playerid, 3768, 653.9844, -1060.3828, 51.5078, 0.25);
85248	RemoveBuildingForPlayer(playerid, 3768, 678.9453, -1020.8828, 54.6875, 0.25);
85249	RemoveBuildingForPlayer(playerid, 615, 634.4375, -1038.1172, 56.2813, 0.25);
85250	RemoveBuildingForPlayer(playerid, 669, 625.5703, -1036.0938, 58.4375, 0.25);
85251	RemoveBuildingForPlayer(playerid, 3762, 653.9844, -1060.3828, 51.5078, 0.25);
85252	RemoveBuildingForPlayer(playerid, 700, 654.4609, -1047.2969, 50.2422, 0.25);
85253	RemoveBuildingForPlayer(playerid, 615, 668.2500, -1028.9297, 50.4688, 0.25);
85254	RemoveBuildingForPlayer(playerid, 615, 657.2578, -1030.4609, 52.6250, 0.25);
85255	RemoveBuildingForPlayer(playerid, 615, 650.8516, -1021.0859, 55.0156, 0.25);
85256	RemoveBuildingForPlayer(playerid, 3762, 678.9453, -1020.8828, 54.6875, 0.25);
85257	return 1;
85258	}
I don't get the error because there's not even MP_OPC symbol... Can you help me?
Reply
#2

that means that MP_OPC isn't used anywhere in script and you have defined it. So you only need find that in your script and delete. Then this warning will be solved. I hope so that I help you.
Reply
#3

Quote:
Originally Posted by Luca12
Посмотреть сообщение
that means that MP_OPC isn't used anywhere in script and you have defined it. So you only need find that in your script and delete. Then this warning will be solved. I hope so that I help you.
Actually no, this particular error means that the same symbol has been defined twice in the same routine.
Reply
#4

Quote:
Originally Posted by PrivatioBoni
Посмотреть сообщение
Actually no, this particular error means that the same symbol has been defined twice in the same routine.
yes you wright my mistake . Sorry
Reply
#5

Guys but there's a little problem I searched all my code for MP_OPC but there's isn't MP_OPC...
Reply
#6

Does "tolrp.pwn" ring a bell to you?

http://forum.sa-mp.com/showpost.php?...76&postcount=6
Reply
#7

Nope, what should I do?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)