[Dъvida] Dialog List - 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: [Dъvida] Dialog List (
/showthread.php?tid=394521)
[Dъvida] Dialog List -
DarckWilly - 22.11.2012
Boas,
Eu estava em pensar criar uma dialog list como essa aн:
e a minha dъvida se й com isso que irei conseguir o mesmo resultado dessa imagem?:
PHP код:
if(!strcmp("/acomandos", cmdtext, true))
{
ShowPlayerDialog(playerid, 123, DIALOG_STYLE_LIST, "EDITAR", "{9D0000}Red\n{FFFF00}Yellow", "Fechar");
return 1;
Obrigado ! :b
Re: [Dъvida] Dialog List -
Ouro - 22.11.2012
Fбcil fбcil.
Se o dialog for bem grande, obviamente vocк teria de usar
strcat.
Exemplo de uso:
pawn Код:
new
String[128]
;
strcat(String, "{FF0000}Red \n");
strcat(String, "{FFFF00}Yellow");
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "strcat", String, "Fechar", "");
Re: [Dъvida] Dialog List -
jpeg - 22.11.2012
Vocк sу tem cabeзa pra piolho? Й sу usб-la. =P
Re: [Dъvida] Dialog List -
DarckWilly - 22.11.2012
Quote:
Originally Posted by Ouro
Fбcil fбcil.
Se o dialog for bem grande, obviamente vocк teria de usar strcat.
Exemplo de uso:
pawn Код:
new String[128] ;
strcat(String, "{FF0000}Red \n"); strcat(String, "{FFFF00}Yellow");
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "strcat", String, "Fechar", "");
|
Quote:
Originally Posted by jpeg
Vocк sу tem cabeзa pra piolho? Й sу usб-la. =P
|
Obrigado Ouro !
Jpeg, sou ainda principiante logo estar com essa dъvida, rsrs