[AJUDA] /Lideres
#4

pawn Код:
if (strcmp(cmd,"/Lideres",true) == 0)
{
    format(string, sizeof(string), "|______Lideres %s:______|", NOMEDOSERVE);
    SendClientMessage(playerid,COR_VERDE,string);
    for(new i = 0; i <= GetmaxPlayers(); i++)
    {
        if(!IsPlayerConnected(i)) continue;
        if(PlayerInfo[i][pLeader] > 0)
        {
            new org = GetPlayerOrg(i);
            new NomeOrg[MAX_ORG_NOME];
            OrgNome(org, NomeOrg, MAX_ORG_NOME);
            format(string,sizeof(string),"Organizaзгo: %s[ID: %d] Lider: %s Cel: %d\n",NomeOrg,org,pNome(i),PlayerInfo[i][pPnumber]);
            SendClientMessage(playerid,OrgCor(org),string);
            return true;
        }
    }
    return true;
}
Reply


Messages In This Thread
[AJUDA] /Lideres - by Jason` - 10.10.2011, 05:05
Re: [AJUDA] /Lideres - by Vai_Besta - 10.10.2011, 05:24
Re: [AJUDA] /Lideres - by Jason` - 10.10.2011, 06:26
Re: [AJUDA] /Lideres - by Josma_cmd - 10.10.2011, 10:40

Forum Jump:


Users browsing this thread: 1 Guest(s)