Compiler crash
#1

Hey.
The compiler crash during execut my script.
This happens when I remove foreach include. The thing is I've no foreach in my script and I used it for including y_va functions (I removed them).
The script compile fine with the include and crash without it. Any ideas?
Reply
#2

Check if you leave any brackets open or if you miss any " or ;
Reply
#3

If the script compile with the include, I didn't miss any stuff like that.
Reply
#4

What all other includes you use? And do a double check whether you have used any foreach functions in other parts of the script.
Reply
#5

i would say "check if you add an extra bracket maybe?"
cause i faced this problem today many times.....
Reply
#6

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
What all other includes you use? And do a double check whether you have used any foreach functions in other parts of the script.
sscanf2, streamer, a_samp.
The only function used y_va is in comment. Other requires nothing to work. Also, I don't have any 'foreach' in my script.

Quote:
Originally Posted by princejeet1510
Посмотреть сообщение
i would say "check if you add an extra bracket maybe?"
cause i faced this problem today many times.....
If I've a extra or missing bracket, the script won't compile even with include hmm.
Reply
#7

So.. I don't understand.
Make a debug which I return 1 for every function I have (ex: GetPlayersInArea(areaid) return 1; ). Still crash. Commented part of part of my screen, still crashing. What is come from?
Reply
#8

UPPPPPPPP
Reply
#9

The only way to detect the problem is by commenting the script part by pat and manually find the part causing the crash.
Reply
#10

I once also encountered this kind of problem, but found out that there were no missing brackets or semi colon but a wrong function keyword usage. I accidently used 'timer' instead of 'task' when I was working with y_timers.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)