[Ajuda] /Amudarnick - Para Admin 1339 Ao 1342 Ajuda
#1

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;
    }
Reply
#2

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

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

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;
    }
Reply
#5

pera ae

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

Obrigado Jonathan
Reply
#7

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

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..
Reply
#9

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.
Reply
#10

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 .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)