SA-MP Forums Archive
[Ajuda] Dialog. - 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. (/showthread.php?tid=378252)



Dialog. - Ley - 16.09.2012

Bom noite.
Estou aprendendo dialog e comecei por algo simples, porйm estб dando erros.

Fiz;

pawn Код:
#define DIALOG_SAMP 450
E coloquei para quando executar um comando aparecer essa mensagem em dialog.
pawn Код:
ShowPlayerDialog(playerid, DIALOG_SAMP, DIALOG_STYLE_MSGBOX "Olб FуrumSamp", "OK");
Porйm da esses erros;

pawn Код:
error 017: undefined symbol "DIALOG_SAMP"
warning 215: expression has no effect
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Alguйm pode me ajudar? '-'


Re: Dialog. - .FuneraL. - 16.09.2012

pawn Код:
#define DIALOGSAMP 450

ShowPlayerDialog(playerid, DIALOGSAMP, DIALOG_STYLE_MSGBOX, "Titulo", "Olб Fуrum Samp", "Ok", "");



Re: Dialog. - mau.tito - 17.09.2012

Vey na moral
pawn Код:
ShowPlayerDialog(playerid, Definiзгododialog, Estilo,"Titulo","Texto", "OK" ,"");



Re: Dialog. - Ley - 17.09.2012

Obrigado, irei testar.