SA-MP Forums Archive
[Ajuda] /InfoLideres Com Problemas - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] /InfoLideres Com Problemas (/showthread.php?tid=303662)



[Ajuda] /InfoLideres Com Problemas - shadauer - 14.12.2011

Boa Tarde, Gostaria Que Alguem Me Ajuda-se Com O Comando /infolideres ?

Tipo, Ele Nгo Salva Corretamente,


Й Adicionado 1 Lнder Da Policia Civil Por Exemplo
No Outro GMX Ou Restart Seja O Que For, Ja Tem Essa Pessoa Em Varias Orgs Como Lider (Dando /Infolideres)
Ou Atй Sai O Nome Dessa Pessoa
...



SomeBody Can Help-me :S (alguem ajuda?)


Re: [Ajuda] /InfoLideres Com Problemas - Lуs - 14.12.2011

Yes, i can help you, but you need to show your command (/infolideres) or anyone will cant help you.

Se quiser traduzir peзa ao ******.


Re: [Ajuda] /InfoLideres Com Problemas - shadauer - 15.12.2011

A Tenso '-' Nem Queria Gringo Aqui kkkkk' -zuera

Enfim Vamos Ao Assunto, Nгo Encontrei Por Incrivel Que Pareзa, Nada Na GM Relativo A Isso, Apenas O Comando /Infolider No /Ajuda De Players,

pawn Код:
if (strcmp("/infolider", cmdtextf, true, 10) == 0)
    {
        /*if(PlayerInfo[playerid][pAdmin] < 1)
        {
            SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo й um admin.");
            return 1;
        }*/

        SendClientMessage(playerid, COLOR_WHITE, "{B5B5B5}|=============[ {FFB90F}Lideres das Organizaзхes {B5B5B5}]=============|");
        format(string, sizeof(string), "{FFB90F}Policia Militar: {B5B5B5}%s", InfoOrg[1][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}B.O.P.E: {B5B5B5}%s", InfoOrg[2][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Exйrcito: {B5B5B5}%s", InfoOrg[3][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}S.A.M.U: {B5B5B5}%s", InfoOrg[4][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Aztecas: {B5B5B5}%s", InfoOrg[5][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Hamas: {B5B5B5}%s", InfoOrg[6][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Prefeitura: {B5B5B5}%s", InfoOrg[7][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Hitmans: {B5B5B5}%s", InfoOrg[8][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Reporteres: {B5B5B5}%s", InfoOrg[9][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Taxistas: {B5B5B5}%s", InfoOrg[10][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Policia Federal: {B5B5B5}%s", InfoOrg[11][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Cosa Nostra: {B5B5B5}%s", InfoOrg[12][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Yakuza: {B5B5B5}%s", InfoOrg[13][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Groove: {B5B5B5}%s", InfoOrg[14][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Al'qaeda: {B5B5B5}%s", InfoOrg[15][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Policia Civil: {B5B5B5}%s", InfoOrg[16][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Ballas: {B5B5B5}%s", InfoOrg[17][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Vagos: {B5B5B5}%s", InfoOrg[18][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Comando Vermelho: {B5B5B5}%s", InfoOrg[19][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Primeiro Comando da Capital: {B5B5B5}%s", InfoOrg[20][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Terceiro Comando Puro: {B5B5B5}%s", InfoOrg[21][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Amigos dos Amigos: {B5B5B5}%s", InfoOrg[22][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}SonsOfAnarchy: {B5B5B5}%s", InfoOrg[23][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Polнcia Rodoviбria Federal: {B5B5B5}%s", InfoOrg[24][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}MidnightClub: {B5B5B5}%s", InfoOrg[25][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        format(string, sizeof(string), "{FFB90F}Bombeiros: {B5B5B5}%s", InfoOrg[26][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        format(string, sizeof(string), "{FFB90F}F.A.R.C: {B5B5B5}%s", InfoOrg[27][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        return 1;
    }



Re: [Ajuda] /InfoLideres Com Problemas - GustavoBonomo - 15.12.2011

Quote:
Originally Posted by shadauer
Посмотреть сообщение
A Tenso '-' Nem Queria Gringo Aqui kkkkk' -zuera

Enfim Vamos Ao Assunto, Nгo Encontrei Por Incrivel Que Pareзa, Nada Na GM Relativo A Isso, Apenas O Comando /Infolider No /Ajuda De Players,

pawn Код:
if (strcmp("/infolider", cmdtextf, true, 10) == 0)
    {
        /*if(PlayerInfo[playerid][pAdmin] < 1)
        {
            SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo й um admin.");
            return 1;
        }*/

        SendClientMessage(playerid, COLOR_WHITE, "{B5B5B5}|=============[ {FFB90F}Lideres das Organizaзхes {B5B5B5}]=============|");
        format(string, sizeof(string), "{FFB90F}Policia Militar: {B5B5B5}%s", InfoOrg[1][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}B.O.P.E: {B5B5B5}%s", InfoOrg[2][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Exйrcito: {B5B5B5}%s", InfoOrg[3][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}S.A.M.U: {B5B5B5}%s", InfoOrg[4][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Aztecas: {B5B5B5}%s", InfoOrg[5][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Hamas: {B5B5B5}%s", InfoOrg[6][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Prefeitura: {B5B5B5}%s", InfoOrg[7][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Hitmans: {B5B5B5}%s", InfoOrg[8][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Reporteres: {B5B5B5}%s", InfoOrg[9][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Taxistas: {B5B5B5}%s", InfoOrg[10][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Policia Federal: {B5B5B5}%s", InfoOrg[11][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Cosa Nostra: {B5B5B5}%s", InfoOrg[12][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Yakuza: {B5B5B5}%s", InfoOrg[13][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Groove: {B5B5B5}%s", InfoOrg[14][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Al'qaeda: {B5B5B5}%s", InfoOrg[15][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Policia Civil: {B5B5B5}%s", InfoOrg[16][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Ballas: {B5B5B5}%s", InfoOrg[17][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Vagos: {B5B5B5}%s", InfoOrg[18][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Comando Vermelho: {B5B5B5}%s", InfoOrg[19][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Primeiro Comando da Capital: {B5B5B5}%s", InfoOrg[20][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Terceiro Comando Puro: {B5B5B5}%s", InfoOrg[21][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Amigos dos Amigos: {B5B5B5}%s", InfoOrg[22][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}SonsOfAnarchy: {B5B5B5}%s", InfoOrg[23][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}Polнcia Rodoviбria Federal: {B5B5B5}%s", InfoOrg[24][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        format(string, sizeof(string), "{FFB90F}MidnightClub: {B5B5B5}%s", InfoOrg[25][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        format(string, sizeof(string), "{FFB90F}Bombeiros: {B5B5B5}%s", InfoOrg[26][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        format(string, sizeof(string), "{FFB90F}F.A.R.C: {B5B5B5}%s", InfoOrg[27][Lider]);
        SendClientMessage(playerid, COR_WHITE, string);
        //SendClientMessage(playerid, 0x090030AA, "===============================================================================");
        return 1;
    }
Sу falta Definir "Ninguйm" para aquelas ORG's que nгo tiverem Lideres...


Re: [Ajuda] /InfoLideres Com Problemas - shadauer - 15.12.2011

Poderia Me Dizer Aonde Por ?

Vai Resolver O Probleminha ?


pawn Код:
//SendClientMessage(playerid, 0x090030AA, "===============================================================================");        format(string, sizeof(string), "{FFB90F}Policia Civil: Ninguкm {B5B5B5}%s", InfoOrg[16][Lider]);        SendClientMessage(playerid, COR_WHITE, string);
Esta Correto Agora ? A Policia CIVIL Por Exemplo.


Re: [Ajuda] /InfoLideres Com Problemas - GustavoBonomo - 15.12.2011

Quote:
Originally Posted by shadauer
Посмотреть сообщение
Poderia Me Dizer Aonde Por ?

Vai Resolver O Probleminha ?


pawn Код:
//SendClientMessage(playerid, 0x090030AA, "===============================================================================");        format(string, sizeof(string), "{FFB90F}Policia Civil: Ninguкm {B5B5B5}%s", InfoOrg[16][Lider]);        SendClientMessage(playerid, COR_WHITE, string);
Esta Correto Agora ? A Policia CIVIL Por Exemplo.
Cara ai eu nгo sei te dizer, sу sei que desta forma que vocк fez nгo esta Correta :/


Re: [Ajuda] /InfoLideres Com Problemas - shadauer - 15.12.2011

Agradeзo Se Alguem Ajudar.