Ve se ta certo ae fera.
PHP код:
if(strcmp(cmd, "/orgs", true) == 0 || strcmp(cmd, "/organizacoes", true) == 0)
{
if ( IsPlayerConnected ( playerid ) )
{
static
xCelulas [ 50 ]
;
format ( xCelulas, sizeof( xCelulas ), "1 - Policia Militar: %s", InfoOrg[1][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "2 - BOPE: %s\n", InfoOrg[2][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "3 - Exйrcito: %s", InfoOrg[3][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "4 - Mйdicos: %s", InfoOrg[4][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "5 - Los Aztecas: %s", InfoOrg[5][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "6 - Hamas: %s", InfoOrg[6][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "7 - Prefeitura: %s", InfoOrg[7][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "8 - Hitmans: %s", InfoOrg[8][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), " 9 - Reporter: %s", InfoOrg[9][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "10 - Taxista: %s", InfoOrg[10][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "11 - Polнcia Federal: %s", InfoOrg[11][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "12 - Cosa Nostra: %s", InfoOrg[12][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "13 - Yakuza: %s", InfoOrg[13][Lider]);
SendClientMessage(playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "14 - Groove Street: %s", InfoOrg[14][Lider]);
SendClientMessage(playerid, -1, xCelulas );
format ( xCelulas, sizeof( xCelulas ), "15 - Al'qaeda: %s", InfoOrg[15][Lider]);
SendClientMessage(playerid, -1, xCelulas );
format ( xCelulas, sizeof( xCelulas ), "16 - Polнcia Civil: %s", InfoOrg[16][Lider]);
SendClientMessage(playerid, -1, xCelulas );
format ( xCelulas, sizeof( xCelulas ), "17 - Balas: %s", InfoOrg[17][Lider]);
SendClientMessage(playerid, -1, xCelulas );
format ( xCelulas, sizeof( xCelulas ), "18 - Los Santos Vagos: %s", InfoOrg[18][Lider]);
SendClientMessage(playerid, -1, xCelulas );
format ( xCelulas, sizeof( xCelulas ), "19 - Bloods: %s", InfoOrg[19][Lider]);
SendClientMessage(playerid, -1, xCelulas );
format ( xCelulas, sizeof( xCelulas ), "20 - Los Tugas: %s", InfoOrg[20][Lider]);
SendClientMessage ( playerid, -1, xCelulas );
format ( xCelulas, sizeof( xCelulas ), "21 - Sons of Anarchy: %s", InfoOrg[21][Lider]);
SendClientMessage ( playerid, -1, string);
format ( xCelulas, sizeof( xCelulas ), "22 - Mayans: %s", InfoOrg[22][Lider]);
SendClientMessage ( playerid, -1, xCelulas ) ;
}
return true;
}