Jump to content

Recommended Posts

Posted

Nume: NePpO ( Ionut )

Nume tutorial: Radio

Descriere:

As dori daca se poate un script in care sa-l bag in GAMEMODE [ RADIO ]

Radio-uri : Kiss FM , PRO FM, Dubstep, Manele, etc

Va multumesc, dau +1 :)

Posted

[pawn]PlayAudioStreamForPlayer(playerid, "LINK", X, Y, Z, Distance, 1);[/pawn]

Doar atat ?

Stiam ca trebuie sa fie ceva mai multe ... :|

Multumesc oricum ca vrei sa ma ajuti :)

Altcineva va rog ?:)

Posted

paai.. n-ai specificat ce fel de radio.. care sa se auda pe server? cand esti in masina ? sau cand ajungi intr-o anumita zona de pe harta...

Posted

[pawn]public OnPlayerStateChange( playerid, newstate, oldstate )

{

    if( newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER )

    {

        PlayAudioStreamForPlayer( playerid, " LINK " );

    }

    else if( oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER )

    {

        StopAudioStreamForPlayer( playerid );

    }

    return 1;

}[/pawn]

Cu linkul te descurci.

  • 2 weeks later...
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.