SA-MP Forums Archive
[Ajuda] Como faz o comando /comandos e o /ajuda ? - 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: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Como faz o comando /comandos e o /ajuda ? (/showthread.php?tid=464751)



Como faz o comando /comandos e o /ajuda ? - LionTTs - 18.09.2013

Como faz o comando /comandos e o /ajuda ?
Queria os dois em Dialog se alguem poder me ajudar fico feliz (:


Re: Como faz o comando /comandos e o /ajuda ? - Juniiro3 - 18.09.2013

Strcmp - Para criar os Comandos
ShowPlayerDialog - Para criar as Dialogs
OnDialogResponse - Para criar a resposta das Dialogs


Re: Como faz o comando /comandos e o /ajuda ? - Neutron97 - 18.09.2013

Pronto, fiz rapidinho aqui no bloco de notas, abraзo

Quote:
Fiz assim por que vocк nгo especificou como queria mesmo assim й basicamente isso
pawn Код:
#include    < a_samp >
#include    <  zcmd >

CMD:comandos(playerid) {
   ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Notice", "AQUI VOCК PХE OS COMANDOS DO SEU SERVIDOR", "Close", #);
   return 1;
}

CMD:ajuda(playerid) {
   ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Notice", "AQUI VOCК PХE OS TEXTOS DE AJUDA DO SEU SERVIDOR", "Close", #);
   return 1;
}