Small question
#1

Hey I wanna define songs Like if I do /radio 1 that 1 = song called Dare mama from tupac,
how to define liek this code :

Код:
CMD:tupacmary(playerid, params[])
{
    new string[128];
    if(playerVariables[playerid][pAdminLevel] >= 3)
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            PlayAudioStreamForPlayer(i, "http://www.symphonyofnoise.com/binv2/ListenRap/06.Tupac-HailMairy.mp3");
        }
        GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
        format(string, sizeof(string), "Music Admin: %s has started the Song Tupac - Hail mary", szPlayerName);
        SendClientMessageToAll(COLOR_LIGHTRED, string);
    }

    return 1;
}
Just that this song is #1,

So it's better to do like /playglobal songid
Reply


Messages In This Thread
Small question - by ikbenremco - 22.04.2012, 19:51
Re: Small question - by Alternative112 - 22.04.2012, 22:55
Re: Small question - by ikbenremco - 23.04.2012, 14:07
Re: Small question - by ikbenremco - 24.04.2012, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)