SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 12/02/2019, 02:24 PM   #1
XpoZzA
Little Clucker
 
Join Date: Jul 2016
Location: Israel
Posts: 36
Reputation: 0
Default Code does not compile...

Hello, I've tried adding some stuff to my code, and now it does not compile- and I have no idea why, I've looked into some of those programs that check for open/closed brackets, and I have a 1:1 ratio of open/closed brackets...
Picture



It says in the bottom-left corner, "File 'ad.pwn' has been compiled to 'ad.amx', but when trying to start my server-
- I'm getting a runtime error 17, saying "Invalid/unsupported P-code file format"
XpoZzA is offline   Reply With Quote
Old 12/02/2019, 02:28 PM   #2
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,697
Reputation: 3226
Default Re: Code does not compile...

So try removing that stuff again and adding it back in slowly until you identify the problem. Or better yet, use the updated compiler, which has fixed many crashes:

https://github.com/pawn-lang/compiler/releases
Y_Less is online now   Reply With Quote
Old 12/02/2019, 02:32 PM   #3
XpoZzA
Little Clucker
 
Join Date: Jul 2016
Location: Israel
Posts: 36
Reputation: 0
Default Re: Code does not compile...

Quote:
Originally Posted by Y_Less View Post
So try removing that stuff again and adding it back in slowly until you identify the problem. Or better yet, use the updated compiler, which has fixed many crashes:

https://github.com/pawn-lang/compiler/releases
I've updated the compiler, it's so much better now. I can actually see my errors now, thank you very much y_Less
XpoZzA is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile src. code? Banditukas Scripting Help 3 30/11/2014 09:24 AM
pawno can't compile because this code. Ivander Scripting Help 7 26/09/2013 08:04 PM
This code do not compile to me. Help please! JavoDiaz Scripting Help 17 26/12/2012 04:39 AM
Can't compile code. Vvolk Scripting Help 6 16/07/2012 04:46 PM
why doesn't compile this code Sfinx_17 Help Archive 19 15/11/2009 05:41 PM


All times are GMT. The time now is 01:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.