SA-MP Forums Archive
[DUV]duv with Dialog - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [DUV]duv with Dialog (/showthread.php?tid=128473)



[DUV]duv with Dialog - linthebigs - 17.02.2010

My duv: How do I do to a player, when it clicks in a button like this:

Код:
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX, "NACIONALIDADE","Ok, vocк й do sexo masculino. Qual seu paнs de origem?","Brasil", "Portugal ou outros");
When the player clicks in the first button "Brasil", its nacionality is deffined as brazilian, when the player clicks in "USA", its nacionality is deffined as American. But i can't get this. How do I do this in OnDialogResponse?


Re: [DUV]duv with Dialog - Nero_3D - 17.02.2010

you wasted again much time

Just look in the wiki -> OnDialogResponse
Quote:
Originally Posted by SA-MP Wiki
response 1 for first button and 0 for second button
If you still dont know what to do check the OnDialogResponse example in the wiki (its related to the ShowPlayerDialog example)


Re: [DUV]duv with Dialog - cacauagiar - 28.02.2010

I am sure if u put everythig here I can help you but if you dont I cant xD
put every thing here I will se whats going on.


Re: [DUV]duv with Dialog - aircombat - 28.02.2010

u mean like if a player pressed usa it shows : [USA]PlayerName ??
________
FIX PS3