SA-MP Forums Archive
New errors poped out :( - 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: New errors poped out :( (/showthread.php?tid=387134)



New errors poped out :( - Private200 - 23.10.2012

I have some errors in zcmd .

I redownloaded it , but again the same .

Here they are .

Please help

pawn Код:
D:\Downloads\Trucking_Server_2.0\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
D:\Downloads\Trucking_Server_2.0\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
D:\Downloads\Trucking_Server_2.0\pawno\include\zcmd.inc(64) : warning 215: expression has no effect
D:\Downloads\Trucking_Server_2.0\pawno\include\zcmd.inc(64) : error 001: expected token: ";", but found ")"
D:\Downloads\Trucking_Server_2.0\pawno\include\zcmd.inc(64) : error 029: invalid expression, assumed zero
D:\Downloads\Trucking_Server_2.0\pawno\include\zcmd.inc(64) : fatal error 107: too many error messages on one line
Rep+ to all who hlep me . Thanks


Re: New errors poped out :( - Red_Dragon. - 23.10.2012

Did you change something in ZCMD.inc ? if yes, WHY ? YOU SHOULDN'T CHANGE IN INCLUDE FILES bro

EDIT: I WILL USE MY BRAIN TO GUESS YOUR CODE!!


Re: New errors poped out :( - Private200 - 23.10.2012

Nope i didnt change anything . And i downloaded it again . Same error . Here code is

pawn Код:
public OnGameModeInit()
{
    zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1; //this is line 64
    zcmd_g_HasOPCE = funcidx("OnPlayerCommandPerformed") != -1;
    if (funcidx("zcmd_OnGameModeInit") != -1)



Re: New errors poped out :( - FOTIS6 - 23.10.2012

Place the whole code please.


Re: New errors poped out :( - Faisal_khan - 23.10.2012

Be sure that
Код:
#include <a_samp>
comes before
Код:
#include <zcmd>



Re: New errors poped out :( - Private200 - 23.10.2012

Thanks you very much Faisal . Accept my skype request . Thanks to all guys <3 Love you


Re: New errors poped out :( - Private200 - 23.10.2012

any help please ?


Re: New errors poped out :( - Faisal_khan - 24.10.2012

Help?