[Ajuda] Comando /procurados
#2


use assim:
pawn Код:
CMD:procurados(playerid,params[])
{
    new msg[128],nick[64],bool:procu;
    procu = false;
    for(new i=0; i <MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && procurados[i] >=1)
        {
            procu = true;
            SendClientMessage(playerid, COLOR_RED, "        Lista de Procurados:        ");
            GetPlayerName(i,nick,sizeof(nick));
            format(msg,sizeof(msg),"%s",nick);
            SendClientMessage(playerid, COLOR_BLUE,msg);
        }
    }
    if(!procu)return SendClientMessage(playerid,COLOR_RED,"Nenhum Player Sendo Procurado No Momento");
    return 1;
}
Reply


Messages In This Thread
[Ajuda] Comando /procurados - by Dreppins_Coodaaw - 02.02.2012, 19:27
Re: [Ajuda] Comando /procurados - by ReDKiiL - 02.02.2012, 19:34
Re: [Ajuda] Comando /procurados - by Dreppins_Coodaaw - 02.02.2012, 19:38
Re: [Ajuda] Comando /procurados - by Abravanel - 02.02.2012, 20:27
Re: [Ajuda] Comando /procurados - by dPlaYer_ - 02.02.2012, 21:15

Forum Jump:


Users browsing this thread: 2 Guest(s)