Pawno Problem
#1

So, I'm trying to compiler my GM but it is not workig. Below you can check the problem:

Quote:

C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(11) : fatal error 100: cannot read from file: "zcmd"

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

1 Error.

What can I do? I tried to add this incluide "zcmd". But when I do it, A LOT of other incluide problems appears.

Thank you
Reply
#2

What problems?
You need that include into pawno/includes folder to compile it.
Reply
#3

When I add the zcmd incluide, looks what is the next error

Quote:

C:\Users\User\Desktop\Woods Roleplay\pawno\include\sscanf.inc(3 : error 017: undefined symbol "isnull"
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1793) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandPerformed")
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1816) : error 025: function heading differs from prototype
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1816 -- 182 : error 021: symbol already defined: "command"
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1827) : error 025: function heading differs from prototype
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1827 -- 1842) : fatal error 107: too many error messages on one line

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


5 Errors.

Reply
#4

download newest zcmd.inc
Reply
#5

still not working
Reply
#6

no one?
Reply
#7

pawn Код:
#define isnull(%1) \
        ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
add that to fix undefined symbol isnull

and show lines 1793,1816,1827
Reply
#8

Download ZCMD.INC in pawno<INLCUDE, if still not work, than download newest, Here I will attach it.
Reply
#9

It's still showing these problems

C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1795) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandPerformed")
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(181 : error 025: function heading differs from prototype
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1818 -- 1830) : error 021: symbol already defined: "command"
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1829) : error 025: function heading differs from prototype
C:\Users\User\Desktop\Woods Roleplay\gamemodes\subrp.pwn(1829 -- 1844) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply
#10

Line 1793: }
Line 1816: }
Line 1827: }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)