Jump to content

Cerere Tutorial [ Radio ]


NePpO

Recommended Posts

[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.

Link to comment
Share on other sites

  • 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.