SA-MP Forums Archive
help with #includes - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: help with #includes (/showthread.php?tid=477898)



help with #includes - TwTJustin - 26.11.2013

Hi, everytime i do ex. #include<zcmd> it wont work, and yes i have zcmd in my includes folder


The error:

C:\Users\gta sa\Desktop\TwinDriftServer\gamemodes\[TwT]ServerScript.pwn(11) : fatal error 100: cannot read from file: "zcmd"

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


1 Error.

Please help
~~TwT Justin


Re: help with #includes - BornHuman - 26.11.2013

Are you sure you have it in Pawno > Include? If not, that is where it needs to be. Not in the include folder you see where your server start cmd prompt is. Go to the directory Pawno > Include. And place zcmd there, then compile your script.

Also, scripting questions should go in the 'scriping help' section. Not General! Welcome to scripting, by the way.


Re: help with #includes - TwTJustin - 26.11.2013

omg thx i was putting it in includes (not the one in the pawno folder) -_- but ty


Re: help with #includes - BornHuman - 26.11.2013

Lol that is okay. I made the same mistake when I was new. All includes go in the pawno > includes folder, for future reference. And good luck!