[Ajuda] Dialog em INPUT para Android - 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] Dialog em INPUT para Android (
/showthread.php?tid=664738)
Dialog em INPUT para Android -
RayanSanty - 09.03.2019
Rapaziada, eu estou codando pra um servidor Android
queria o sistema do DIALOG_STYLE_INPUT da seguinte forma
comando: /ajuda
[1] Ajuda Forum
[2] Ajuda Servidor
[3] Ajuda Comandos em Gerais
Ao player digitar tal numero iria aparecer outro DIALOG
Exemplo: "1 = Iria aparecer outro dialog com info do fуrum"
e assim por diante
Re: Dialog em INPUT para Android -
Malandrin - 09.03.2019
https://sampforum.blast.hk/showthread.php?tid=119297
Boa leitura.
Re: Dialog em INPUT para Android -
zHellSync - 10.03.2019
Topo da GM
PHP Code:
#include <zcmd>
#define Dialog_Ajuda 1
Final da GM
PHP Code:
CMD:ajuda(playerid)
{
new tmp_str[128];
format(tmp_str, sizeof(tmp_str), "\
[1] Ajuda Forum\n\
[2] Ajuda Servidor\n\
[3] Ajuda Comandos em Gerais");
ShowPlayerDialog(playerid, Dialog_Ajuda, DIALOG_STYLE_INPUT, "Ajuda", tmp_str, "OK", "Fechar");
return 1;
}
OBSERVAЗХES: O comando criei em
ZCMD. caso nгo possua estб include, poderб baixa-la
aqui