A scripting problem.
#1

So, I am new to scripting and I am making my own gamemode, but when I install the plugins and the includes I need, and then adding them to my gamemode, I can't compile the .pwn file. Is there a way I can fix it. The error is
Quote:

fatal error 100: cannot read from file: "zcmd"

And it happens with all plugins and includes, for example sscanf2, not only zcmd
Reply
#2

Put this at the top of your gamemode so the compiler can read from it, and make sure you have zcmd.inc and sscanf2.inc in your pawno/includes directory.
PHP код:
#include <zcmd> 
and for sscanf2

PHP код:
#include <sscanf2> 
Reply
#3

I do have them, and they are working, but for some reason I can't compile it, and I have tested them with a filterscript and they work perfectly.
Reply
#4

Quote:
Originally Posted by midgetgamer
Посмотреть сообщение
I do have them, and they are working, but for some reason I can't compile it, and I have tested them with a filterscript and they work perfectly.
Do you have more than one server? Make sure that you you're launching pawno from the same server directory.
Reply
#5

Thank you, that was the problem. I am sorry for wasting your time. P.S: +Rep
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)