Music at Spawn
#8

AS you are using if statement so :

Is Place of this :
pawn Код:
switch(dialogid)
{
case radio://if dialog id = radio
{//then
if(response)//if pressed OK
{
//playeaudiostream
PlayAudioStreamForPlayer(playerid,"http://stream.radiohunter.com.br:7070/listen.pls");
}
else(!response)//id canceled
{
StopAudioStreamForPlayer(playerid);
return 1;
}
Use this :
pawn Код:
if(dialogid == radio)//if dialog id = radio
{//then
if(response)//if pressed OK
{
//playeaudiostream
PlayAudioStreamForPlayer(playerid,"http://stream.radiohunter.com.br:7070/listen.pls");
}
else(!response)//id canceled
{
StopAudioStreamForPlayer(playerid);
}
Reply


Messages In This Thread
Music at Spawn - by [HHT]DRON - 09.04.2012, 14:18
Re: Music at Spawn - by Shabi RoxX - 09.04.2012, 14:22
Re: Music at Spawn - by Dan. - 09.04.2012, 14:24
Re: Music at Spawn - by [HHT]DRON - 09.04.2012, 14:41
Re: Music at Spawn - by WarriorEd22 - 09.04.2012, 14:44
Re: Music at Spawn - by .FuneraL. - 09.04.2012, 14:46
Re: Music at Spawn - by [HHT]DRON - 09.04.2012, 14:47
Re: Music at Spawn - by Shabi RoxX - 09.04.2012, 14:51
Re: Music at Spawn - by [HHT]DRON - 09.04.2012, 14:55
Re: Music at Spawn - by d0nTtoucH - 05.08.2013, 12:15

Forum Jump:


Users browsing this thread: 4 Guest(s)