22.12.2010, 18:03
pawn Код:
if(strcmp(cmd, "/binfo", true) == 0)
{
if(IsPlayerConnected(playerid))
{
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(PlayerInfo[playerid][Admin] >= 1))
{
new str[1024];
format(str, sizeof(str), "%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s", BizzInfo[1][bMessage],BizzInfo[2][bProducts],BizzInfo[3][bProducts],BizzInfo[4][bProducts],BizzInfo[5][bProducts],BizzInfo[6][bProducts],BizzInfo[7][bProducts],BizzInfo[8][bProducts],BizzInfo[9][bProducts],BizzInfo[10][bProducts],BizzInfo[11][bProducts],BizzInfo[12][bProducts],BizzInfo[13][bProducts],BizzInfo[14][bProducts],BizzInfo[15][bProducts],BizzInfo[16][bProducts],
BizzInfo[17][bProducts],BizzInfo[18][bProducts],BizzInfo[19][bProducts],BizzInfo[20][bProducts],BizzInfo[21][bProducts],BizzInfo[22][bProducts],BizzInfo[23][bProducts],BizzInfo[24][bProducts],BizzInfo[25][bProducts],BizzInfo[26][bProducts],BizzInfo[27][bProducts],BizzInfo[28][bProducts],BizzInfo[29][bProducts],BizzInfo[30][bProducts],BizzInfo[31][bProducts]);//31 Empresas
ShowPlayerDialog(playerid, 1024, DIALOG_STYLE_MSGBOX, "Empresas", str, "TELE", "Cancelar");
}
else
{
SendClientMessage(playerid, BRANCO, "Vocк nгo й admin!");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Vocк nгo estб logado!");
return 1;
}
}
return 1;
}
Sу que nгo estou conseguindo passar dessa etapa; .-.