Agent_007 0 Odesláno: 21. Srpen, 2014 Share Odesláno: 21. Srpen, 2014 Dobry Den ..... chťel by som či by sťe my nepomohli s dialog style ))))) neviem ako urobiť že ked mám if(strcmp("/text", cmdtext, true, 10) == 0) { Skoči toto ShowPlayerDialog(playerid, 121, DIALOG_STYLE_MSGBOX,"TEXT","text text text","OK",""); a oak že keď dám ok aby my naskočílo toto ShowPlayerDialog(playerid, 121, DIALOG_STYLE_LIST,"TEXT","Text text text","Pridat","Zrusit"); Ďekují vám za pomoc DIK :D Link to comment Share on other sites More sharing options...
0 JIDAVID 6 Odesláno: 21. Srpen, 2014 Share Odesláno: 21. Srpen, 2014 if(strcmp("/text", cmdtext, true, 5) == 0) { ShowPlayerDialog(playerid, 121, DIALOG_STYLE_MSGBOX,"TEXT","text text text","OK",""); return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 121)//Kdyz je ID dialogu 121 { if(response == 1)//Kdyz klikne na prvni tlacitko ("OK") { ShowPlayerDialog(playerid, 122, DIALOG_STYLE_LIST,"TEXT","Text text text","Pridat","Zrusit"); } } return 1; } Link to comment Share on other sites More sharing options...
0 Drifty 0 Odesláno: 21. Srpen, 2014 Share Odesláno: 21. Srpen, 2014 Jednoduše si změn ID dialogu, co je v tvém případě ve funkci ShowPlayerDialog číslo 122. Nebo jednoduše si každý dialog definuj, a plést se ti snad nebudou enum { DIALOG_REGISTER, DIALOG_RIDICAK, DIALOG_INFO } Link to comment Share on other sites More sharing options...
0 Agent_007 0 Odesláno: 22. Srpen, 2014 Author Share Odesláno: 22. Srpen, 2014 Diki za pomoc...... Link to comment Share on other sites More sharing options...
Dotaz
Agent_007 0
Dobry Den ..... chťel by som či by sťe my nepomohli s dialog style ))))) neviem ako urobiť že ked mám
Skoči toto
a oak že keď dám ok aby my naskočílo toto
Ďekují vám za pomoc DIK :D
Link to comment
Share on other sites
3 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now