SA-MP Forums Archive
getting an error out of no where. - 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)
+--- Thread: getting an error out of no where. (/showthread.php?tid=305142)



getting an error out of no where. - knighty01 - 21.12.2011

C:\Back up Drive\Crack\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
C:\Back up Drive\Crack\pawno\include\zcmd.inc(64) : warning 215: expression has no effect
C:\Back up Drive\Crack\pawno\include\zcmd.inc(64) : error 001: expected token: ";", but found ")"
C:\Back up Drive\Crack\pawno\include\zcmd.inc(64) : error 029: invalid expression, assumed zero
C:\Back up Drive\Crack\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.

before all this happened I was getting a error in game. stay in world bounds, This just started happening after I updated to the new sa-mp stuff.


Re: getting an error out of no where. - Thresholdold - 21.12.2011

EDIT: Sorry, I didn't look at the file location Vince can help you more than I can xD


Re: getting an error out of no where. - Vince - 21.12.2011

Please ensure that you have included zcmd.inc BELOW the a_samp.inc. funcidx is a native found in core.inc, which is in turn included by a_samp.inc.


Re: getting an error out of no where. - knighty01 - 21.12.2011

Quote:
Originally Posted by Vince
Посмотреть сообщение
Please ensure that you have included zcmd.inc BELOW the a_samp.inc. funcidx is a native found in core.inc, which is in turn included by a_samp.inc.
Could you explain that more? Is it in the .pwn or in the .inc i need to check because in the .inc it don't have any of my other .inc's listed. And how to do it because I am so lost.. I had this running right before the new sa-mp stuff came out and now it isn't working at all..


Re: getting an error out of no where. - knighty01 - 25.12.2011

can any1 help me?!?!


Re: getting an error out of no where. - spedico - 25.12.2011

Look at top of your script, make sure your includes are in this order:

#include <a_samp>
#include <zcmd>
<other includes>

instead of zcmd being the first include


Re: getting an error out of no where. - knighty01 - 25.12.2011

yup its like that and still gives me that.


Re: getting an error out of no where. - Ash. - 25.12.2011

Quote:
Originally Posted by knighty01
Посмотреть сообщение
yup its like that and still gives me that.
Show us the first 7 or so lines of your script (all the #include directive lines).


Re: getting an error out of no where. - knighty01 - 25.12.2011

Alright I might have got it fixed. but my sa-mp crashes half way through the loading screen. so don't close it yet. there might be problems in game.


Re: getting an error out of no where. - Ash. - 26.12.2011

Quote:
Originally Posted by knighty01
Посмотреть сообщение
Alright I might have got it fixed. but my sa-mp crashes half way through the loading screen. so don't close it yet. there might be problems in game.
That's a game loading problem, not a server problem. Remember that the client doesn't connect to the server until the game loads.