SA-MP Forums Archive
[Plugin] Audio Plugin - 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: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Audio Plugin (/showthread.php?tid=82162)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


Re: [REL] Audio Plugin v0.4 - WillyP - 30.10.2010

any help on me installing the client?

ive tried on 5 different pc's, none will work

i got variations of windows 7 and xp, all legit, with the stuff you need to install, but it wont install!

the 'install' button doesnt highlight, meaning i cant click it


Re: [REL] Audio Plugin v0.4 - Henkie - 31.10.2010

hi, i get this error, what to do?
Quote:

C:\Documents and Settings\Henkie\Mijn documenten\Samp Server\gamemodes\CrazyBots.pwn(463) : error 017: undefined symbol "Audio_Play"




Re: [REL] Audio Plugin v0.4 - BloodyEric - 31.10.2010

#include <audio>


Re: [REL] Audio Plugin v0.4 - WillyP - 31.10.2010

is someone gunna reply to my questions or am i talking to a brickwall..


Re: [REL] Audio Plugin v0.4 - Incognito - 01.11.2010

[FU]Victious:

Quote:
Originally Posted by Incognito
Посмотреть сообщение
There's a small bug in the installer that adds "GTA San Andreas" to the end of a selected installation path, even if it isn't supposed to be there. You need to remove it for the installer to continue (just ensure that gta_sa.exe is present in that directory).
That bug has been fixed for the next revision (and no, wups, I don't know when I will finish it, as I have been very busy lately).


Re: [REL] Audio Plugin v0.4 - Ernis456 - 01.11.2010

For me Doesn't work. Please Help. My script :
Код:
 
new Music[MAX_PLAYERS];

public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmdtext, "/play",true)==0)
	{
	    if(Music[playerid] == -1)  // patikriname, ar ћaidejas љiuo metu neklauso muzikos
    {
	Music[playerid] = Audio_PlayStreamed(playerid, "http://77.79.13.49:8000/listen.pls",false,false,false);
	Audio_SetVolume(playerid, Music[playerid], 100);
	SendClientMessage(playerid,BLUE,"* Dabar klausotes rGRP radijo ! Noredami sustapdyti rasykite /sradijas ");
	}
 	return 1;
	}
	if(strcmp(cmdtext, "/stop",true)==0)
	{
	    if(Music[playerid] != -1)  // patikriname, ar ћaidejas љiuo metu neklauso muzikos
    {
	Audio_Stop(playerid, Music[playerid]);     // sustabdome dabar klausoma ћaidejo muzika
	SendClientMessage(playerid,BLUE,"* Sustapdete rGRP radija !");
	Music[playerid] = -1;
	}
 	return 1;
	}
public Audio_OnClientConnect(playerid)
{
   Audio_TransferPack(playerid);    // ћaidejas isiraљes plugina, jam bus perkelta muzika iљ katalogo kuri nurodete  "Audio_SetPack" funkcijoje.
   return 1;
}
public Audio_OnSetPack(audiopack[])
{
	for (new i = 0; i < MAX_PLAYERS; i++)
	{
		Audio_TransferPack(i);
	}
	return 1;
}
When I write /play nothing hapens and music doesn't play. I have installed Audio Client.


Re: [REL] Audio Plugin v0.4 - knackworst - 16.12.2010

LOVE IT!

but how do I set a player playing a radio? I don't get it on all parts...


Re: [REL] Audio Plugin v0.4 - Ivan_Pantovic - 17.12.2010

How do i make players hear music from : http://www.shoutcast.com/shoutcast_p...ts,%20All%20Th... when they connect ?
I tried with Audio_PlayStreamed but couldn't make it work :/



Thanks


Re: [REL] Audio Plugin v0.4 - Mikey-1313 - 17.12.2010

This is just awesome. I can't find the words to describe this plugin, probably EPIC.


Re: [REL] Audio Plugin v0.4 - GooMan - 17.12.2010

Client Version not working on SA-MP 0.3c


Respuesta: Re: [REL] Audio Plugin v0.4 - OwlCity - 18.12.2010

Quote:
Originally Posted by GooMan
Посмотреть сообщение
Client Version not working on SA-MP 0.3c
It works fine for me.


Re: [REL] Audio Plugin v0.4 - Incognito - 18.12.2010

Quote:
Originally Posted by Ivan_Pantovic
Посмотреть сообщение
How do i make players hear music from : http://www.shoutcast.com/shoutcast_p...ts,%20All%20Th... when they connect ?
I tried with Audio_PlayStreamed but couldn't make it work :/



Thanks
You need a direct link to the stream. Try this: http://yp.shoutcast.com/sbin/tunein-....pls?id=674096


Re: [REL] Audio Plugin v0.4 - Ivan_Pantovic - 19.12.2010

Quote:
Originally Posted by Incognito
Посмотреть сообщение
You need a direct link to the stream. Try this: http://yp.shoutcast.com/sbin/tunein-....pls?id=674096
THANK YOU SOOOOO MUCH

Works awsome with :
Код:
	if(strcmp(cmd, "/music", true) == 0)
	{
		Audio_PlayStreamed(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=674096", false, false, false);
		return 1;
	}
How do i make /stopmusic ?


Re: [REL] Audio Plugin v0.4 - Lilcuete - 19.12.2010

How can i fix this problem? * Audio_CreateTCPServer: Error binding socket: Address already in use


Re: [REL] Audio Plugin v0.4 - Lilcuete - 20.12.2010

Quote:
Originally Posted by Lilcuete
Посмотреть сообщение
How can i fix this problem? * Audio_CreateTCPServer: Error binding socket: Address already in use
Please can anyone show me how to fix this thanks.


Re: [REL] Audio Plugin v0.4 - Little Jimmy - 20.12.2010

Quote:
Originally Posted by Ivan_Pantovic
Посмотреть сообщение
THANK YOU SOOOOO MUCH

Works awsome with :
Код:
	if(strcmp(cmd, "/music", true) == 0)
	{
		Audio_PlayStreamed(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=674096", false, false, false);
		return 1;
	}
How do i make /stopmusic ?
you need to make it use the handle ids to stop it


Re: [REL] Audio Plugin v0.4 - Little Jimmy - 20.12.2010

Quote:
Originally Posted by GooMan
Посмотреть сообщение
Client Version not working on SA-MP 0.3c
It works fine on 0.3c


Re: [REL] Audio Plugin v0.4 - Lilcuete - 20.12.2010

Sorry for reposting this but How can i fix this problem? * Audio_CreateTCPServer: Error binding socket: Address already in use


Re: [REL] Audio Plugin v0.4 - MazaHACKa - 22.12.2010

Bug: Sound doesn't plays if using url the same as:
"http://translate.******.com/translate_tts?tl=ru&q=%D0%90%D0%91%D0%92%D0%93%D0% 94%D0%95"


Re: [REL] Audio Plugin v0.4 - wups - 23.12.2010

I used a fresh debian vps, with only mysql installed.
The gamemode is grand lacerny with default FS, and audio.

P.S. After disconnect the usage stays like that (free 38mb).