09.07.2017, 12:30
PHP код:
CMD:procurados(playerid)
{
new contar;
SendClientMessage(playerid, 0x00BFFAA, "[SERVER]:{E8E8E8} Vocк abriu o menu de procurados.");
foreach(new i : Player)
{
if(Warlley[i][pProcurado] >= 1)
{
new city[64] = "Nгo identificado";
switch(GetPlayerCity(i))
{
case CITY_LS: city = "Los Santos";
case CITY_SF: city = "San Fierro";
case CITY_LV: city = "Las Venturas";
}
contar ++;
format(WarlleyS, sizeof WarlleyS, "{E8E8E8}Nick:\t\t{FFD700}Nнvel de Procura:\t\t{E8E8E8}Localizaзгo:\n\n{%h}%s{E8E8E8}[ID: %d]\t\t{FFD700}%d\t\t{E8E8E8}%s\n", GetPlayerColor(i) >>> 8, getPName(i), i, Warlley[i][pProcurado], city);
ShowPlayerDialog(playerid, DIALOG_PROCURADOS, DIALOG_STYLE_TABLIST_HEADERS, "{CC0000}Todos os procurados:", WarlleyS, "Fechar", "");
}
}
if(!contar)
ShowPlayerDialog(playerid, DIALOG_PROCURADOS, DIALOG_STYLE_TABLIST_HEADERS, "{CC0000}Todos os procurados:", "{E8E8E8}Nick:\t\t{FFD700}Nнvel de Procura:\t\t{E8E8E8}Localizaзгo:\n\n{E8E8E8} Nгo tem nenhum procurado online\n", "Fechar", "");
return true;
}