SA-MP Forums Archive
[Ajuda] zcmd.inc - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] zcmd.inc (/showthread.php?tid=326851)



[Ajuda] zcmd.inc - luizfel2 - 18.03.2012

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



Re: [Ajuda] zcmd.inc - luizfel2 - 18.03.2012

Quem ajudar ganhar rep+


Re: [Ajuda] zcmd.inc - ViniBorn - 18.03.2012

Usou a_samp?


Re: [Ajuda] zcmd.inc - steki. - 18.03.2012

pawn Код:
#include <a_samp> // by Justin



Re: [Ajuda] zcmd.inc - luizfel2 - 18.03.2012

Jб tem sim

pawn Код:
#include <sscanf2>
#include <zcmd>
#include <streamer>
#include <a_samp>



Re: [Ajuda] zcmd.inc - steki. - 18.03.2012

Coloca o <a_samp> no topo, amigo.


Re: [Ajuda] zcmd.inc - luizfel2 - 18.03.2012

lol, uma coisa tгaaao simples, rep + para vocк (: