Zcmd fail ? - 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 fail ? (
/showthread.php?tid=232476)
Zcmd fail ? -
darklight94 - 27.02.2011
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 ?
Re: Zcmd fail ? -
Mean - 27.02.2011
Because you put #include < zcmd > above #include < a_samp >, a_samp must be on top of everything.
Re: Zcmd fail ? -
darklight94 - 27.02.2011
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 ?