Pawn compiler is crashing
#7

Quote:
Originally Posted by RogueDrifter
View Post
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.)
Reply


Messages In This Thread
Pawn compiler is crashing - by MarkNelson - 29.12.2017, 07:36
Re: Pawn compiler is crashing - by TahaMhr - 29.12.2017, 08:18
Re: Pawn compiler is crashing - by MarkNelson - 29.12.2017, 08:22
Re: Pawn compiler is crashing - by RogueDrifter - 29.12.2017, 09:15
Re: Pawn compiler is crashing - by MarkNelson - 29.12.2017, 09:29
Re: Pawn compiler is crashing - by RogueDrifter - 29.12.2017, 09:35
Re: Pawn compiler is crashing - by Ritzy2K - 29.12.2017, 09:56

Forum Jump:


Users browsing this thread: 3 Guest(s)