problema zcmd - 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: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: problema zcmd (
/showthread.php?tid=295601)
problema zcmd -
santo_zoketaso - 06.11.2011
hola he querido seguir este tutorialhttps://sampforum.blast.hk/showthread.php?tid=276063
para usar strcmp y zcmd al mismo tiempo y pongo como dice y me salta estos errores
ojala me puedan ayudar porque este tipo de cosas soy muy nuevo xd
pawn Код:
C:\Users\usuario\Documents\GTA San Andreas User Files\SAMP\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\usuario\Documents\GTA San Andreas User Files\SAMP\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
C:\Users\usuario\Documents\GTA San Andreas User Files\SAMP\pawno\include\zcmd.inc(64) : warning 215: expression has no effect
C:\Users\usuario\Documents\GTA San Andreas User Files\SAMP\pawno\include\zcmd.inc(64) : error 001: expected token: ";", but found ")"
C:\Users\usuario\Documents\GTA San Andreas User Files\SAMP\pawno\include\zcmd.inc(64) : error 029: invalid expression, assumed zero
C:\Users\usuario\Documents\GTA San Andreas User Files\SAMP\pawno\include\zcmd.inc(64) : fatal error 107: too many error messages on one line
Respuesta: problema zcmd -
Lunnatiicz - 06.11.2011
Pasanos las lнneas de los warn's y los errores fatales x)
Respuesta: problema zcmd -
santo_zoketaso - 06.11.2011
pues es el include de zcmd
pawn Код:
public OnGameModeInit()
{
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
Respuesta: problema zcmd -
Lunnatiicz - 06.11.2011
Que no deberнa de ser en 'OnPlayerCommandText'?
Respuesta: problema zcmd -
santo_zoketaso - 06.11.2011
pues hay salen los errores, mira lo ke postie
Respuesta: problema zcmd -
SuperMarioRol - 06.11.2011
A ver, si usas eso, el include no se usa, solo se usa el GM y lo que te dice ahi.
Respuesta: problema zcmd -
santo_zoketaso - 06.11.2011
exactamente, solo use el GM, hise lo del tutorial y me saltan esos errores
Re: problema zcmd -
Miguel - 07.11.2011
їIncluiste a_samp antes de zcmd?
Re: problema zcmd -
SuperMarioRol - 07.11.2011
Si usa el tuto NO debe incluir zcmd