30.08.2012, 05:30
Hi, I got those errors, Please help me to fix them!
My PAWNO code:
Please help me!
Код HTML:
(82) : error 033: array must be indexed (variable "Zone") (83) : error 033: array must be indexed (variable "Zone") (265) : error 033: array must be indexed (variable "Zone") (267) : error 033: array must be indexed (variable "Zone") (267) : warning 215: expression has no effect (267) : error 001: expected token: ";", but found "]" (267) : error 029: invalid expression, assumed zero (267) : fatal error 107: too many error messages on one line
pawn Код:
..... the includes all defines
new CP[30];
new Zone[30];
OnGameModeInit()
(82) CP[Zone] = CreateDynamicCP(1195.3125, -1863.28125, 1757.8125, -1154.296875);//It won't give error I have the new!
(83)Zone[Zone] = GangZoneCreate(1195.3125, -1863.28125, 1757.8125, -1154.296875);
return 1;
...............
.............
.......
.........
Line: (265) if(checkpointid == CP[Zone])
(267)if(tCheck[Zone] == gTeam[playerid]) return SendClientMessage(playerid, COLOR_RED,"This zone is already captured by your team");