Jump to content
  • 0

Radio


SaMpxD

Question

11 answers to this question

Recommended Posts

-edit-

Nu mai deschideti in pu*a mea servere de SA:MP !

Jucati-va pe cele care sunt !   Sunt suficiente !

Reguli de bun simt:

1. Nu faceti reclama unde nu trebuie !

2. Nu injurati ca la usa cortului !

3. Daca esti analfabeti, taci din gura !

4. Nu abuza de 'scuze', 'din greseala' !

 

My work ::: http://pastebin.com/VRNRcaAs

Link to comment
Share on other sites

La OnPlayerStateChange

[pawn]if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) // Atunci cand urca in masina, ca sofer sau pasager, porneste automat

    {

        PlayAudioStreamForPlayer(playerid, "http://www.radioclubmix.ro/live.m3u");  // pui ce radio vrei tu, asta mi-a venit in minte

        return 1;

    }

[/pawn]

Si tot la OnPlayerStateChange

[pawn]if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER) // cand cobori, se opreste

{

    StopAudioStreamForPlayer(playerid);

            return 1;

}[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.