08.03.2017, 21:47
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:
Any help would be appreciated!
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;
}