Run time error 7: "Stack underflow"?
#1

I am using a plugin crashdetect and here are one of the errors I am getting:

Note* this is only one of the errors just like this I am getting about different functions on the script
Code:
[15:02:18] [debug]   Stack index (STK) is 0xAC6240, stack top (STP) is 0xAC6238
[15:02:18] [debug] Run time error 7: "Stack underflow"
[15:02:18] [debug] #0  00000008 in ArmyGates () from Gammode.amx
[15:02:18] [debug] Backtrace (most recent call first):
and here is ArmyGates
pawn Code:
public ArmyGates()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(PlayerToPoint(10.0, i, -1530.15380859,482.34051514,8.83757210) && ArmyGate == 0)
        {
            if(gTeam[i] == TEAM_ARMY)
            {
                MoveObject(ArmyGate, -1540.15380859,482.34051514,8.83757210, 5);
                ArmyGate =1;
                SetTimer("ArmyGatesClose",7000,0);
            }
        }
    }
}
Reply


Messages In This Thread
Run time error 7: "Stack underflow"? - by vvhy - 19.06.2012, 05:23
Re: Run time error 7: "Stack underflow"? - by Faisal_khan - 19.06.2012, 06:02
Re: Run time error 7: "Stack underflow"? - by HuSs3n - 19.06.2012, 07:51
Re: Run time error 7: "Stack underflow"? - by vvhy - 19.06.2012, 17:17
Re: Run time error 7: "Stack underflow"? - by niels44 - 19.06.2012, 19:25
Re: Run time error 7: "Stack underflow"? - by vvhy - 19.06.2012, 19:35
Re: Run time error 7: "Stack underflow"? - by Babul - 19.06.2012, 20:43
Re: Run time error 7: "Stack underflow"? - by HuSs3n - 19.06.2012, 20:47

Forum Jump:


Users browsing this thread: 1 Guest(s)