20.10.2013, 18:28
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

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 );
}

