Cant compile
#1

I cant compile. It starts and it writes to me Pawn Compiler library has encountered a problem and needs to close. What should I do, How to compile now?
Reply
#2

I assume it has something to do with brackets. you either have 1 too much or 1 missing in the script.. but I could take a look at your script if you let me.
Reply
#3

Quote:
Originally Posted by Ironboy500
I cant compile. It starts and it writes to me Pawn Compiler library has encountered a problem and needs to close. What should I do, How to compile now?
I think that you have surplus
Код:
}
Reply
#4

Still cant I try everything
Reply
#5

You didn't try enough, just remember the last code you wrote o changed, and check it, the mistake must be there.

You can comment that code with /* and */ so that part isn't compiled. When it compiles ok, you know where the mistake is and look for it. Goog luck.
Reply
#6

so, if I want to add some cmd-s, I need to add this strtok before?

strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)