10.06.2014, 06:04
Tipo eu tava tentando fazer sistema ultimo login Liders mais nao deu muito certo nгo manjo muito entaum pra quem quiser me ajuda ai pow custa nada Muito Obrigado deis de jб
PHP код:
if(strcmp(cmd, "/orgs", true) == 0 || strcmp(cmd, "/profs", true) == 0)
{
new Info[6][10];
split(PlayerInfo[playerid][pLastLogin],Info,'/');
new DialogThiago[1500];
if(IsPlayerConnected(playerid))
{
//SendClientMessage(playerid, VERDE2, "|__________________________ Orgs __________________________|");
format(string, 128, " {7AADFF}1 - Policia Militar: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[1][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {ADC7D9}2 - B.O.P.E: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[2][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {6CD950}3 - Exercito: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[3][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {F7819A}4 - S.A.M.U: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[4][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {337EFF}5 - Los Astecas: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[5][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {48A3E0}6 - Hamas: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[6][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {6AB4E6}7 - Prefeito: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[7][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {C2CBD1}8 - Hitmans: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[8][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {EDD893}9 - Rede Globo: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[9][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {93EDDE}10 - Taxista: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[10][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {BFA873}11 - Policia Federal: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[11][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {BF9B47}12 - Mбfia Cosa Nostra: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[12][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {8136B3}13 - Mбfia Yakuza: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[13][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {00DB1D}14 - Groove Street: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[14][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {EDE187}15 - Al'qaeda: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[15][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {BDA34D}16 - Policia Civil: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[16][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {CB42E3}17 - Ballas: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[17][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {E1ED00}18 - Los Vagos: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[18][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {FF0000}19 - Bloodz: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[19][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {C90000}20 - Sons of Anarchy: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[20][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {46F274}21 - Drifters: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[21][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {A87A31}22 - Triads: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[22][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {FF0066}23 - F.A.R.C: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n", InfoOrg[23][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
format(string, 128, " {FFB90F}24 - D.E.T.R.A.N: {FFFFFF}%s (%d/%d/%d-%02d:%02d)\n\n", InfoOrg[24][Lider], strval(Info[0]),strval(Info[1]),strval(Info[2]),strval(Info[3]),strval(Info[4]));
strcat(DialogThiago,string);
ShowPlayerDialog(playerid, 8723, DIALOG_STYLE_MSGBOX, "Lista de Lнderes das Organizaзхes", DialogThiago, "Ok", "Ok");
}
return true;
}