23.04.2014, 21:21
I followed a tutorial on how to make a capture zone system and im getting the following errors can someone help me please the code is below:
pawn Code:
//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