[FilterScript] Music System [MP3] [MySQL] - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Music System [MP3] [MySQL] (
/showthread.php?tid=472001)
Music System [MP3] [MySQL] -
HardRock - 26.10.2013
Music System - MP3
By HardRock
This is my first Filterscript release, so I hope you will like it.
________________________________________________
Features:
* Basic Radio System
* Dialogs
* URL Link Player
* Command: /mp3
* Dynamic Songs System
* MySQL saving
* MP3 Player
________________________________________________
Next Version Features:
* Song name or Radio Station name shows with Textdraws.
* Admin can edit Radio URL links and Radio Station names In Game.
* You can set volume without going to main menu.
* Vehicle Music system.
________________________________________________
Pictures:
Go and try yourself.
________________________________________________
Bugs:
Report me.
________________________________________________
Credits:
SA:MP Team - Pawno and SAMP
BlueG - a_mysql
Emmet - easydialog
ZeeX - ZCMD
****** - Pictures
HardRock - Made Filterscript
Note: If I have forgotten anybody, just remind me with pm or by posting here...
________________________________________________
Downloads:
Do not remove Credits!
________________________________________________
No links!
No edited versions!
________________________________________________
How do setup?
_______________________________
1. Put MusicSystem.pwn and MusicSystem.amx files in filterscript folder.
2. Put easydialog.inc, zcmd.inc and a_mysql.inc files in pawno/include (pawno->include) folder.(Go in Pawno folder and then Include folder.)
3. Put mysql.dll file in plugins folder and libmySQL.dll in main folder. (Where is samp-server and announce files)
4. Now open your server file and add
Код HTML:
plugins mysql
filterscripts MusicSystem
5. Open server.sql file and copy all text. Then open your wamp server, phpMyAdmin and go to 'SQL'. Paste all text there and press then 'Go'.
6. Now start your server and enjoy!
[?] Something gone wrong, try again!
__________________________________________________
Do you wanna edit Radio Stations?
________________________________________________
Then open MusicSystem.pwn and search:
Код HTML:
#define RadioName0 "SkyPlus FM"
#define RadioLink0 "http://stream05.akaver.com/skyplus_hi.mp3"
#define RadioName1 "Energy FM"
#define RadioLink1 "http://stream05.akaver.com/energyfm_hi.mp3"
#define RadioName2 "Radio Uuno"
#define RadioLink2 "http://217.146.71.24/uuno.mp3"
#define RadioName3 "Spin FM"
#define RadioLink3 "http://217.146.71.24/spinfm.mp3"
#define RadioName4 "DFM"
#define RadioLink4 "http://striiming.trio.ee/dfm64.mp3"
#define RadioName5 "RUSSKOE RADIO"
#define RadioLink5 "http://stream05.akaver.com/russkoeradio_hi.mp3"
#define RadioName6 "SKY RADIO"
#define RadioLink6 "http://stream05.akaver.com/skyradio_low.mp3"
RadioName = Radio Name
RadioLink = Radio URL link(Only .mp3)
________________________________________________
Updates:
Код HTML:
v 1
* Released Filterscript.
__________________________________________________
If you like +Rep me.
© HardRock
Respuesta: Music System [MP3] [MySQL] -
DanDRT - 26.10.2013
Good Job!!!!
Re: Respuesta: Music System [MP3] [MySQL] -
Jardell - 26.10.2013
Quote:
Originally Posted by DanDRT
Good Job!!!!
|
Do you love spam, right?
Good job,
HardRock.
Re: Music System [MP3] [MySQL] -
HardRock - 26.10.2013
Do you wanna edit Radio Stations?
________________________________________________
Then open MusicSystem.pwn and search:
Код HTML:
#define RadioName0 "SkyPlus FM"
#define RadioLink0 "http://stream05.akaver.com/skyplus_hi.mp3"
#define RadioName1 "Energy FM"
#define RadioLink1 "http://stream05.akaver.com/energyfm_hi.mp3"
#define RadioName2 "Radio Uuno"
#define RadioLink2 "http://217.146.71.24/uuno.mp3"
#define RadioName3 "Spin FM"
#define RadioLink3 "http://217.146.71.24/spinfm.mp3"
#define RadioName4 "DFM"
#define RadioLink4 "http://striiming.trio.ee/dfm64.mp3"
#define RadioName5 "RUSSKOE RADIO"
#define RadioLink5 "http://stream05.akaver.com/russkoeradio_hi.mp3"
#define RadioName6 "SKY RADIO"
#define RadioLink6 "http://stream05.akaver.com/skyradio_low.mp3"
RadioName = Radio Name
RadioLink = Radio URL link(Only .mp3)
Re: Music System [MP3] [MySQL] -
rickisme - 26.10.2013
@HardRock : Good job

but not only .mp3
Quote:
Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play that playlist.
|
https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer
Re: Music System [MP3] [MySQL] -
HardRock - 26.10.2013
Quote:
Originally Posted by DanDRT
Good Job!!!!
|
Quote:
Originally Posted by Jardell
Do you love spam, right?
Good job, HardRock. 
|
Thanks!
Quote:
Originally Posted by rickisme
|
Yeh, i forgot it.

Thanks
Re: Music System [MP3] [MySQL] -
Gogorakis - 27.10.2013
Thank you!!! I was looking for this

+REP
Re: Music System [MP3] [MySQL] -
Awankz - 20.11.2013
Nice One , Wanna Try On My Server

+REP
Re: Music System [MP3] [MySQL] -
Gogorakis - 20.11.2013
Quote:
C:\Users\User\Desktop\h\filterscripts\MusicSystem. pwn(394) : warning 217: loose indentation
C:\Users\User\Desktop\h\filterscripts\MusicSystem. pwn(394) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
Help?
Re: Music System [MP3] [MySQL] -
Nostalgia - 20.11.2013
Pretty nice for your 1st work, also the presentation is good.
+Rep for your work.