SA-MP Forums Archive
[FilterScript] Admin Music Streamer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Admin Music Streamer (/showthread.php?tid=458759)



Admin Music Streamer - EvanA - 18.08.2013

Admin Music Streamer

By EvanA(Evan Abagail)


Hello, its me EvanA again with another pAdmin based function filterscript. Today its a much simpler one command admin music streamer. Its very easy, and didn't take long. You must be pAdmin level 999999 to use it but that can be adjusted easily.

USAGE:
/playall [URL]

It should play the URL if you're the required admin level and doesn't do anything else. REP if you liked it and want to see more filterscripts from me and get help making your own filterscripts!

DOWNLOAD:
Mediafire: [DIRECT DOWNLOAD]
Pastebin: CLICK HERE


Re: Admin Music Streamer - DeathFire - 18.08.2013

Nice one


Re: Admin Music Streamer - EvanA - 18.08.2013

Thanks.


Re: Admin Music Streamer - Layer - 18.08.2013

pawn Код:
playall.pwn(25) : warning 203: symbol is never used: "playall"


pawn Код:
// Admin Music Stream by EvanA(Evan Abagail)
// Version 1.0
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT
#define zcmd
#define pAdmin

CMD:playall(playerid, params[])
{
    foreach(Player, i)
    {
        if (PlayerInfo[playerid][pAdmin] >= 999999)
        {
            if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /playall [Link]");
            PlayAudioStreamForPlayer(i, params);
        }
    }
    return 1;
}

#endif



Re : Admin Music Streamer - 1Geek - 19.08.2013

Sorry but to use it we need what admin system / admin include please?


Re : Re: Admin Music Streamer - 1Geek - 19.08.2013

Quote:
Originally Posted by Layer
Посмотреть сообщение
pawn Код:
playall.pwn(25) : warning 203: symbol is never used: "playall"


pawn Код:
// Admin Music Stream by EvanA(Evan Abagail)
// Version 1.0
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT
#define zcmd
#define pAdmin

CMD:playall(playerid, params[])
{
    foreach(Player, i)
    {
        if (PlayerInfo[playerid][pAdmin] >= 999999)
        {
            if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /playall [Link]");
            PlayAudioStreamForPlayer(i, params);
        }
    }
    return 1;
}

#endif
Guy there is one error but it's been compiled !! !!!!! !!!! !!!!! !


Re: Admin Music Streamer - Inn0cent - 19.08.2013

Keep it up,good work.


Re: Admin Music Streamer - EvanA - 19.08.2013

Please note; if it doesn't work for you, you don't have the required files and should know that before -repping me. Its common sense.


Re: Re : Re: Admin Music Streamer - Layer - 19.08.2013

Quote:
Originally Posted by 1Geek
Посмотреть сообщение
Guy there is one error but it's been compiled !! !!!!! !!!! !!!!! !
To stay perfect should compile normally


Re: Admin Music Streamer - 69ProFeSSioNaL69 - 22.08.2013

Unable to load


Re: Admin Music Streamer - Beckett - 22.08.2013

Why did you define playall while you don\'t even use it?


Re: Admin Music Streamer - xganyx - 22.08.2013

What do you think?


I made it no more errors

pawn Code:
// Admin Music Stream by EvanA(Evan Abagail)
// Version 1.0
#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>

enum pInfo
{
    pAdmin
}
new PlayerInfo[MAX_PLAYERS][pInfo];

#if defined FILTERSCRIPT

CMD:playall(playerid, params[])
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        if (PlayerInfo[playerid][pAdmin] >= 999999)
        {
            if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /playall [Link]");
            PlayAudioStreamForPlayer(i,params);
        }
    }
    return 1;
}

#endif



Re: Admin Music Streamer - EvanA - 23.08.2013

I script uniquely, I don\'t know.


Re: Admin Music Streamer - Fitri - 04.10.2013

pawn Code:
#include <a_samp>
#include <zcmd>
#include <foreach>

CMD:playall(playerid, params[])
{
    foreach(Player, i)
    {
        if (PlayerAdmin(playerid))
        {
            if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /playall [Link]");
            PlayAudioStreamForPlayer(i, params);
        }
    }
    return 1;
}



Re: Admin Music Streamer - PT - 04.10.2013

nice joob


Re: Admin Music Streamer - SHAH123 - 05.11.2017

I cannot access

Help mE


Re: Admin Music Streamer - Astralis - 05.11.2017

Quote:
Originally Posted by SHAH123
View Post
I cannot access

Help mE
What a bump. You can make your own with a single clean command consisting of a few lines.