SA-MP Forums Archive
[HELP] runtime error 7: stack underflow - 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: [HELP] runtime error 7: stack underflow (/showthread.php?tid=591456)



[HELP] runtime error 7: stack underflow - Luca12 - 12.10.2015

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.


Re: [HELP] runtime error 7: stack underflow - SpikY_ - 12.10.2015

Do you get any warnings when compiling?