Jump to content

Question

Posted

Nick: SampXD

Problema: Vreau sa bag Radio pe server.. cand intri in masina sa-ti porneasca automat

Erori / warnings:-

Lini/script:-

Ai incercat sa rezolvi singur ?: -

11 answers to this question

Recommended Posts

Posted

-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

Posted

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]

Guest
This topic is now closed to further replies.
×
×
  • 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.