eu Tentei aqui mas nгo consegui pessoal.. reformulei o cуdigo com base nesse que foi me apresentado mas mesmo assim ele nгo aparece
Usei Esse cуdigo abaixo...
PHP Code:
BSL::ProcurandoHit(playerid)
{
new g_size[1000], psize[1000], count = 0;
new searchhit = 1;
format(psize, sizeof(psize), "Organizaзгo_______\tNick/ID_________\tValor_______\n");
strcat(g_size, psize)
foreach(new i: Player)
{
if(IsPlayerConnected(i))
{
if(searchhit == 1)
{
if(PlayerInfo[i][pHeadValue] > 1 && GotHit[i] == 1 && PlayerInfo[i][pMembro] != 8)
{
searchhit = 1;
hitfound = 1;
hitmanid = i;
{
if(PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)
{
format(psize, sizeof(psize), "%s\t%s[%d]\tR${ff00FF}%d\n", NomeORG(i), PlayerName(i), i, pHeadValue, i);
strcat(g_size, psize);
count ++;
}
}
}
}
}
}
if(count != 0) ShowPlayerDialog(playerid, 25876, DIALOG_STYLE_TABLIST_HEADERS, "Lista de Contratos", g_size, "Pegar","Voltar");
else ShowPlayerDialog(playerid, 25876, DIALOG_STYLE_TABLIST_HEADERS, "Lista de Contratos", "Nenhum contratado Online no momento!", "Fechar", "");
if(searchhit == 1)
{
}
return 1;
}
BSL::ProcurandoAss(playerid)
{
new g_size[1000], psize[1000], count = 0;
new searchass = 1;
format(psize, sizeof(psize), "Organizaзгo_______\tNick/ID_________\tValor_______\n");
strcat(g_size, psize)
foreach(new i: Player)
{
if(IsPlayerConnected(i))
{
if(searchass == 1)
{
if(PlayerInfo[i][pHeadValue] > 1 && GotAss[i] == 1 && PlayerInfo[i][pMembro] != 26)
{
searchass = 1;
assfound = 1;
assid = i;
{
if(PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26)
{
format(psize, sizeof(psize), "%s\t%s[%d]\tR${ff00FF}%d\n", NomeORG(i), PlayerName(i), i, pHeadValue, i);
strcat(g_size, psize);
count ++;
}
}
}
}
}
}
if(count != 0) ShowPlayerDialog(playerid, 25876, DIALOG_STYLE_TABLIST_HEADERS, "Lista de Contratos", g_size, "Pegar","Voltar");
else ShowPlayerDialog(playerid, 25876, DIALOG_STYLE_TABLIST_HEADERS, "Lista de Contratos", "Nenhum contratado Online no momento!", "Fechar", "");
if(searchass == 1)
{
}
return 1;
}