SA-MP Forums Archive
Dialog issues - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dialog issues (/showthread.php?tid=389216)



Dialog issues - Jassey - 01.11.2012

What wrong with this:
Код:
ShowPlayerDialog(playerid,DIALOG_EMAIL,DIALOG_STYLE_INPUT,"Masukkan Email","Demi keamanan Akun anda silahkan masukkan Email yang Valid untuk akun ini\nUntuk apa ini?\n\nBaca selengkapnya di: http://forum.srcrp.net\nPilih bagian {FFF000}Kehilangan Akun.","Ok","Keluar"); // Email
The dialog not shown


Re: Dialog issues - Glint - 01.11.2012

Do you have an "if" statement before showing the dialog ? Can you show all of the command,
if it is a command.


Re: Dialog issues - Jassey - 01.11.2012

Quote:
Originally Posted by Glint
Посмотреть сообщение
Do you have an "if" statement before showing the dialog ? Can you show all of the command,
if it is a command.
This is not a command, it will shown when player connect and dont have an email on their account


Re: Dialog issues - Glint - 01.11.2012

Quote:
Originally Posted by Jassey
Посмотреть сообщение
This is not a command, it will shown when player connect and dont have an email on their account
Show me the OnPlayerConnect you have.


Re: Dialog issues - Jassey - 01.11.2012

Quote:
Originally Posted by Glint
Посмотреть сообщение
Show me the OnPlayerConnect you have.
I have changed it to when player register. This is the code:
Код:
DeletePVar(playerid, "IsFrozen");
			TogglePlayerControllable(playerid, 1);
			ShowPlayerDialog(playerid,DIALOG_EMAIL,DIALOG_STYLE_INPUT,"Masukkan Email","Demi keamanan Akun anda silahkan masukkan Email yang Valid untuk akun ini\nUntuk apa ini?\n\nBaca selengkapnya di: http://forum.stregs.net\nPilih bagian {FFF000}Kehilangan Akun.", "Ok","Keluar"); // Email
			format(string, sizeof(string), "%s telah selesai di tahap tutorial.",GetPlayerNameEx(playerid),GetPlayerNameEx(playerid));
			ABroadCast(COLOR_LIGHTRED,string,2);



Re: Dialog issues - gtakillerIV - 01.11.2012

Show us your "#define DIALOG_EMAIL".