Zcmd iclude isn't working properly - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Zcmd iclude isn't working properly (
/showthread.php?tid=187399)
Zcmd iclude isn't working properly -
karakana7 - 02.11.2010
I put zcmd file to includes folder, but I don't know why it's not working...I also wrote #include <zcmd> in the top of my script.So i'm pleasing help from everyone, who are able to help!
Oh, and I forgot to note, that I get this error while compiling script:
Код:
C:\Documents and Settings\Justas\Desktop\samp\gamemodes\lol.pwn(11) : fatal error 100: cannot read from file: "zcmd"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Zcmd iclude isn't working properly -
Miguel - 02.11.2010
Go to your server's folder > pawno > pawno.exe
Open your gamemode from pawno and compile.
Do you get any error?
Re: Zcmd iclude isn't working properly -
Mean - 02.11.2010
Did you put the zcmd.inc or maybe you failed maybe theres big Z
Re: Zcmd iclude isn't working properly -
karakana7 - 02.11.2010
Quote:
Originally Posted by Miguel
Go to your server's folder > pawno > pawno.exe
Open your gamemode from pawno and compile.
Do you get any error?
|
I did what you said, but that's not helping, I get the same error...
Quote:
Originally Posted by Mean
Did you put the zcmd.inc or maybe you failed maybe theres big Z
|
So I said in the beggining of this thread, that I put .inc file to the includes.And no, i didn't fail with first letter, because there isn't capital letter...So what I need to do, maybe my file is not working, how it should work?
Re: Zcmd iclude isn't working properly -
Hal - 02.11.2010
Quote:
Originally Posted by karakana7
I did what you said, but that's not helping, I get the same error...
So I said in the beggining of this thread, that I put .inc file to the includes.And no, i didn't fail with first letter, because there isn't capital letter...So what I need to do, maybe my file is not working, how it should work?
|
make sure you put it in the include folder with the according pawno.exe
Re: Zcmd iclude isn't working properly -
Miguel - 02.11.2010
There are two "includes" folders that come with the server package, you've got to use the one in "pawno".
Re: Zcmd iclude isn't working properly -
karakana7 - 03.11.2010
Thank you everyone who helped me in this situation, now it's working!But what's the difference between these to include folders?Why all the files can't be in one folder named includes?
Re: Zcmd iclude isn't working properly -
Miguel - 03.11.2010
Because the pawno editor uses the "includes" folder in "pawno", the other folder is used by a gamemode.