Dialog won't show - 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 won't show (
/showthread.php?tid=606564)
Dialog won't show -
Micko123 - 06.05.2016
Guys this can be a bit tricky. Why this dialog won't show
Код:
SPD(playerid, DIALOG_KOLA2, DIALOG_STYLE_LIST, "Tuning", "Alien \nX-Flow", "Ok", "Cancel");
{
if(dialogid == DIALOG_KOLA2)
{
if(response)
{
switch(listitem)
{
case 0:
{
if(GetPlayerMoney(playerid) > 5000)
{
SPD(playerid, DIALOG_TUNE2, DIALOG_STYLE_MSGBOX, "Tuning", "Da li ste sigurni? Ovo ce vas kostati 5000$", "Da", "Ne");
{
First dialog (DIALOG_KOLA2) shows. But when i click any answer or Ok second dialog (DIALOG_TUNE2) won't show. Why?? Hope you understand me
Re: Dialog won't show -
oMa37 - 06.05.2016
Is this under OnDialogResponse?
Re: Dialog won't show -
Micko123 - 06.05.2016
Don't worry. I deleted it. I finished that but another problem came in and another. I just couldn't handle it
Re: Dialog won't show -
cdoubleoper - 06.05.2016
Quote:
Originally Posted by Micko123
Don't worry. I deleted it. I finished that but another problem came in and another. I just couldn't handle it
|
Just post the code and explain what's the problem about - we're here to help.