Error con ShowPlayerDialog - 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: Error con ShowPlayerDialog (
/showthread.php?tid=539976)
Error con ShowPlayerDialog -
Jeree10 - 01.10.2014
Hola bueno cree mi ShowPlayerDialog con el comando /reglas pero al usarlo funciona pero en el log sale unckmon command.
Dejo el codigo:
Код:
CMD:reglas(playerid, params[])
{
new Lista[] = "{0079C9}DM{FFFFFF}: Agredir a otro usuario sin razуn.\
\n{0079C9}MG{FFFFFF}:Confudir canales IC con OOC.\
\n{0079C9}IC{FFFFFF}: Chat del jugador.\
\n{0079C9}OOC{FFFFFF}: Chat del usuario real.\
\n{0079C9}PG{FFFFFF}: Acciones imposibles.\
\n{0079C9}CK{FFFFFF}: Agredir con auto";
ShowPlayerDialog(playerid, 9, DIALOG_STYLE_MSGBOX, "Reglas", Lista, "Aceptar", "Cancelar");
}
Re: Error con ShowPlayerDialog -
roderjit - 01.10.2014
Re: Error con ShowPlayerDialog -
Jeree10 - 01.10.2014
Gracias
Re: Error con ShowPlayerDialog -
roderjit - 01.10.2014
Quote:
Originally Posted by Jeree10
Gracias
|
Te comento que cuando usas:
Estas diciendo que el comando se ejecutу con йxito. De lo contrario, retornas 0 y el comando no se ejecuta.
Re: Error con ShowPlayerDialog -
Jeree10 - 01.10.2014
Si al usar return 1 si, gracias por ayudarme