18.03.2012, 22:29
Estou criando um gm do 0, quando eu botei #include zcmd e fui compilar deu isso
pawn Код:
C:\Users\Pessoal\Desktop\Server Samp\pawno\include\sscanf2.inc(43) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Users\Pessoal\Desktop\Server Samp\pawno\include\sscanf2.inc(45) : error 017: undefined symbol "printf"
C:\Users\Pessoal\Desktop\Server Samp\pawno\include\sscanf2.inc(45) : warning 215: expression has no effect
C:\Users\Pessoal\Desktop\Server Samp\pawno\include\sscanf2.inc(45) : error 001: expected token: ";", but found ")"
C:\Users\Pessoal\Desktop\Server Samp\pawno\include\sscanf2.inc(45) : error 029: invalid expression, assumed zero
C:\Users\Pessoal\Desktop\Server Samp\pawno\include\sscanf2.inc(45) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
bool:zcmd_g_HasOPCS = false, //linha 40
bool:zcmd_g_HasOPCE = false; //linha 41
//linha 42
#if defined FILTERSCRIPT //linha 43
//linha 44
public OnFilterScriptInit() //linha 45
{ //linha 46
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1; //linha 47
zcmd_g_HasOPCE = funcidx("OnPlayerCommandPerformed") != -1; //linha 48
return CallLocalFunction("zcmd_OnFilterScriptInit", ""); //linha 49
} //linha 50