[DUV]duv with Dialog
#1

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?
Reply
#2

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)
Reply
#3

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.
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)