Bom o cуdigo que eu estou usando й este alguem me consegue ajudar e me explicar o que estб mal?
pawn Код:
if (strcmp("/infolider", cmdtext, true, 10) == 0)
{
new InfoDataOrg[6][10];
new org;
new id;
if(PlayerInfo[playerid][pAdmin] < 1)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo й um admin.");
return 1;
}
id = GetPlayerID(InfoOrg[org][Lider]);
split(PlayerInfo[id][pLastLogin],InfoDataOrg,'/');
SendClientMessage(playerid, COLOR_WHITE, "|______________ Lideres das Organizaзхes ______________|");
format(string, sizeof(string), "Policia Militar: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[1][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Rotam: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[2][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Exйrcito: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[3][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Mйdicos: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[4][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Aztecas: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[5][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Farc: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[6][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Prefeitura: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[7][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Hitmans: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[8][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Reporteres: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[9][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Taxistas: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[10][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Policia Federal: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[11][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Groove: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[14][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "GI: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[15][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Ballas: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[17][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Vagos: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[18][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Comando Vermelho: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[19][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "PCC: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[20][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "Helpers: %s, Ъltimo Login: dia %d/%d/%d - horбrio %d:%d:%d", InfoOrg[21][Lider],strval(InfoDataOrg[0]),strval(InfoDataOrg[1]),strval(InfoDataOrg[2]),strval(InfoDataOrg[3]),strval(InfoDataOrg[4]),strval(InfoDataOrg[5]));
SendClientMessage(playerid, COR_HELPER, string);
return 1;
}