Your_Monkey 0 Odesláno: 13. Květen, 2012 Share Odesláno: 13. Květen, 2012 Čau, mám tu malý problém. Pracuji na informacích o hráči, ale neumím dát do dialogu víc jak 1 formát. Pls HELP dik if (strcmp(cmdtext, "/info", true) == 0) { new wantedlevel; wantedlevel = GetPlayerWantedLevel(playerid); new wanted[64]; format(wanted, sizeof(wanted), "Wanted Level: %i", wantedlevel); ShowPlayerDialog(playerid,50,DIALOG_STYLE_MSGBOX,"INFO",wanted,"Ok",""); return 1; } Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 13. Květen, 2012 Share Odesláno: 13. Květen, 2012 to udělej takhle ne ? if (strcmp(cmdtext, "/info", true) == 0) { new wantedlevel; wantedlevel = GetPlayerWantedLevel(playerid); new wanted[64]; format(wanted, sizeof(wanted), "Wanted Level: %i\nXxx %s\nxxxx %s\nxxx%s\n", wantedlevel,x,x,x); ShowPlayerDialog(playerid,50,DIALOG_STYLE_MSGBOX,"INFO",wanted,"Ok",""); return 1; } a nebo if (strcmp(cmdtext, "/info", true) == 0) { new wantedlevel; wantedlevel = GetPlayerWantedLevel(playerid); new wanted[64], info[64], vse[128]; format(wanted, sizeof(wanted), "Wanted Level: %i", wantedlevel); format(info,sizeof(infoů,"Další %s",xxx); format(vse,sizeof(vse),"%s%s",wanted,info); ShowPlayerDialog(playerid,50,DIALOG_STYLE_MSGBOX,"INFO",vse,"Ok",""); return 1; } je hodně způsobů Link to comment Share on other sites More sharing options...
0 Your_Monkey 0 Odesláno: 13. Květen, 2012 Author Share Odesláno: 13. Květen, 2012 Ok, dík za pomoc Link to comment Share on other sites More sharing options...
0 Riso135_ 2 Odesláno: 15. Květen, 2012 Share Odesláno: 15. Květen, 2012 http://pawno.cz/dialogy-dialog-style-vysvetlenie-t15283.html?hilit=Dialog - e) Ako na formát v dialógu Link to comment Share on other sites More sharing options...
Dotaz
Your_Monkey 0
Čau, mám tu malý problém. Pracuji na informacích o hráči, ale neumím dát do dialogu víc jak 1 formát. Pls HELP dik
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