SA-MP Forums Archive
Why does not compile? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Why does not compile? (/showthread.php?tid=637602)



Why does not compile? - Juonis - 18.07.2017

Aloha again,

So I checked all of my brackets if I missed any and I did not. Everything is fine, checked it 3 times already. However, on sublime 3 and/or pawn it does not compile my gamemode. It shows something like this and does nothing:
https://i.gyazo.com/a90bfce018584b7b...a105f4ea19.png


Here, it shows that everything with my brackets is fine https://i.gyazo.com/3faf04d81a555f57...27f7e35015.png


Why it does not compile? I did change streamer.inc and since then it does not work even if I go back to the old streamer or other includes.


Re: Why does not compile? - Barnwell - 18.07.2017

What's the problem?
Pawno has stopped working or what?
I can't see the SS


Re: Why does not compile? - Paulice - 18.07.2017

Missing brackets isn't the only thing that can cause the compiler to crash, without being able to go through the script (I'm not implying that you should post it) we cannot determine the actual cause. You'd have to do some more checking, or undo what you added in descending order until it compiles successfully.


Re: Why does not compile? - Juonis - 18.07.2017

Quote:
Originally Posted by Paulice
Посмотреть сообщение
Missing brackets isn't the only thing that can cause the compiler to crash, without being able to go through the script (I'm not implying that you should post it) we cannot determine the actual cause. You'd have to do some more checking, or undo what you added in descending order until it compiles successfully.
What are the other reasons why it does not compile? I thought it is because of includes but I've changed it many times, switched them to old one and still the same.


Re: Why does not compile? - Juonis - 18.07.2017

Is there any other way I could fix this?


Re: Why does not compile? - Paulice - 18.07.2017

Quote:
Originally Posted by Juonis
Посмотреть сообщение
Is there any other way I could fix this?
As I said, undo what you added to the script in descending order until it compiles.