Jump to content

Prawdziwe radio


Recommended Posts

Posted

Grając na różnych serwerach można spotkać skrypt który umożliwia słuchania prawdziwego radia. Z tego co zauważyłem takie radio można ustawić w budynkach, w samchodach, czy nawet przy graczu. Np. chciałby takie radio ustawić w budynku i żeby można było wpisać i poteme wybrać dowolną stacje. Jak takie coś zrobić?

Posted

zapewne jakieś gui, markery - do wyboru stacji itd

oraz playSound3D - do odtworzenia muzyki

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

Jak dobrze zrozumiałem funkcja https://wiki.multitheftauto.com/wiki/GetSoundMetaTags pozwala na wyswietlanie tytułów piosenek, albumów itd, jak ją podczepić do tej funkcji?

addEventHandler( 'onClientResourceStart', resourceRoot, 
    function( ) 
        local uSound = playSound3D( 'http://91.121.89.153:8050', 316.7998, -1877.69922, 1.1 )  
        setSoundMaxDistance( uSound, 50 ) 
    end 
) 

https://wiki.multitheftauto.com/wiki/GetSoundMetaTags

Posted

Ustawiłem w pewnym miejscu radio i chciałem żeby w czacie tytuły piosenek się wyświetlały z radia ale po dodaniu owej opcji nie ma żadnego efektu. Coś mi się wydaje że jednak dam sobie z spokój z lua bo nie ogarniam tego i zostanę przy modelowaniu.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...