[HELP] runtime error 7: stack underflow
#1

So like in title says I get that error in this public

pawn Код:
forward AutoSkolaProvjeraBrzina();
public AutoSkolaProvjeraBrzina()
{
    foreach(Player,i)
    {
        if(IsPlayerInAnyVehicle(i))
        {
            if(GetPlayerSpeed(i) > 120.0 && hPolaganje[i] > 0)
            {
                SendClientMessage(i,SVIJETLOPLAVA,"Instruktor Vozackog: Prekoracili ste dozvoljenu brzinu od 120 km/h!");
                SendClientMessage(i,SVIJETLOPLAVA,"Instruktor Vozackog: Upisan vam je jos jedan kazneni bod, upamtite ukoliko budete imali 3 kaznena boda padate vozacki ispit!");
                KazneniBodovi[i]++;
            }
        }
    }
    return 1;
}
Thanks.
Reply
#2

Do you get any warnings when compiling?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)