Gangwar Help! [+REP]
#1

Code:
F:\IS\pawno\include\stockgangwar.inc(237) : error 017: undefined symbol "ZoneInfo"
F:\IS\pawno\include\stockgangwar.inc(254) : error 017: undefined symbol "ZoneInfo"
F:\IS\pawno\include\stockgangwar.inc(254) : error 036: empty statement
F:\IS\pawno\include\stockgangwar.inc(254) : error 017: undefined symbol "i"
F:\IS\pawno\include\stockgangwar.inc(254) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Those are the errors dont know why i already defined Zoneinfo Check it here
PHP Code:
//--IS 0.3z V2.0 ---------------//
//Bugs Fixed By Deadly----------//
#include <a_samp>
#include <zcmd>
#include <stockgangwar>
new PlayerKills[MAX_PLAYERS] = 0Dominating[MAX_PLAYERS] = 0;
new 
ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
new 
ZoneAttackTime[sizeof(ZoneInfo)];
new 
ZoneDeaths[sizeof(ZoneInfo)];
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_MEMBERS_TO_START_WAR 1 // how many team members needed in a zone to start a war
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_DEATHS_TO_START_WAR 1 // how many team members must be killed in a zone to start a war
new Teams[] = {
    
TEAM_GROVE,
    
TEAM_BALLAS,
    
TEAM_VAGOS
}; 
#define Dialog_Welcome 1
#include <streamer>
#include <sscanf2>
#define COLOR_GREY 0x808080FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_YELLOW 0xFFFF00FF
#define COLOR_GREEN 0x088A08FF
#pragma tabsize 0
#define player_x -250.9738
#define player_y 2585.6497
#define player_z 63.5703
#define player_angle 210.3500
//---------------------------------GangWar ----------------------//
#define TEAM_GROVE 1
#define TEAM_BALLAS 2
#define TEAM_VAGOS 3
//------------------------------------------------------end----//
//--Zones-------------//
enum eZone
{
    
Float:zMinX,
    
Float:zMinY,
    
Float:zMaxX,
    
Float:zMaxY,
    
zTeam
}
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}
};
new 
ZoneID[sizeof(ZoneInfo)]; 
And the i thing'i' dont know what is the error this is the line
PHP Code:
if(PlayerKills[killerid] == 6
Reply
#2

Error isn't in this code, it is in stockgangwar.inc include.
Quote:

F:\IS\pawno\include\stockgangwar.inc(254)

Open stockgangwar.inc in pawno and find lines with errors.
Reply
#3

Quote:
Originally Posted by Thogy
View Post
Error isn't in this code, it is in stockgangwar.inc include.

Open stockgangwar.inc in pawno and find lines with errors.
dude i made that include myself and added stocks in it and seems not to work
I added without the include and added the stock in the gamemode it still dosent seem to work

Edit: I fixed it anyways thanks for your help!
Reply
#4

Try add; #include <foreach>
Reply
#5

put these code
pawn Code:
new ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
new ZoneAttackTime[sizeof(ZoneInfo)];
new ZoneDeaths[sizeof(ZoneInfo)];
under
pawn Code:
//--Zones-------------//
enum eZone
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    zTeam
}
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}
};
new ZoneID[sizeof(ZoneInfo)];
it's happened becouse of you define a code that call the "ZoneInfo" before it defined
Reply
#6

Quote:
Originally Posted by AiRaLoKa
View Post
put these code
pawn Code:
new ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
new ZoneAttackTime[sizeof(ZoneInfo)];
new ZoneDeaths[sizeof(ZoneInfo)];
under
pawn Code:
//--Zones-------------//
enum eZone
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    zTeam
}
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}
};
new ZoneID[sizeof(ZoneInfo)];
it's happened becouse of you define a code that call the "ZoneInfo" before it defined
Like this?
PHP Code:
enum eZone
{
    
Float:zMinX,
    
Float:zMinY,
    
Float:zMaxX,
    
Float:zMaxY,
    
zTeam
}
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}
};
new 
ZoneID[sizeof(ZoneInfo)];
new 
ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
new 
ZoneAttackTime[sizeof(ZoneInfo)]; 
if so then i get these errors

Code:
F:\IS\pawno\include\stockgangwar.inc(237) : error 017: undefined symbol "ZoneInfo"
F:\IS\pawno\include\stockgangwar.inc(237) : error 029: invalid expression, assumed zero
F:\IS\pawno\include\stockgangwar.inc(237) : error 029: invalid expression, assumed zero
F:\IS\pawno\include\stockgangwar.inc(237) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#7

Do what AiRaLoKa said but in the include itself.

It should work
Reply
#8

Quote:
Originally Posted by F1aw1ess
View Post
Do what AiRaLoKa said but in the include itself.

It should work
PHP Code:
#define FILTERSCRIPT
#define TEAM_GROVE 1
#define TEAM_BALLAS 2
#define TEAM_VAGOS 3
new ZoneDeaths[sizeof(ZoneInfo)];
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}
};
new 
ZoneID[sizeof(ZoneInfo)];
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_MEMBERS_TO_START_WAR 2
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_DEATHS_TO_START_WAR 2 // how many team members must be killed in a zone to start a war
new Teams[] = {
    
TEAM_GROVE,
    
TEAM_BALLAS,
    
TEAM_VAGOS
};// how many team members needed in a zone to start a war
new ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
new 
ZoneAttackTime[sizeof(ZoneInfo)];
#include <a_samp>
public OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" Gangwar by Deadly");
    print(
"--------------------------------------\n");
    for(new 
i=0sizeof(ZoneInfo); i++)
{
    
ZoneID[i] = GangZoneCreate(ZoneInfo[i][zMinX], ZoneInfo[i][zMinY], ZoneInfo[i][zMaxX], ZoneInfo[i][zMaxY]);
    
SetTimer("ZoneTimer"1000true);
    
SetTimer("ZoneTimer"1000true);
}
    return 
1;
}
stock IsPlayerInZone(playeridzoneid)
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerPos(playeridxyz);
    return (
ZoneInfo[zoneid][zMinX] && ZoneInfo[zoneid][zMaxX] && ZoneInfo[zoneid][zMinY] && ZoneInfo[zoneid][zMaxY]);
}
stock GetPlayersInZone(zoneidteamid)
{
    new 
count;
    for(new 
i=0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i) && GetPlayerTeam(i) == teamid && IsPlayerInZone(izoneid))
        {
            
count++;
        }
    }
    return 
count;
}
enum eZone
{
    
Float:zMinX,
    
Float:zMinY,
    
Float:zMaxX,
    
Float:zMaxY,
    
zTeam
}
public 
OnFilterScriptExit()
{
    return 
1;
}
public 
OnPlayerRequestClass(playeridclassid)
{
    
SetPlayerPos(playerid1958.37831343.157215.3746);
    
SetPlayerCameraPos(playerid1958.37831343.157215.3746);
    
SetPlayerCameraLookAt(playerid1958.37831343.157215.3746);
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    return 
1;
}
public 
OnPlayerDisconnect(playeridreason)
{
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
    for(new 
i=0sizeof(ZoneInfo); i++)
{
    
GangZoneShowForPlayer(playeridZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam]));
}
for(new 
i=0sizeof(ZoneInfo); i++)
{
    
GangZoneShowForPlayer(playeridZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam]));
    if(
ZoneAttacker[i] != -1GangZoneFlashForPlayer(playeridZoneID[i], GetTeamZoneColor(ZoneAttacker[i]));
}
    return 
1;
}
stock GetTeamZoneColor(teamid)
{
    switch(
teamid)
    {
        case 
TEAM_GROVE: return 0x00FF0088;
        case 
TEAM_BALLAS: return 0xFF00FF88;
        case 
TEAM_VAGOS: return 0xFFFF0088;
    }
    return -
1;
}
public 
OnPlayerDeath(playeridkilleridreason)
{
    if(
IsPlayerConnected(killerid) && GetPlayerTeam(playerid) != GetPlayerTeam(killerid)) // not a suicide or team kill
{
    new 
zoneid GetPlayerZone(playerid);
    if(
zoneid != -&& ZoneInfo[zoneid][zTeam] == GetPlayerTeam(playerid)) // zone member has been killed in the zone
    
{
        
ZoneDeaths[zoneid]++;
        if(
ZoneDeaths[zoneid] == MIN_DEATHS_TO_START_WAR)
        {
            
ZoneDeaths[zoneid] = 0;
            
ZoneAttacker[zoneid] = GetPlayerTeam(killerid);
            
ZoneAttackTime[zoneid] = 0;
            
GangZoneFlashForAll(ZoneID[zoneid], GetTeamZoneColor(ZoneAttacker[zoneid]));
        }
    }
}
    return 
1;
}
public 
OnVehicleSpawn(vehicleid)
{
    return 
1;
}
public 
OnVehicleDeath(vehicleidkillerid)
{
    return 
1;
}
public 
OnPlayerText(playeridtext[])
{
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/mycommand"cmdtexttrue10) == 0)
    {
        
// Do something here
        
return 1;
    }
    return 
0;
}
public 
OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    return 
1;
}
public 
OnPlayerExitVehicle(playeridvehicleid)
{
    return 
1;
}
public 
OnPlayerStateChange(playeridnewstateoldstate)
{
    return 
1;
}
public 
OnPlayerEnterCheckpoint(playerid)
{
    return 
1;
}
public 
OnPlayerLeaveCheckpoint(playerid)
{
    return 
1;
}
public 
OnPlayerEnterRaceCheckpoint(playerid)
{
    return 
1;
}
public 
OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 
1;
}
public 
OnRconCommand(cmd[])
{
    return 
1;
}
public 
OnPlayerRequestSpawn(playerid)
{
    return 
1;
}
public 
OnObjectMoved(objectid)
{
    return 
1;
}
public 
OnPlayerObjectMoved(playeridobjectid)
{
    return 
1;
}
public 
OnPlayerPickUpPickup(playeridpickupid)
{
    return 
1;
}
public 
OnVehicleMod(playeridvehicleidcomponentid)
{
    return 
1;
}
public 
OnVehiclePaintjob(playeridvehicleidpaintjobid)
{
    return 
1;
}
public 
OnVehicleRespray(playeridvehicleidcolor1color2)
{
    return 
1;
}
public 
OnPlayerSelectedMenuRow(playeridrow)
{
    return 
1;
}
public 
OnPlayerExitedMenu(playerid)
{
    return 
1;
}
public 
OnPlayerInteriorChange(playeridnewinterioridoldinteriorid)
{
    return 
1;
}
public 
OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    return 
1;
}
public 
OnRconLoginAttempt(ip[], password[], success)
{
    return 
1;
}
public 
OnPlayerUpdate(playerid)
{
    return 
1;
}
public 
OnPlayerStreamIn(playeridforplayerid)
{
    return 
1;
}
public 
OnPlayerStreamOut(playeridforplayerid)
{
    return 
1;
}
public 
OnVehicleStreamIn(vehicleidforplayerid)
{
    return 
1;
}
public 
OnVehicleStreamOut(vehicleidforplayerid)
{
    return 
1;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    return 
1;
}
public 
OnPlayerClickPlayer(playeridclickedplayeridsource)
{
    return 
1;
}
public 
ZoneTimer()
{
    for(new 
i=0sizeof(ZoneInfo); i++) // loop all zones
    
{
        if(
ZoneAttacker[i] != -1// zone is being attacked
        
{
            if(
GetPlayersInZone(iZoneAttacker[i]) >= MIN_MEMBERS_TO_START_WAR// team has enough members in the zone
            
{
                
ZoneAttackTime[i]++;
                if(
ZoneAttackTime[i] == TAKEOVER_TIME// zone has been under attack for enough time and attackers take over the zone
                
{
                    
GangZoneStopFlashForAll(ZoneID[i]);
                    
ZoneInfo[i][zTeam] = ZoneAttacker[i];
                    
GangZoneShowForAll(ZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam])); // update the zone color for new team
                    
ZoneAttacker[i] = -1;
                }
            }
            else 
// attackers failed to take over the zone
            
{
                
GangZoneStopFlashForAll(ZoneID[i]);
                
ZoneAttacker[i] = -1;
            }
        }
        else 
// check if somebody is attacking
        
{
            for(new 
t=0sizeof(Teams); t++) // loop all teams
            
{
                if(
Teams[t] != ZoneInfo[i][zTeam] && GetPlayersInZone(iTeams[t]) >= MIN_MEMBERS_TO_START_WAR// if there are enough enemies in the zone
                
{
                    
ZoneAttacker[i] = Teams[t];
                    
ZoneAttackTime[i] = 0;
                    
GangZoneFlashForAll(ZoneID[i], GetTeamZoneColor(ZoneAttacker[i]));
                }
            }
        }
    }
}
public 
ZoneTimer()
{
    for(new 
i=0sizeof(ZoneInfo); i++) // loop all zones
    
{
        if(
ZoneAttacker[i] != -1// zone is being attacked
        
{
            if(
GetPlayersInZone(iZoneAttacker[i]) >= 1// there must be at least 1 attacker left
            
{
                
ZoneAttackTime[i]++;
                if(
ZoneAttackTime[i] == TAKEOVER_TIME// zone has been under attack for enough time and attackers take over the zone
                
{
                    
GangZoneStopFlashForAll(ZoneID[i]);
                    
ZoneInfo[i][zTeam] = ZoneAttacker[i];
                    
GangZoneShowForAll(ZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam])); // update the zone color for new team
                    
ZoneAttacker[i] = -1;
                }
            }
            else 
// attackers failed to take over the zone
            
{
                
GangZoneStopFlashForAll(ZoneID[i]);
                
ZoneAttacker[i] = -1;
            }
        }
    }
}
stock GetPlayerZone(playerid)
{
    for(new 
i=0sizeof(ZoneInfo); i++)
    {
        if(
IsPlayerInZone(playeridi))
        {
            return 
i;
        }
    }
    return -
1;

Made it into a filterscript now i got these errors?
Code:
F:\IS\gamemodes\GIS.pwn(5) : error 017: undefined symbol "ZoneInfo"
F:\IS\gamemodes\GIS.pwn(6) : error 017: undefined symbol "eZone"
F:\IS\gamemodes\GIS.pwn(32) : error 017: undefined symbol "zMinX"
F:\IS\gamemodes\GIS.pwn(42) : error 017: undefined symbol "zMinX"
F:\IS\gamemodes\GIS.pwn(94) : warning 217: loose indentation
F:\IS\gamemodes\GIS.pwn(99) : warning 217: loose indentation
F:\IS\gamemodes\GIS.pwn(290) : warning 235: public function lacks forward declaration (symbol "ZoneTimer")
F:\IS\gamemodes\GIS.pwn(327) : warning 235: public function lacks forward declaration (symbol "ZoneTimer")
F:\IS\gamemodes\GIS.pwn(328) : error 021: symbol already defined: "ZoneTimer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#9

Quote:

F:\IS\gamemodes\GIS.pwn(5) : error 017: undefined symbol "ZoneInfo"
F:\IS\gamemodes\GIS.pwn(6) : error 017: undefined symbol "eZone"
F:\IS\gamemodes\GIS.pwn(32) : error 017: undefined symbol "zMinX"
F:\IS\gamemodes\GIS.pwn(42) : error 017: undefined symbol "zMinX"
F:\IS\gamemodes\GIS.pwn(94) : warning 217: loose indentation
F:\IS\gamemodes\GIS.pwn(99) : warning 217: loose indentation
F:\IS\gamemodes\GIS.pwn(290) : warning 235: public function lacks forward declaration (symbol "ZoneTimer")
F:\IS\gamemodes\GIS.pwn(327) : warning 235: public function lacks forward declaration (symbol "ZoneTimer")

Do it in GIS.pwn as well.

Check indentation for the warnings.

Make a forward declaration for "ZoneTimer"
Reply
#10



pawn Code:
#define FILTERSCRIPT
#define TEAM_GROVE 1
#define TEAM_BALLAS 2
#define TEAM_VAGOS 3
new ZoneDeaths[sizeof(ZoneInfo)];
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}
};
new ZoneID[sizeof(ZoneInfo)];
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_MEMBERS_TO_START_WAR 2
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_DEATHS_TO_START_WAR 2 // how many team members must be killed in a zone to start a war
new Teams[] = {
    TEAM_GROVE,
    TEAM_BALLAS,
    TEAM_VAGOS
};// how many team members needed in a zone to start a war
new ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
new ZoneAttackTime[sizeof(ZoneInfo)];
#include <a_samp>
you are doing it wrong

pawn Code:
#define FILTERSCRIPT
#include <a_samp>

#define TEAM_GROVE 1
#define TEAM_BALLAS 2
#define TEAM_VAGOS 3
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_MEMBERS_TO_START_WAR 2
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_DEATHS_TO_START_WAR 2 // how many team members must be killed in a zone to start a war
new Teams[] = {
    TEAM_GROVE,
    TEAM_BALLAS,
    TEAM_VAGOS
};// how many team members needed in a zone to start a war
enum eZone
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    zTeam
}
new ZoneAttacker[sizeof(ZoneInfo)] = {-1, ...};
new ZoneAttackTime[sizeof(ZoneInfo)];
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}
};
new ZoneDeaths[sizeof(ZoneInfo)];
new ZoneID[sizeof(ZoneInfo)];
P.S.: you got a double public

pawn Code:
public ZoneTimer()
{
    for(new i=0; i < sizeof(ZoneInfo); i++) // loop all zones
    {
        if(ZoneAttacker[i] != -1) // zone is being attacked
        {
            if(GetPlayersInZone(i, ZoneAttacker[i]) >= MIN_MEMBERS_TO_START_WAR) // team has enough members in the zone
            {
                ZoneAttackTime[i]++;
                if(ZoneAttackTime[i] == TAKEOVER_TIME) // zone has been under attack for enough time and attackers take over the zone
                {
                    GangZoneStopFlashForAll(ZoneID[i]);
                    ZoneInfo[i][zTeam] = ZoneAttacker[i];
                    GangZoneShowForAll(ZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam])); // update the zone color for new team
                    ZoneAttacker[i] = -1;
                }
            }
            else // attackers failed to take over the zone
            {
                GangZoneStopFlashForAll(ZoneID[i]);
                ZoneAttacker[i] = -1;
            }
        }
        else // check if somebody is attacking
        {
            for(new t=0; t < sizeof(Teams); t++) // loop all teams
            {
                if(Teams[t] != ZoneInfo[i][zTeam] && GetPlayersInZone(i, Teams[t]) >= MIN_MEMBERS_TO_START_WAR) // if there are enough enemies in the zone
                {
                    ZoneAttacker[i] = Teams[t];
                    ZoneAttackTime[i] = 0;
                    GangZoneFlashForAll(ZoneID[i], GetTeamZoneColor(ZoneAttacker[i]));
                }
            }
        }
    }
}
public ZoneTimer()
{
    for(new i=0; i < sizeof(ZoneInfo); i++) // loop all zones
    {
        if(ZoneAttacker[i] != -1) // zone is being attacked
        {
            if(GetPlayersInZone(i, ZoneAttacker[i]) >= 1) // there must be at least 1 attacker left
            {
                ZoneAttackTime[i]++;
                if(ZoneAttackTime[i] == TAKEOVER_TIME) // zone has been under attack for enough time and attackers take over the zone
                {
                    GangZoneStopFlashForAll(ZoneID[i]);
                    ZoneInfo[i][zTeam] = ZoneAttacker[i];
                    GangZoneShowForAll(ZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam])); // update the zone color for new team
                    ZoneAttacker[i] = -1;
                }
            }
            else // attackers failed to take over the zone
            {
                GangZoneStopFlashForAll(ZoneID[i]);
                ZoneAttacker[i] = -1;
            }
        }
    }
}
and you call it twice
pawn Code:
SetTimer("ZoneTimer", 1000, true);
    SetTimer("ZoneTimer", 1000, true);
inside OnFilterScriptInit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)