• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fatal error 100: cannot read from file [FIX]
#1
Hello OpenMP And Samp Players...
So I have begun learning Pawno for SAMP...

The other day I was working on my server and everything worked fine.
I installed Pawno with Samp Server R2 amd configured the Pawno Compiler with VSCode...

I renamed the folder I was working on and moved it to desktop.
Today I logged on and I attempted to Save/Compile Script and got the error:

\gamemodes\LCRPM2.pwn(7) : fatal error 100: cannot read from file: "zcmd"


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

So I decided to look online and I found a lot of people with the same problem but no easy answer... I tried deleting zcmd and readding it... Etc...
Nothing worked... 



I turns out my problem was in the VS Code Extension.

When you use VS Code you need to download the Extension: PAWN Language for Visual Studio Code made by Qoo.
When I moved the Folder and Renamed it, everything was still in the same place but the Pawno Compiler was not connected to VS Code anymore.

In order to Fix this:

--Open VS Code
--Click on the Gear on the bottom left hand side of VS Code

--Click on Settings
--Click on Extensions

--It'll now show programming languages and extensions
--Click on Pawn
--On the right it'll have the Compiler Path (Picture shown below)
--Update the Compiler Path with the Correct Pawno Folder in your PC.
--Done, you can now compile with no errors.


[Image: Pawn-Help.png]
  Reply


Forum Jump: