[FilterScript] Music System [MP3] [MySQL]
#1

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
Reply
#2

Good Job!!!!
Reply
#3

Quote:
Originally Posted by DanDRT
Посмотреть сообщение
Good Job!!!!
Do you love spam, right?

Good job, HardRock.
Reply
#4

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)



Reply
#5

@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
Reply
#6

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
Посмотреть сообщение
@HardRock : Good job but not only .mp3



https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer
Yeh, i forgot it. Thanks
Reply
#7

Thank you!!! I was looking for this
+REP
Reply
#8

Nice One , Wanna Try On My Server +REP
Reply
#9

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?
Reply
#10

Pretty nice for your 1st work, also the presentation is good.
+Rep for your work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)