SA-MP Forums Archive
Ayuda con errores! - 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: Ayuda con errores! (/showthread.php?tid=135584)



Ayuda con errores! - dani23843 - 21.03.2010

Hola menes como tan ....

Bueno necesito una respuesta rapida :S .......

Porque me salen estos erroress ...

C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(177) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(18 : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(196) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(203) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(219) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(226) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(233) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(243) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(247) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(249) : error 017: undefined symbol "idx"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(255) : error 017: undefined symbol "giveplayerid"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(257) : error 017: undefined symbol "idx"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(262) : error 017: undefined symbol "moneys"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(267) : error 017: undefined symbol "giveplayerid"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(26 : error 017: undefined symbol "giveplayerid"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(26 : error 017: undefined symbol "giveplayer"
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(26 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Escritorio\Server de samp\gamemodes\Rapido&Furioso.pwn(26 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


18 Errors.



Ayudaaa plizzz :S

Antes no me salian estos errores noce si es porque borraria algo nocee ....ayudenme plizz ...



Re: Ayuda con errores! - Miguel - 21.03.2010

Quote:
Originally Posted by SAWC™
їComo paranganatasimucualitesrondanga vamos a saber si nisiquiera sabemos cual es tu GM o como funciona?
Por lo menos pon la parte que borrastes/agregastes.


Re: Ayuda con errores! - MrDeath537 - 21.03.2010

Quote:
Originally Posted by SAWC™
Quote:
Originally Posted by SAWC™
їComo paranganatasimucualitesrondanga vamos a saber si nisiquiera sabemos cual es tu GM o como funciona?
Por lo menos pon la parte que borrastes/agregastes.
Eso mismo, cuando posteen errores pongan las lineas del error


Re: Ayuda con errores! - TheChaoz - 21.03.2010

Quote:
Originally Posted by MrDeath
Quote:
Originally Posted by SAWC™
Quote:
Originally Posted by SAWC™
їComo paranganatasimucualitesrondanga vamos a saber si nisiquiera sabemos cual es tu GM o como funciona?
Por lo menos pon la parte que borrastes/agregastes.
Eso mismo, cuando posteen errores pongan las lineas del error
aca da igual, es obvio que no definio cmd ni idx.

proba con esto:
pawn Код:
//debajo de public OnPlayerCommandText:
  new cmd[256];
  new giveplayerid, idx;
  cmd = strtok(cmdtext, idx);



Re: Ayuda con errores! - dani23843 - 21.03.2010

Hola menes graciass ....

Mi error era el siguiente ...

new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new cmd[256];
new giveplayerid, moneys, idx;

cmd = strtok(cmdtext, idx);

no lo tenia puesto :P


Re: Ayuda con errores! - CristianTdj - 21.03.2010

їYa no te salta nada?