SA-MP Forums Archive
fatal error 100: cannot read from file: "mSelection" - 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: fatal error 100: cannot read from file: "mSelection" (/showthread.php?tid=556215)



fatal error 100: cannot read from file: "mSelection" - Ejected - 10.01.2015

Код:
Current directory: C:\Users\Mario\Desktop\Knoxx SAMP Server\Clark County Roleplay\gamemodes
roleplay.pwn(29) : fatal error 100: cannot read from file: "mSelection"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
================ READY ================



Re: fatal error 100: cannot read from file: "mSelection" - Lynn - 10.01.2015

You're missing the mSelection include.
If you have it, but incorporated it into your script after the GM was open,
Close your GM > Open Pawno > File > Open > Load your GM and re-compile.


Re: fatal error 100: cannot read from file: "mSelection" - Ejected - 10.01.2015

When I try to compile my gamemode it says

Pawn Compiler library has stopped working

Windows is checking for a solution to the problem.

Pawn Compiler library has stopped working

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.


Re: fatal error 100: cannot read from file: "mSelection" - Ejected - 10.01.2015

I tried restarting my computer, didn't help


Re: fatal error 100: cannot read from file: "mSelection" - bgedition - 10.01.2015

just download mSelection.inc


Re: fatal error 100: cannot read from file: "mSelection" - Luca12 - 10.01.2015

Download mSelection.inc put in your yourgamemode/pawno/include folder then open pawno put on top of your script

pawn Код:
#include <mSelection>
after that recompile your script then it should be fine.


Re: fatal error 100: cannot read from file: "mSelection" - Ejected - 10.01.2015

It's not letting me recompile on pawno, I keep getting this:
Quote:
Originally Posted by Ejected
When I try to compile my gamemode it says

Pawn Compiler library has stopped working

Windows is checking for a solution to the problem.

Pawn Compiler library has stopped working

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
When I compile in Notepad++ it works and I get the error:

Код:
Current directory: C:\Users\Mario\Desktop\Knoxx SAMP Server\Clark County Roleplay\gamemodes
roleplay.pwn(30) : fatal error 100: cannot read from file: "mSelection"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
================ READY ================
I added this already:

Код:
#include <mSelection>



Re: fatal error 100: cannot read from file: "mSelection" - acade - 10.01.2015

Do you have more than one pawno directory? If so, make sure it's in the correct one.


Re: fatal error 100: cannot read from file: "mSelection" - Ejected - 10.01.2015

Thank you, it worked when I used a different pawno.exe +repped


I still have this error though:

Код:
C:\Users\Mario\Desktop\Knoxx SAMP Server\Clark County Roleplay\gamemodes\roleplay.pwn(30) : fatal error 100: cannot read from file: "mSelection"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: fatal error 100: cannot read from file: "mSelection" - Ejected - 10.01.2015

Fixed, thank you