[Ajuda] comando /ligar com acrйscimo dos dнgitos
#8

Quote:
Originally Posted by Schocc
Посмотреть сообщение
Vocк deve usar:
pawn Код:
cmd_sayc(playerid, Digitado);
Me mostre os cуdigos, Digitado se possнvel o comando inteiro.
Sem cуdigo sem soluзгo.
Bom nгo fiz o /ligar estou usando o /sayc que vocк mesmo me enviou..

pawn Код:
CMD:ajudapoderoso(playerid, params[])
{
    #pragma unused params
    if(InfoGabriel[playerid][pAdmin] < 3000)
    {
        SCM(playerid, COR_BRANCO,"Vocк nгo tem permissгo para usar esse comando meu amigo!");
        return 1;
    }
    new Float:Sangue;
    GetPlayerHealth(playerid, Sangue);
    format(String, 100, "Seu interior й: "VERDIN" %d", GetPlayerInterior(playerid));
    SCM(playerid, COR_VERMELHO, String);
    format(String, 100, "Seu mundo atual й: "VERDIN" %d", GetPlayerVirtualWorld(playerid));
    SCM(playerid, COR_VERMELHO, String);
    format(String, 100, "Seu Sangue й: "VERDIN" %f", Sangue);
    SCM(playerid, COR_VERMELHO, String);
    print(Digitado[0]);
    return 1;
}
Bom aqui й onde eu testei para ver se ia dar o print com o valor e realmente funcionou...

pawn Код:
if(listitem == 3)
                {
                    if(InfoGabriel[playerid][pAdmin] == 0)
                    {
                        SendClientMessage(playerid,0xBFBFBFAA,"Vocк nгo й um Admin!");
                    }
                    else
                    {
                        cmd_sayc(playerid, Digitado[0]);
                    }
                }
Aqui й o dialog que eu estou usando
Reply


Messages In This Thread
comando /ligar com acrйscimo dos dнgitos - by GabrielRibeiro - 21.03.2014, 09:22
Re: Bom preciso de ajuda... - by PT - 21.03.2014, 09:47
Re: Bom preciso de ajuda... - by LucasPR2013 - 21.03.2014, 13:40
Re: Bom preciso de ajuda... - by Schocc - 21.03.2014, 14:03
Re: Bom preciso de ajuda... - by GabrielRibeiro - 21.03.2014, 16:34
Re: comando /ligar com acrйscimo dos dнgitos - by GabrielRibeiro - 21.03.2014, 17:49
Re: comando /ligar com acrйscimo dos dнgitos - by Schocc - 21.03.2014, 18:08
Re: comando /ligar com acrйscimo dos dнgitos - by GabrielRibeiro - 21.03.2014, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)