SA-MP Forums Archive
[Ajuda] /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - 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] /Amudarnick - Para Admin 1339 Ao 1342 Ajuda (/showthread.php?tid=408349)



/Amudarnick - Para Admin 1339 Ao 1342 Ajuda - Alisson Silva Alves - 17.01.2013

pawn Код:
if(strcmp(cmd,"/amudarnick",true)==0)
    {
        if(IsPlayerConnected(playerid))
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD2, "USE: /amudarnick [ id ]");
                return 1;
            }
            new playa;
            playa = ReturnUser(tmp);
            if (PlayerInfo[playerid][pAdmin] == 1339)
            {
                if(IsPlayerConnected(playa))
                {
                    if(playa != INVALID_PLAYER_ID)
                    {
                        MudarNickAceito[playa] = 1;
                        GetPlayerName(playa, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        format(string, sizeof(string), "Vocк autorizou %s a mudar o nick.", giveplayer);
                        //SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "Admin %s: Autorizou vocк a mudar o nick, digite /mudarnick.", sendername);
                        SendClientMessage(playa, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "ADMIN CMD: %s autorizou %s a mudar o nick !",sendername,giveplayer);
                        ABroadCast(COLOR_LIGHTRED,string,1);
                    }
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб autorizado a usar este comando!");
                return 1;
            }
        }
        return 1;
    }



Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - tonisantolia - 17.01.2013

Pera, vou pegar minha bola de cristal e advinhar o erro!


Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - Etton - 17.01.2013

Nгo pratico bruxaria, nгo tenho bola de cristal...♫


Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - JonathanFeitosa - 17.01.2013

pawn Код:
if(strcmp(cmd,"/amudarnick",true)==0)
    {
        if(IsPlayerConnected(playerid))
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD2, "USE: /amudarnick [ id ]");
                return 1;
            }
            new playa;
            playa = ReturnUser(tmp);
            if (PlayerInfo[playerid][pAdmin] == 1339 && PlayerInfo[playerid][pAdmin] <= 1342)
            {
                if(IsPlayerConnected(playa))
                {
                    if(playa != INVALID_PLAYER_ID)
                    {
                        MudarNickAceito[playa] = 1;
                        GetPlayerName(playa, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        format(string, sizeof(string), "Vocк autorizou %s a mudar o nick.", giveplayer);
                        //SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "Admin %s: Autorizou vocк a mudar o nick, digite /mudarnick.", sendername);
                        SendClientMessage(playa, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "ADMIN CMD: %s autorizou %s a mudar o nick !",sendername,giveplayer);
                        ABroadCast(COLOR_LIGHTRED,string,1);
                    }
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб autorizado a usar este comando!");
                return 1;
            }
        }
        return 1;
    }



Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - XStylerX - 17.01.2013

pera ae

Код:
Initalizing Memory...
Error: The brain could not guess the error
Failed attempt to respond [1/1]



Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - Alisson Silva Alves - 17.01.2013

Obrigado Jonathan


Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - MatheusFuria - 17.01.2013

Jonathan parabens , nгo fico de ironia e entendeu o mlk , parabens mesmo .


Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - Etton - 17.01.2013

Quote:
Originally Posted by MatheusFuria
Посмотреть сообщение
Quem dera que sу existisse Scripter igual ao Jonathan Feitosa , sem ironias , Parabйns Jonathan ajudo o leke ai , eu ia ajudar mais vc ajudo e entendeu , n fico de ironia
Na verdade, dar o cуdigo de bandeja nгo й realmente ajudar. Pois o muleque vai acostumar a pedir cуdigo e nгo vai tentar mais... й que nem bateria, se vocк carregar toda hora ela vicia..


Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - JonathanFeitosa - 17.01.2013

Quote:
Originally Posted by MatheusFuria
Посмотреть сообщение
Quem dera que sу existisse Scripter igual ao Jonathan Feitosa , sem ironias , Parabйns Jonathan ajudo o leke ai , eu ia ajudar mais vc ajudo e entendeu , n fico de ironia
Vlw Lek s2 <3

Quote:
Originally Posted by Etton
Посмотреть сообщение
Na verdade, dar o cуdigo de bandeja nгo й realmente ajudar. Pois o muleque vai acostumar a pedir cуdigo e nгo vai tentar mais... й que nem bateria, se vocк carregar toda hora ela vicia..
Na Verdade, nгo dei o cуdigo de bandeja, arrumei a linha que ele pediu apenas.
De admin 1339 passar Para Admin 1339 Ao 1342.


Re: /Amudarnick - Para Admin 1339 Ao 1342 Ajuda - MatheusFuria - 17.01.2013

o Mlk ta pedindo a ajuda do Codigo, entгo acho que й melhor ajudar do que ficar de ironia , agora se ele realmente quiser aprender й sу estudar .