PS : The code may be too hard-coded, I am new to coding so mostly the code about making fake ghost and player in the code isn't mine, it was Dias'. Just using his code for some testing since I need his code to create ghost entities around a target and only the target can see all the entity.
Um... What line? I don't see a huge line here + the code compiles with only a tag mismatch.
Thank you for the reply. It's strange because the error regarding too long line did not use any module or include files so everyone who compiles this script should get the same result and yes I am agreed with you that there is not even a single line that should be considered long. For now, I am still searching for the error and try to read more from other threads.
Here the errors that I got;
Last edited by Kotoamatsukami; 03-28-2017 at 14:38.
Thank you, sir.
That, by any chance, solved my nested comment error that I had been facing from all this time. I forgot I edited the include file as it was a mess since I installed it for the first time, well, just so that will ease me to read the include file so I can understand better.
But, the long line still there. This sounds ridiculous but if you don' mind, OciXCrom, will you please attach your include files here, please? I will try to test it with yours maybe that can solve the problem.
Thanks in advance, you really awesome.
[ EDIT ]
I have alter the code in the first post, changes that I made after your replies. ^^
Last edited by Kotoamatsukami; 03-28-2017 at 15:01.
It still compiles without any problems. The .inc files depend on your AMXX version, so it's a bad idea if I give them to you + I have made some modifications. Try a different compiler.
So, I did as what you thought I should've been doing and you are right. The compiler plays the role here.
I went to two different websites( 1.8.3 AMXx Compiler and AMX Mod X Web Compiler ) and here the results that I got, respectively.
[ EDIT ]
It seems that we can conclude that too long line error is greatly affected by include files too. Not just the line itself.
Last edited by Kotoamatsukami; 03-28-2017 at 15:35.
Could you please attach the file here rather than copying its contents?
I am sorry, sir.
Which file you wish me to attach here?
Include file or the original plugin?
[ EDIT ]
I see, so you want the original plugin, aight?
Sure, here.
[ EDIT 1 ]
But, the resources is still missing. My laptop has been a mess lately. You can download the resources from Dias' thread though, all his threads are still up and available for public use.
[ EDIT 2 ]
Anyone who still want the full code without error and warning, here.
The plugin that failed to compile was named SPEED.sma, perhaps you should try to attach that one instead...
The file you attached compiled fine. No errors, no warnings.
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team
Header size: 2228 bytes
Code size: 19976 bytes
Data size: 6936 bytes
Stack/heap size: 16384 bytes; max. usage is unknown, due to recursion
Total requirements: 45524 bytes
Done.
[Finished in 0.6s]
I just realized I'm still using the 1.8.1 compiler...