[Ayuda]Bug 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]Bug zcmd (
/showthread.php?tid=521197)
[Ayuda]Bug zcmd -
lucotaku1 - 22.06.2014
Necesito ayuda ,mi server no reconoce ZCMD...
Asi tengo todo:
pawn Код:
#include <zcmd>
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
PlayerPlaySound(playerid,1054,0.0,0.0,0.0),
SendClientMessage(playerid,COLOR_AMARILLO,"[ERROR]Comando incorrecto => [/comandos]");
}
return 1;
}
public OnPlayerCommandReceived ( playerid, cmdtext [ ] )
{
return 1;
}
//comandos zcmd,etc
No me salen warnings,ni errors.Debe ir algo en OnPlayerCommandReceived?
Si es necesario paso todos los comandos :c
Hace dias estoy con este problema! Cuando digito un comando en el server
no sale nada ni "Server:Unkown Command" ayuda soy nuevo en zcmd
Respuesta: [Ayuda]Bug zcmd -
Swedky - 22.06.2014
Puede ser un problema en tu cуdigo, ya que ZCMD es totalmente funcional.
Un ejemplo de un error:
pawn Код:
CMD:micmd(playerid)
{
if(PlayerInfo[playerid][SomeVar] > 1) return 1; // Al utilizar esto, tomarб al comando como existente.
// .......
return 1;
}