[FilterScript] Simple Owner/Admin entrance music.
#5

pawn Код:
public OnPlayerConnect(playerid)
{
    if (APlayerData[playerid][PlayerLevel] >= 5) //You must modify this line,change it to make it work with your admin system.
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                StopAudioStreamForPlayer(i);
                PlayAudioStreamForPlayer(i, "Put here MP3 url link" );
            }
        }
    }
   
    return 1;
}
serious? 0/10.....
this will stop the music...and after start it...
and this is just a snippet...not an entire filterscirpt
sorry man but all can do this and more easy
suggestion:
use foreach( loop more faster)
Reply


Messages In This Thread
Simple Owner/Admin entrance music. - by Reix[EST] - 21.08.2012, 20:22
Re: Simple Owner/Admin entrance music. - by im - 21.08.2012, 20:44
Respuesta: Simple Owner/Admin entrance music. - by Onfroi - 21.08.2012, 21:19
Respuesta: Simple Owner/Admin entrance music. - by Vegas. - 21.08.2012, 21:27
Re: Simple Owner/Admin entrance music. - by XStormiest - 21.08.2012, 21:42
Re: Simple Owner/Admin entrance music. - by Kaperstone - 21.08.2012, 22:08
Re: Simple Owner/Admin entrance music. - by Mark Shade - 22.08.2012, 02:19
Re: Simple Owner/Admin entrance music. - by Sgt.TheDarkness - 22.08.2012, 03:41
Re: Simple Owner/Admin entrance music. - by Reix[EST] - 22.08.2012, 14:09
Re: Simple Owner/Admin entrance music. - by Reix[EST] - 22.08.2012, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)