20.03.2019, 16:09
PHP Code:
if(strcmp(cmd, "/teste", true) == 0 || strcmp(cmd, "/teste1", true) == 0)
{
new DialogOrg[1500];
if(IsPlayerConnected(playerid))
{
format(string, 128, "TITULO DAS ORGS \n\n");
strcat(DialogOrg,string);
format(string, 128, "1 - NOME DA ORG 1: %s \n"InfoOrg[1][Lider]);
strcat(DialogOrg,string);
format(string, 128, "2 - NOME DA ORG 2: %s \n\n"InfoOrg[2][Lider]);
strcat(DialogOrg,string);
format(string, 128, "TITULO DAS ORGS");
strcat(DialogOrg,string);
format(string, 128, "3 - NOME DA ORG 1: %s \n"InfoOrg[3][Lider]);
strcat(DialogOrg,string);
ShowPlayerDialog(playerid, 7000, DIALOG_STYLE_MSGBOX, "ORGS", DialogOrg, "Ok", "Ok");
}
return true;
}