Quote:
Originally Posted by RogueDrifter
I already stated this before but here we go, sometimes when the script is too big two things can crash the compiler,
1- non-terminated string , ex:
PHP Code:
SendClientMessage(playerid,-1, "Hi);
you're missing one " what it should be:
PHP Code:
SendClientMessage(playerid,-1,"Hi");
that's first,
2-A unmatching closing bracket or opening one, for ex:
PHP Code:
public OnPlayerConnect(playerid)
{
}
return 1;
}
2 closing brackets, one opening so you gotta remove one, and the same deal if you had 2 opening brackets and one closing so it should've looked like this
PHP Code:
public OnPlayerConnect(playerid)
{
return 1;
}
Keep searching through your script, start off by taking the longest callbacks out and see which one is causing the crash then look closely at it.
|
He checked for even number of braces, and they exist. So not a brace issue.
Secondly, he's using Zeex's compiler. It tells you about non-terminated string. (Pretty sure about that.)