[FilterScript] Admin Music Streamer
#1

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
Reply
#2

Nice one
Reply
#3

Thanks.
Reply
#4

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
Reply
#5

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

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 !! !!!!! !!!! !!!!! !
Reply
#7

Keep it up,good work.
Reply
#8

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.
Reply
#9

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

Unable to load
Reply
#11

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

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
Reply
#13

I script uniquely, I don\'t know.
Reply
#14

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;
}
Reply
#15

nice joob
Reply
#16

I cannot access

Help mE
Reply
#17

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


Forum Jump:


Users browsing this thread: 1 Guest(s)