How to make a song into audio stream
#9

Quote:
Originally Posted by Satish1
Посмотреть сообщение
@x337 how can i make a cmd that ******* song play with a cmd and stop with a cmd?
I am using zcmd and sscanf. You have to enter the website url of song
PHP код:
CMD:play(playeridparams[])
{
    new 
song[40];
    if(!
sscanf(paramss[40], song)) //Seeing if the params is string.
    
{
         
Play*******Song(playeridsong); //Then using the function of X337
    
}
    else 
SCM(playerid, -1"USE: play [Song url]"); //else if the param isn't string send the following message.
    
return 1;
}
CMD:stop(playerid)
{
    
StopAudioStreamForPlayer(playerid); //This function to stop the audio (self describing)
    
return 1;

Reply


Messages In This Thread
How to make a song into audio stream - by Satish1 - 21.03.2017, 08:24
Re: How to make a song into audio stream - by X337 - 21.03.2017, 08:28
Re: How to make a song into audio stream - by Satish1 - 21.03.2017, 08:31
Re: How to make a song into audio stream - by X337 - 21.03.2017, 08:33
Re: How to make a song into audio stream - by Satish1 - 21.03.2017, 08:34
Re: How to make a song into audio stream - by X337 - 21.03.2017, 08:39
Re: How to make a song into audio stream - by Satish1 - 21.03.2017, 10:09
Re: How to make a song into audio stream - by Satish1 - 21.03.2017, 14:49
Re: How to make a song into audio stream - by coool - 21.03.2017, 15:01
Re: How to make a song into audio stream - by crukk11 - 21.03.2017, 16:32

Forum Jump:


Users browsing this thread: 3 Guest(s)