04.06.2012, 17:45
how much string i can use in dialog? i used about 600 and pawno says: error 075: input line too long (after substitutions) but i want to make one dialog with 600 string is this possilble? thanks.
CMD:cmds(playerid,params[])
{
new read_cmds [900];
strcat( read_cmds, "post here\r\n");
strcat( read_cmds, "post here1\r\n");
strcat( read_cmds, "post here2\r\n");
strcat( read_cmds, "post here3\r\n");
ShowPlayerDialog(playerid, 10001, DIALOG_STYLE_LIST, "List of all commands",read_cmds, "OK","");
return true;
}
{ new msg[600]; format(msg,sizeof(msg),"{FFFFFF}Owner: {EBFF00}%s\n{FFFFFF}Name: {EBFF00}%s\n{F50000}---Pays---\n{FFFFFF}Expensive more that: {EBFF00}%2f {FFFFFF}G\n{FFFFFF}Lover that: {EBFF00}%2f {FFFFFF}TD\n{FFFFFF}Green Acres: {EBFF00}%2f {FFFFFF}He\n{FFFFFF}Junior time: {EBFF00}%2f {FFFFFF}YXZ\n{F50000}---Overview---\n{FFFFFF}Cash: {EBFF00}%2f\n{FFFFFF}Bank: {EBFF00}%2f\n{FFFFFF}Home: {EBFF00}%2f\n{FFFFFF}Hotel: {EBFF00}%2f", // owner,names,exs,lt,ga,jt,cs,bk,ffffftttteee,lostho tel); ShowPlayerDialog(playerid,7001,DIALOG_STYLE_MSGBOX ,"{F50000}INFO",msg,""OK",""); return 1; } |
but i need nicer look and i need this format to be in one dialog so any ideas?
|
{
new msg[600];
format(msg,sizeof(msg),"{FFFFFF}Owner: {EBFF00}%s\n{FFFFFF}Name: {EBFF00}%s\n{F50000}---Pays---\n{FFFFFF}Expensive more that: {EBFF00}%2f {FFFFFF}G\n{FFFFFF}Lover that: {EBFF00}%2f {FFFFFF}TD\n{FFFFFF}Green Acres: {EBFF00}%2f {FFFFFF}He\n{FFFFFF}Junior time: {EBFF00}%2f {FFFFFF}YXZ\n{F50000}---Overview---\n{FFFFFF}Cash: {EBFF00}%2f\n{FFFFFF}Bank: {EBFF00}%2f\n{FFFFFF}Home: {EBFF00}%2f\n{FFFFFF}Hotel: {EBFF00}%2f");
ShowPlayerDialog(playerid,7001,DIALOG_STYLE_MSGBOX ,"{F50000}INFO",msg,""OK","");
return 1;
}