MP3 Stream for all? (+REP)
#3

I hope this script i've done for you will be useful

ZCMD Link: https://sampforum.blast.hk/showthread.php?tid=91354
SSCANF Link: https://sampforum.blast.hk/showthread.php?tid=120356

pawn Код:
CMD:globalMP3( playerid, params[ ] )
{
    // ( Check Link )
    new lsMP3Link[ 56 ];
    if ( sscanf( params, "s[256]", lsMP3Link ) )
        return SendClientMessage( playerid, ~1, "USAGE: {33CCFF}/globalMP3 [MP3-Link]" );
       
    // ( Check Player Admin )
    if( !IsPlayerAdmin( playerid ) )
        return SendClientMessage( playerid, ~1, "{ff0000}ERROR: {ffffff}You have to be be logged in as RCON administrator." );
       
    // ( Play the MP3 Link for all players )
    for( new i = 0; i < MAX_PLAYERS; i++ )
        PlayAudioStreamForPlayer( playerid, lsMP3Link );
   
    // ( Return )
    return ( 1 );
}
Reply


Messages In This Thread
MP3 Stream for all? (+REP) - by Alex_Obando - 20.10.2013, 18:17
Respuesta: MP3 Stream for all? (+REP) - by Alex_Obando - 20.10.2013, 18:27
Re: MP3 Stream for all? (+REP) - by nGen.SoNNy - 20.10.2013, 18:28
Respuesta: MP3 Stream for all? (+REP) - by Alex_Obando - 20.10.2013, 18:32
Re: MP3 Stream for all? (+REP) - by nGen.SoNNy - 20.10.2013, 18:39
Respuesta: MP3 Stream for all? (+REP) - by Alex_Obando - 20.10.2013, 18:55
Re: MP3 Stream for all? (+REP) - by rickisme - 20.10.2013, 19:14
Re: MP3 Stream for all? (+REP) - by nGen.SoNNy - 20.10.2013, 19:25
Re: MP3 Stream for all? (+REP) - by rickisme - 20.10.2013, 19:48
Respuesta: Re: MP3 Stream for all? (+REP) - by Alex_Obando - 20.10.2013, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)