MP3 Help!
#1

Guys...
I am looking for a filescript to add in my RP server...It is a MP3 filescript.I saw this filescript in another server...
CMD (like): e.g. /music http://www.yout ube.com/wa tch?v=qM -2OEOiBKw&l ist=WLE19EBBE23FBDCDF8....
so the cmd (I think) is: /music [URL of the song]

THIS filescript can play music at all players...You can choose YOUR favourite songs...
Can someone give me the link to download it and add it in my RP server?
Reply
#2

pawn Код:
//Includes on top.
#include <a_samp>
#include <zcmd>
#include <foreach>
#include <sscanf>

//At the bottom of your script, or where ever your commands are(Only for ZCMD)
CMD:music(playerid, params[])
{
    new string[128];
    if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, -1, "USAGE: /music [url]");
    if(!strcmp(params, "stop", true, 4))
    {
        StopAudioStreamForPlayer(playerid);
        SendClientMessage(playerid, -1, " You have stopped listening to music.");
        return 1;
    }
    format(string, sizeof(string), "AdmCmd: An Admin has started playing a song globally. ('/music stop' to stop listening)");
    SendClientMessageToAll(-1, string);
    foreach(Player, i)
    {
        PlayAudioStreamForPlayer(i, params);
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)