Undifined Symbol
#1

Error: error 017: undefined symbol "tCP"

Код:
public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print("Capture Zones Loaded Succesfully");
	print("--------------------------------------\n");
	
	CP[Idlewood] = CreateDynamicCP(1925.3003, -1791.3341, 13.3828, 5, -1, -1, 100);
	Zone[Idlewood] = GangZoneCreate(1839.726, -1930.57, 1950.008, -1772.66);
	UnderAttack[Idlewood] = -1;
	Captured[Idlewood] = -1;
	tCP[Idlewood] = TEAM_NONE;
	
	return 1;
}
Please help me. I dont know how to define that...
Reply
#2

Define it the same way you defined the CP.
Reply
#3

pawn Код:
CP[Idlewood] = CreateDynamicCP(1925.3003, -1791.3341, 13.3828, 5, -1, -1, 100);
    Zone[Idlewood] = GangZoneCreate(1839.726, -1930.57, 1950.008, -1772.66);
    UnderAttack[Idlewood] = -1;
    Captured[Idlewood] = -1;
    CP[Idlewood] = TEAM_NONE;
you made a mistype at CP[Idlewood].
Reply
#4

Yeah Fixed thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)