SA-MP Forums Archive
Help me with own music for Alhambra! PLS! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me with own music for Alhambra! PLS! (/showthread.php?tid=141645)



Help me with own music for Alhambra! PLS! - tooomi - 14.04.2010

Hi guyz! Can you give me tutorial if I want etc. play Sexy Bitch-Akon in Alhabra club in 21:00 today on my server. I mean, is it possible? If yes pleeeease help me! If it cant be set in certain time, give me tutorial without time option. I heard about audio plug-ins and I found it, but I don't get it! Please explain me! Thanks a lot!


Re: Help me with own music for Alhambra! PLS! - Peep - 14.04.2010

Quote:
Originally Posted by tooomi
Hi guyz! Can you give me tutorial if I want etc. play Sexy Bitch-Akon in Alhabra club in 21:00 today on my server. I mean, is it possible? If yes pleeeease help me! If it cant be set in certain time, give me tutorial without time option. I heard about audio plug-ins and I found it, but I don't get it! Please explain me! Thanks a lot!
Its is possible with audio plugin

like this one : http://forum.sa-mp.com/index.php?topic=106960.0


Re: Help me with own music for Alhambra! PLS! - tooomi - 14.04.2010

Quote:
Originally Posted by Peep
Quote:
Originally Posted by tooomi
Hi guyz! Can you give me tutorial if I want etc. play Sexy Bitch-Akon in Alhabra club in 21:00 today on my server. I mean, is it possible? If yes pleeeease help me! If it cant be set in certain time, give me tutorial without time option. I heard about audio plug-ins and I found it, but I don't get it! Please explain me! Thanks a lot!
Its is possible with audio plugin

like this one : http://forum.sa-mp.com/index.php?topic=106960.0
thank you, but it's kinda hard to get. i mean i'm doin' everything right and it just wont work!


Re: Help me with own music for Alhambra! PLS! - Steven82 - 14.04.2010

BUt......................with the audio plugin, everyone can hear it, which means, if they have the audio plugin 2 and they do


Код:
/play
Then someone in LV, could hear it.


Re: Help me with own music for Alhambra! PLS! - Thrarod - 14.04.2010

You cant do that... Not possible, even a sound plugin wont help because it play it like a radio that everyone has :S


Re: Help me with own music for Alhambra! PLS! - tooomi - 15.04.2010

okay i kinda got it! i tried it on my home server with my friend!

So when i play song, only I can hear it, and when my friend plays i can't hear it. Is there any script like /playforall or something like that?


Re: Help me with own music for Alhambra! PLS! - Fj0rtizFredde - 15.04.2010

Quote:
Originally Posted by tooomi
okay i kinda got it! i tried it on my home server with my friend!

So when i play song, only I can hear it, and when my friend plays i can't hear it. Is there any script like /playforall or something like that?
Well I think you could do like this:
pawn Код:
if(strcmp(cmdtext, "/playforall", true)==0)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
Audio_Play(i, audioid, bool:pause = false, bool:loop = false, bool:downmix = false);
}
return 1;
}



Re: Help me with own music for Alhambra! PLS! - tooomi - 15.04.2010

Quote:
Originally Posted by Fj0rtizFredde
Quote:
Originally Posted by tooomi
okay i kinda got it! i tried it on my home server with my friend!

So when i play song, only I can hear it, and when my friend plays i can't hear it. Is there any script like /playforall or something like that?
Well I think you could do like this:
pawn Код:
if(strcmp(cmdtext, "/playforall", true)==0)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
Audio_Play(i, audioid, bool:pause = false, bool:loop = false, bool:downmix = false);
}
return 1;
}
not the way i did this, but it helped me a lot! thank you! It's working now! thanks again!