New errors poped out :(
#1

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
Reply
#2

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!!
Reply
#3

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)
Reply
#4

Place the whole code please.
Reply
#5

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

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

any help please ?
Reply
#8

Help?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)