Ir para baixo
Strein
Strein
MEMBRO

MEMBRO
Mensagens : 41
Data de inscrição : 15/07/2017

Radio auto play + easy edit Empty Radio auto play + easy edit

Sex Ago 04, 2017 4:29 pm
(Core) Under def loginPlayer :

Código:
    def sendPlayRadio(this):
        this.sendMessage('<R>For stop radio <b>/stop</b>.')
        reactor.callLater(2, this.sendLinkRadio)

    def sendLinkRadio(this):
        this.sendPacket([26, 12], ['http://radioturn.streaming.srv.br/stream'])

(Core) to loginMessage (if not there, to loginPlayer)
Código:
this.sendPlayRadio()

(ParseCommands)
Código:
            elif command in ["play"]:
                if this.client.privLevel >= 1:
                    this.client.sendPlayradio()

            elif command in ["stop"]:
                if this.client.privLevel >= 1:
                    this.client.sendPacket([26, 12], [""])
                    this.client.sendMessage("<R>For play radio: <b>/play</b>.")

Tip: FOR CHANGE RADIO LINK, USE ONLY 'def sendLinkRadio' . Enjoy it! Smile
biel1914
biel1914
MEMBRO

MEMBRO
Mensagens : 8
Data de inscrição : 17/06/2016
Idade : 20
http://www.transforklow.esy.es

Radio auto play + easy edit Empty Core

Sáb Mar 10, 2018 8:00 am
Meu core não tem def loginPlayer


Oque eu faço? Mad Radio auto play + easy edit 3573969888
Ir para o topo
Permissões neste sub-fórum
Não podes responder a tópicos