Jump to content
  • 0

PlayAudioStreamForPlayer ajutooor


marianpro2020

Question

la PlayAudioStreamForPlayer(playerid, url[], Float:posX, Float:posY, Float:posZ , Float:distance, usepos)

cum pot face rost de acel url 

imi puteti zice un site sau cv pentru asta 

sau de exemplu pentru un video de pe ytb sau un fisier mp3 cum pot face rost de un *url* pentru aceasta 

ca vreau sa ascult si eu muzica mea preferata pe samp folosind o comanda

atat ca linkul/urlul ala imi da batai de cap

comanda in sinea ei stiu sa o fac doar acel url ...

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Salut @marianpro2020,

Iti pot oferi doua posibile rezolvari pentru problema ta, insa, sa-ti explic ce semnifica acel "url". O sa-ti explic "ca la prosti" (fara nici o legatura, nu te cunosc), link-ul respectiv trebuie sa se termine cu .mp3 (ex: sa-mp.ro/melodie.mp3 sau domeniu.ro/melodie.mp3).

Deci, ca sa folosesti o melodie de pe youtube, tu trebuie sa convertesti melodia respectiva in format .mp3 si sa folosesti linkul respectiv sau poti folosi o resursa cum ar fi aceasta (click pe "aceasta") ori poti converti melodia pe site-ul acesta (click pe "acesta").

Multa bafta!

Edited by shane

Daca te-am ajutat =>

spacer.png

Link to comment
Share on other sites

  • 0
Acum 13 minute, shane a spus:

Salut @marianpro2020,

Iti pot oferi doua posibile rezolvari pentru problema ta, insa, sa-ti explic ce semnifica acel "url". O sa-ti explic "ca la prosti" (fara nici o legatura, nu te cunosc), link-ul respectiv trebuie sa se termine cu .mp3 (ex: sa-mp.ro/melodie.mp3 sau domeniu.ro/melodie.mp3).

Deci, ca sa folosesti o melodie de pe youtube, tu trebuie sa convertesti melodia respectiva in format .mp3 si sa folosesti linkul respectiv sau poti folosi o resursa cum ar fi aceasta (click pe "aceasta") ori poti converti melodia pe site-ul acesta (click pe "acesta").

Multa bafta!

ms mult boss 

pwp 3>

Link to comment
Share on other sites

  • 0

Salut @marianpro2020

Eu in serveru meu la onplayerconnect am  PlayAudioStreamForPlayer si e pus asa

 

    PlayAudioStreamForPlayer(playerid, "http://radiotaraf.com/live.m3u");

la acolo la linkul ala se pune muzica care doresti sa o aibe si playeru

site ca sa incarci melodia este uploadir.com

o incarci iti da un link dupa il bagi la linkul ala cu taraf

Sper ca te am ajutat!

Edited by Revim Games
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.