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



Ayuda con zcmd - lucotaku1 - 19.06.2014

Nunca eh usado zcmd,decidi usarlo en mi server. Y me da los siguientes errores

Код:
C:\Users\34car60an6\Desktop\luca\server-samp\Server-Samp\gamemodes\FB.pwn(8209) : error 001: expected token: "(", but found "с"
C:\Users\34car60an6\Desktop\luca\server-samp\Server-Samp\gamemodes\FB.pwn(8209) : error 001: expected token: ";", but found "-identifier-"
C:\Users\34car60an6\Desktop\luca\server-samp\Server-Samp\gamemodes\FB.pwn(8209) : error 001: expected token: ";", but found "с"
C:\Users\34car60an6\Desktop\luca\server-samp\Server-Samp\gamemodes\FB.pwn(8209) : fatal error 107: too many error messages on one line

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


4 Errors.
Aqui les dejo la linea

Код:
CMD:paсoletaboca(playerid)
     {
     GivePlayerMoney(playerid, -1000);
            GameTextForPlayer(playerid,"~g~~h~~h~paсuelo agregado!",5000,5);
	SetPlayerAttachedObject(playerid,1,18912,2,0.1,0.0,0.0,90.0,-180.0,90.0,1.2,1.2,1.2); 
	       return 1;
     }
Mi server no me reconocia los cmds , asi que cambie a zcmd , alguna solucion


Respuesta: Ayuda con zcmd - Swedky - 19.06.2014

CMD:paсoletaboca(playerid)

Cuando tъ creas un comando con ZCMD, es como crear:

pawn Код:
forward cmd_paсoletaboca(playerid);
Y sabes que algunas letras no se aceptan como funciуn.


Re: Respuesta: Ayuda con zcmd - lucotaku1 - 19.06.2014

Quote:
Originally Posted by EnzoMetlc
Посмотреть сообщение
CMDaсoletaboca(playerid)

Cuando tъ creas un comando con ZCMD, es como crear:

pawn Код:
forward cmd_paсoletaboca(playerid);
Y sabes que algunas letras no se aceptan como funciуn.
Gracias! al borrar la "с" se soluciono todo!

Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase