//the errors and i have all of them defined but i still get these errors
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(292) : error 029: invalid expression, assumed zero
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(785) : error 017: undefined symbol "NONE"
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(3638) : error 017: undefined symbol "BALLOS"
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(3642) : error 017: undefined symbol "POLICE"
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(3646) : error 017: undefined symbol "BLUE"
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(3650) : error 017: undefined symbol "GROVE"
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(3661) : error 017: undefined symbol "TEAM_BALLOS"
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(3681) : error 017: undefined symbol "NONE"
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(3724) : error 017: undefined symbol "TEAM_BALLOS"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
//Under ongamemodeinit
tCP[CAPZONE] = NOTCAP;//Line 292
UnderAttack[CAPZONE] = 0;
Zone[CAPZONE] = GangZoneCreate(653.3203125,26.3671875,653.3203125,26.3671875);
CP[CAPZONE] = CreateDynamicCP(2487.9856,-1138.1130,38.8642, 3.0, -1, -1, -1, 100.0);
// the defines
#define TEAM_YSPAWN 1
#define TEAM_BALLAS 2
#define TEAM_POLICE 3
#define TEAM_BLUE 4
#define TEAM_GROVE 5
#define NONE
#define BALLOS
#define POLICE
#define BLUE
#define GROVE
#define TEAM_BALLOS
Did u even Define those Teams?
pawn Code:
|
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(785) : error 029: invalid expression, assumed zero
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(3681) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
SetPlayerMapIcon(playerid, 2, 2521.3564,-1681.3511,14.8824, 19, MAPICON_GLOBAL);
GangZoneShowForAll(Zone[CAPZONE], 0x00000043);
IsPlayerCapturing[playerid][CAPZONE] = 0;
CountVar[playerid][CAPZONE] = 25;
if(tCP[CAPZONE] == NOTCAP) GangZoneShowForAll(Zone[CAPZONE], -66);//line 785
else if(tCP[CAPZONE] == TEAM_YSPAWN) GangZoneShowForAll(Zone[CAPZONE], 0xFFFF00FF);
else if(tCP[CAPZONE] == TEAM_BALLAS) GangZoneShowForAll(Zone[CAPZONE], 0x800080FF);
else if(tCP[CAPZONE] == TEAM_POLICE) GangZoneShowForAll(Zone[CAPZONE], 0x0000FFFF);
else if(tCP[CAPZONE] == TEAM_BLUE) GangZoneShowForAll(Zone[CAPZONE],0x00FFFFFF);
else if(tCP[CAPZONE] == TEAM_GROVE) GangZoneShowForAll(Zone[CAPZONE],0x008000FF);
else if(tCP[CAPZONE] == NOTCAP)//line 3681
{
SendClientMessage(playerid, COLOR_RED,"This zone is not captured by any team");
}
#define NOTCAP