Dialog Center Include Help!
#1

The second last line isn't in the center of the dialog its still staying on the left and I am using @Ivan_Ino's DialogCenter include for this HERE it is.

Here is my command:
PHP код:
CMD:credits(playerid, params[])
{
    new 
Credits[1024];
    
strcat(Credits, ""SERVER_HOSTNAME" : {FF0000}Server Information & Credits{FFFFFF}\n\n");
    
strcat(Credits, "\\cServer Owner(s):\n");
    
strcat(Credits, "\\c{FF0000}"SERVER_OWNER"{FFFFFF}\n\n");
    
    
strcat(Credits, "\\cServer Developer(s):\n");
    
strcat(Credits, "\\c {FF0000}"SERVER_DEV"{FFFFFF}\n\n");
    
    
strcat(Credits, "\\cServer Hoster(s):\n");
    
strcat(Credits, "\\c{FF0000}"SERVER_HOSTER"{FFFFFF}\n\n");
    
    
strcat(Credits, "\\cServer DJ(s):\n");
     
strcat(Credits, "\\c{FF0000}"SERVER_DJ"{FFFFFF}\n\n");
    
ShowPlayerDialog(playerid, DIALOG_SVCREDITS, DIALOG_STYLE_MSGBOX, ""SERVER_HOSTNAME" : {FF0000}Credits{FFFFFF}", Credits, "Okay", "");
    return 
1;
} 
Any help would be appreciated!
Reply
#2

You must add space between new lines, so from
\n\n
To
\n \n
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)