SA-MP Forums Archive
Dialog problem, last one doesnt 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 problem, last one doesnt show.. (/showthread.php?tid=474895)



Dialog problem, last one doesnt show.. - Don_Cage - 10.11.2013

Fixed


Re: Dialog problem, last one doesnt show.. - PrivatioBoni - 10.11.2013

I'm not a professional on this type of thing but I'll try to help anyway - possibly in vain.

There seems to be
pawn Код:
if(listitem == 0)
on every one except the last one. Maybe that's the problem?


Re: Dialog problem, last one doesnt show.. - Don_Cage - 10.11.2013

No, the
pawn Код:
if(listitem == 0)
is cuz the previous dialog was a list where you needed to choose, on the last one there is no such cuz on the dialog before it was only a message to be shown, you couldn't choose any alternative. But I appricheat that you are trying to help


Re: Dialog problem, last one doesnt show.. - ***Niko*** - 10.11.2013

All shows but last one don't strange lol


Re: Dialog problem, last one doesnt show.. - Don_Cage - 11.11.2013

Quote:
Originally Posted by ***Niko***
Посмотреть сообщение
All shows but last one don't strange lol
Yeah, Got no clue..


Re: Dialog problem, last one doesnt show.. - -=Dar[K]Lord=- - 11.11.2013

Make Sure while in ShowPlayerDialog(playerid..) you have entered the dialogid of the last dialog then it will show ..... even check that if theres a "return 0;" at the end of ondialogresponse function...