SA-MP Forums Archive
Capture System Error (ZoneInfo) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Capture System Error (ZoneInfo) (/showthread.php?tid=448119)



Capture System Error (ZoneInfo) - DJTunes - 03.07.2013

PAWNO Compiler:
Код:
C:\Users\Owner\Desktop\SA-MP Server1\gamemodes\COD4.pwn(38) : error 017: undefined symbol "ZoneInfo"
C:\Users\Owner\Desktop\SA-MP Server1\gamemodes\COD4.pwn(39) : error 017: undefined symbol "ZoneInfo"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Line 38:
pawn Код:
new ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
Line 39:
pawn Код:
new ZoneAttackTime[sizeof(ZoneInfo)];
Could someone please tell my why I get these errors, and how I can fix them?
Here is the pastebin to my script: http://pastebin.com/baPWeK8V


Re: Capture System Error (ZoneInfo) - niconhan - 03.07.2013

Show you ZoneInfo line ?


Re: Capture System Error (ZoneInfo) - DJTunes - 03.07.2013

pawn Код:
new ZoneInfo[][eZone] = {
    {103.7123,1805.2091,386.8307,2079.9294,TEAM_USA},
    {2084.7,-1808.8383,2337.9004,-1610.3673,TEAM_UK}
};



Re: Capture System Error (ZoneInfo) - GeniusPobs - 03.07.2013

Move
pawn Код:
new ZoneInfo[][eZone] = {
    {103.7123,1805.2091,386.8307,2079.9294,TEAM_USA},
    {2084.7,-1808.8383,2337.9004,-1610.3673,TEAM_UK}
};
to any place above line 38.


Re: Capture System Error (ZoneInfo) - DJTunes - 03.07.2013

Fixed.