Zcmd fail ?
#1

Hi Community,

I would use zcmd in my gamemode.
But when I compile my Blank Gamemode with #include <zcmd> the compiler gives me this message:

Код:
C:\Users\Andreas\Desktop\SA-MP\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\Andreas\Desktop\SA-MP\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
C:\Users\Andreas\Desktop\SA-MP\pawno\include\zcmd.inc(64) : warning 215: expression has no effect
C:\Users\Andreas\Desktop\SA-MP\pawno\include\zcmd.inc(64) : error 001: expected token: ";", but found ")"
C:\Users\Andreas\Desktop\SA-MP\pawno\include\zcmd.inc(64) : error 029: invalid expression, assumed zero
C:\Users\Andreas\Desktop\SA-MP\pawno\include\zcmd.inc(64) : fatal error 107: too many error messages on one line

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


4 Errors.
What is the problem ?
Reply
#2

Because you put #include < zcmd > above #include < a_samp >, a_samp must be on top of everything.
Reply
#3

Thanks,

now it works.


//edit: I don't no why but the Server will not start.
When I start samp_server.exe it says "Run time error 19:"File or function is not found."

Here's the Pastebinlink to the gamemode: Link

what's the problem ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)