Shoutcast
#1

Hey i followed a tut on how to set up shoutcast and i have filled in the right info but when i load up the server i get an error with the audio.pwn filterscript when the server loads is says that it unable to load audio.amx so i opened the file with pawno and saved as an amx and when i load the server it crashes, what shall i do to get this working?




here is the codes i have used on my gamemode http://pastebin.com/avYZCWHf
Reply
#2

The .amx is missing from Filterscripts folder.
Reply
#3

were can i get the amx cos i got given only a pwn what should i do?
Reply
#4

Open the .pwn file then compile it
Reply
#5

Quote:
Originally Posted by bashar0151
Посмотреть сообщение
were can i get the amx cos i got given only a pwn what should i do?
Move your .pwn to Filterscripts folder, open pawno, load the .pwn file and hit F5, the compiled .amx will be located below the .pwn in Filterscripts folder.
Reply
#6

Quote:
Originally Posted by bashar0151
Посмотреть сообщение
were can i get the amx cos i got given only a pwn what should i do?
Quote:
Originally Posted by Reklez
Посмотреть сообщение
Open the .pwn file then compile it
i just got this message fatal error 100: cannot read from file: "audio"
Reply
#7

Download the audio.inc and its plugin here!
Reply
#8

Extract audio.inc from the plugin package, put it in your pawno >> include folder, recompile your script again.
Reply
#9

Quote:
Originally Posted by Xtreme_playa
Посмотреть сообщение
Extract audio.inc from the plugin package and put it in your pawno >> include folder, recompile your script again.
i keep gettin fatal error 100
Reply
#10

Quote:
Originally Posted by bashar0151
Посмотреть сообщение
i keep gettin fatal error 100
why not try somthing a little more easier? try this.

pawn Код:
public OnPlayerConnect(playerid)
{
      PlayAudioStreamForPlayer(playerid,"http://yp.shoutcast.com/sbin/tunein-station.pls?id=2187022");
      reuturn 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)