09.03.2012, 18:27
Bom й o Seguinte...
O Lider salva normal, porem quando digito /infolider nao aparece o lider mas o player continua sendo lider
olha ai aparece normal mais dps de um gmx ou do desligamento do server ele nao aparece.
preciso mt dessa ajuda resolve aew=D
O Lider salva normal, porem quando digito /infolider nao aparece o lider mas o player continua sendo lider
olha ai aparece normal mais dps de um gmx ou do desligamento do server ele nao aparece.
PHP код:
if(strcmp(cmd, "/orgs", true) == 0 || strcmp(cmd, "/infolider", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 1330)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo tem autorizaзгo para usar esse comando.");
return 1;
}
new DialogThiago[1500];
if(IsPlayerConnected(playerid))
{
//SendClientMessage(playerid, VERDE2, "|__________________________ Orgs __________________________|");
format(string, 128, " {7AADFF}1 - Policia Militar: {FFFFFF}%s\n", InfoOrg[1][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {ADC7D9}2 - B.O.P.E: {FFFFFF}%s\n", InfoOrg[2][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {6CD950}3 - Exercito: {FFFFFF}%s\n", InfoOrg[3][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {F7819A}4 - Mйdicos: {FFFFFF}%s\n", InfoOrg[4][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {337EFF}5 - Los Aztecas: {FFFFFF}%s\n", InfoOrg[5][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {48A3E0}6 - FARC: {FFFFFF}%s\n", InfoOrg[6][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {6AB4E6}7 - Prefeito: {FFFFFF}%s\n", InfoOrg[7][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {C2CBD1}8 - Hitmans: {FFFFFF}%s\n", InfoOrg[8][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {EDD893}9 - Rede Globo: {FFFFFF}%s\n", InfoOrg[9][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {93EDDE}10 - Taxista: {FFFFFF}%s\n", InfoOrg[10][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {BFA873}11 - Interpol: {FFFFFF}%s\n", InfoOrg[11][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {BF9B47}12 - Mбfia Corleone: {FFFFFF}%s\n", InfoOrg[12][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {8136B3}13 - Mбfia Yakuza: {FFFFFF}%s\n", InfoOrg[13][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {00DB1D}14 - Groove Street: {FFFFFF}%s\n", InfoOrg[14][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {EDE187}15 - Al'qaeda: {FFFFFF}%s\n", InfoOrg[15][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {BDA34D}16 - Policia Civil: {FFFFFF}%s\n", InfoOrg[16][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {CB42E3}17 - Ballas: {FFFFFF}%s\n", InfoOrg[17][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {E1ED00}18 - Los Vagos: {FFFFFF}%s\n", InfoOrg[18][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {FF0000}19 - Comando Vermelho: {FFFFFF}%s\n", InfoOrg[19][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {C90000}20 - PCC: {FFFFFF}%s\n", InfoOrg[20][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {46F274}21 - Midnight Club: {FFFFFF}%s\n", InfoOrg[21][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {A87A31}22 - Motoqueiros Selvagens: {FFFFFF}%s\n", InfoOrg[22]
strcat(DialogThiago,string);
format(string, 128, " {FF0066}23 - DETRAN: {FFFFFF}%s\n\n", InfoOrg[23][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {A87A31}22 - OAB: {FFFFFF}%s\n", InfoOrg[24][Lider]);
strcat(DialogThiago,string);
format(string, 128, " {FF0066}23 - TCP: {FFFFFF}%s\n\n", InfoOrg[25][Lider]);
strcat(DialogThiago,string);
ShowPlayerDialog(playerid, 8723, DIALOG_STYLE_MSGBOX, "Lista de Lнderes das Organizaзхes", DialogThiago, "Ok", "Ok");
}
return true;
}