SA-MP Forums Archive
ZCMD Issue - 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: ZCMD Issue (/showthread.php?tid=367677)



ZCMD Issue - nmader - 10.08.2012

Alright, I have been working on a script just for some fun and kickback time, and am having some issue with the ZCMD include, I am assuming. I have downloaded the include as well as stated it as
pawn Код:
#include <zcmd>
And for some reason I am getting errors such as this:
pawn Код:
C:\Documents and Settings\Nmader\Desktop\Lost Life Roleplay\gamemodes\LLRPV0001a.pwn(7) : fatal error 100: cannot read from file: "zcmd"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
I have tried a great amount of things to attempt to fix this problem, however the attempts have been futile.


Re: ZCMD Issue - [EuG]ZeRoGoD - 10.08.2012

Download latest include file for zcmd Here then compile it should work


Re: ZCMD Issue - nmader - 10.08.2012

Quote:
Originally Posted by [EuG]ZeRoGoD
Посмотреть сообщение
Download latest include file for zcmd Here then compile it should work
I have already attempted that, no success whatsoever.


Re: ZCMD Issue - [EuG]ZeRoGoD - 10.08.2012

Quote:
Originally Posted by nmader
Посмотреть сообщение
I have already attempted that, no success whatsoever.
but thats a error for the file nothing else can cause that problem just that zcmd file


Re: ZCMD Issue - HyDrAtIc - 10.08.2012

did you try to run pawno as administrator??


Re: ZCMD Issue - MeDaKewlDude - 10.08.2012

Quote:
Originally Posted by nmader
Посмотреть сообщение
I have downloaded the include
if you downloaded it, make sure its in the right includes directory (...server\pawno\include)
make sure its the one in the pawno folder. not in the main server folder.


Re: ZCMD Issue - nmader - 10.08.2012

Quote:
Originally Posted by James_Nick
Посмотреть сообщение
did you try to run pawno as administrator??
I had no issues resulting in that need, however that was one of my previous attempts as well.


Re: ZCMD Issue - MeDaKewlDude - 10.08.2012

if you do want to use the other includes directory, use this:
pawn Код:
#include "../include/zcmd.inc"
instead of this:
pawn Код:
#include <zcmd>



Re: ZCMD Issue - nmader - 10.08.2012

Now it is compiling and then crashes during the compilation.


Re: ZCMD Issue - MeDaKewlDude - 10.08.2012

hmm. did you try my first solution?

Quote:
Originally Posted by MeDaKewlDude
Посмотреть сообщение
if you downloaded it, make sure its in the right includes directory (...server\pawno\include)
make sure its the one in the pawno folder. not in the main server folder.