Compile error
#1

I've just moded my script ,it was working before last edit but when i start compiling it , compiler crach and gamemod.amx = 0ko

Код:
application that crached : pawncc.exe
error code : c0000005
000119ec
Reply
#2

Missing a bracket somewhere I'd say. Learn to script.
Reply
#3

hhh found it :3 thnx
Reply
#4

Quote:
Originally Posted by AlonzoTorres
Посмотреть сообщение
Missing a bracket somewhere I'd say. Learn to script.
Missing brackets doesn't mean you're bad at scripting. It is a very easy mistake to make.

The best way to avoid missing brackets is to type them out first then fill them in, like so:

pawn Код:
if()
{

}
Reply
#5

Or, indent properly. Indentation is KEY to being a good scripter.

pawn Код:
{
{
{
{
{
{
{
{
}
}
}
}
}
}
}
Is hard to find where the error is.

pawn Код:
{
    {
        {
            {
                {
                    {
                        {
                            {
                            }
                        }
                    }
            }
        }
    }
}
It's way easier there.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)