SA-MP Forums Archive
Help me with error - 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: Help me with error (/showthread.php?tid=664767)



Help me with error - antixgaming - 10.03.2019

Hello. My problem is that when I create textdraws (6 of them), everything goes good. My GM compiles fine. The problem is when I define new player sided textdraw, nothing goes well. It says that GM is compiled but it is not. My amx file is empty, and a line flashes in place where it should say about pawno info.


Re: Help me with error - Mr.Lauren - 10.03.2019

Mind posting your script with the errors marked so we could see what are you talking about?


Re: Help me with error - antixgaming - 11.03.2019

That is problem! There are no errors!


Re: Help me with error - antixgaming - 11.03.2019

Please help!


Re: Help me with error - raydx - 11.03.2019

Can't help you without code.


Re: Help me with error - antixgaming - 11.03.2019

No need for code. I define variables with this new PlayerText:name1[MAX_PLAYERS]; and that six times with different names. After the sixth time, it won't compile.


Re: Help me with error - antixgaming - 11.03.2019

Only thing I can show you are the screenshots.


Re: Help me with error - antixgaming - 11.03.2019

With six variables:
https://imgur.com/6wENOZk


With new seventh variable:
https://imgur.com/vBUDSj8


Re: Help me with error - antixgaming - 11.03.2019

I haven't seen this type of problem before. Any help from professionals or just someone who knows what this problem is?


Re: Help me with error - antixgaming - 11.03.2019

Please help!


Re: Help me with error - MyUndiesSmell - 11.03.2019

No one is able to help you unless you post your code. We could care less about stealing your code.


Re: Help me with error - antixgaming - 11.03.2019

There is no difference in showing the code. Only left thing I can show you are the textdraws.
Textdraws: https://imgur.com/9Di6EFu


Re: Help me with error - antixgaming - 11.03.2019

As I have shown, just one line made compiler not compiling. I seriously don't know why!


Re: Help me with error - antixgaming - 11.03.2019

It seems like compiler crashed or something?


Re: Help me with error - antixgaming - 11.03.2019

I tryed with changing the variable names but nothing. It has to do something with prefix "PlayerText" when defining different type of variable.


Re: Help me with error - antixgaming - 11.03.2019

Any help?


Re: Help me with error - bgedition - 11.03.2019

I believe the compiler crashes why don't you try with Zeex's compiler: https://github.com/pawn-lang/compiler/releases
I have attached my test with 40 arrays of player text and it compiles. Try to change the compiler. BTW I have similar issue when sqlitei.inc is included. That is even with Zeex's compiler.

Edit: sorry for the quality of the image. That is compressed by the forums not me.


Re: Help me with error - antixgaming - 11.03.2019

Ok, thanks a lot!