Gang zone wars help
#1

https://sampforum.blast.hk/showthread.php?tid=276352

(16) : error 017: undefined symbol "ZoneInfo"
(17) : error 017: undefined symbol "ZoneInfo"
384 error 021: symbol already defined: "ZoneInfo"
(1442) : error 010: invalid function or declaration
(1445) : error 010: invalid function or declaration
10977) : warning 235: public function lacks forward declaration (symbol "ZoneTimer")
11002) : error 017: undefined symbol "Teams"
(11002) : error 036: empty statement
(11002) : error 017: undefined symbol "t"
(11002) : fatal error 107: too many error messages on one line

PHP код:
16 new ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
17 new ZoneAttackTime[sizeof(ZoneInfo)];
384 :
new 
ZoneInfo[][eZone] = {
{
2337.9004,-1808.8383,2590.2043,-1610.3673,TEAM_GROVE},
{
2084.7,-1808.8383,2337.9004,-1610.3673,TEAM_BALLAS},
{
2590.2043,-1808.8383,2842.3,-1610.3673,TEAM_VAGOS},
{
1429.3770,-1732.4554,1529.1932,-1592.1989,TEAM_GROVE}
};
1442
for(new 
i=0sizeof(ZoneInfo); i++)
{
     
GangZoneShowForPlayer(playeridZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam]));
    if(
ZoneAttacker[i] != -1GangZoneFlashForPlayer(playeridZoneID[i], GetTeamZoneColor(ZoneAttacke[i]));
}
11002:
for(new 
t=0sizeof(Teams); t++) // loop all teams 
Thank
Reply
#2

new ZoneInfo[][eZone] put this in the top of the all of your script and show me all the loop.
Reply
#3

delete
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)