Dialog Help
#1

i need help for Dialogs.. i have created commands /cmds(it shows dialog of cmds (MSGBOX DIALOG)).
and if i make it big it give a error
"Input line too big"
cant i make it big? it is small dialog...
Reply
#2

I'll give you an example:

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp(cmdtext"/cmds"true) == 0)
    {
        new 
sStr[30];
        
strcat(sStr,"Text 1");
        
strcat(sStr,"\nText 2");
        
strcat(sStr,"\nText 3");
        
strcat(sStr,"\nText 4");
        
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Commands:",sStr,"Close""");
        return 
1;
    }
    return 
0;

Reply
#3

ty..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)